Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000809/0.000809, allocations: 87.62 kB / 21.44 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003153/0.003153, allocations: 158.8 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8396/0.8396, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.065e-05, allocations: 10.22 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.005999/0.00602, allocations: 8.019 MB / 333.9 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003877/0.009897, allocations: 2.55 MB / 336.4 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005638/0.01046, allocations: 71.69 kB / 336.5 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003308/0.01377, allocations: 3.677 MB / 340.2 MB, free: 1.062 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.0152, allocations: 0.7761 MB / 340.9 MB, free: 292 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.01635, allocations: 0.8955 MB / 341.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002415/0.01876, allocations: 3.78 MB / 345.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004968/0.02373, allocations: 6.148 MB / 351.8 MB, free: 5.363 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.02625, allocations: 3.179 MB / 354.9 MB, free: 2.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.02796, allocations: 2.054 MB / 357 MB, free: 124 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005487/0.02851, allocations: 0.586 MB / 357.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009188/0.02943, allocations: 0.812 MB / 358.4 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005603/0.02999, allocations: 1.126 MB / 359.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.03111, allocations: 1.517 MB / 361 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004697/0.03581, allocations: 8.006 MB / 369 MB, free: 4.047 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.03581, allocations: 11.88 kB / 369 MB, free: 4.035 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.03581, allocations: 0 / 369 MB, free: 4.035 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.243e-05/0.03589, allocations: 0 / 369 MB, free: 4.035 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.005769/0.04165, allocations: 4.818 MB / 373.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.04169, allocations: 8.031 kB / 373.9 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003586/0.04528, allocations: 1.29 MB / 375.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/0.04747, allocations: 2.297 MB / 377.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.04762, allocations: 316.8 kB / 377.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003792/0.048, allocations: 415.8 kB / 378.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005342/0.05334, allocations: 5.502 MB / 383.7 MB, free: 5.246 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.913e-05/0.0534, allocations: 7.984 kB / 383.7 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/0.05365, allocations: 172 kB / 383.9 MB, free: 5.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.05376, allocations: 180.6 kB / 384 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004561/0.05832, allocations: 4.8 MB / 388.8 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01387/0.07219, allocations: 16.31 MB / 405.1 MB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/0.07429, allocations: 1.757 MB / 406.9 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007136/0.075, allocations: 0.7187 MB / 407.6 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.07511, allocations: 36.97 kB / 407.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.07514, allocations: 47.56 kB / 407.7 MB, free: 12.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 2.114e-06/0.07514, allocations: 4 kB / 407.7 MB, free: 12.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.001516/0.07666, allocations: 1.565 MB / 409.3 MB, free: 11.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.0767, allocations: 64.41 kB / 409.3 MB, free: 11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.07801, allocations: 1.396 MB / 410.7 MB, free: 9.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.07805, allocations: 41.7 kB / 410.8 MB, free: 9.543 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006339/0.07868, allocations: 1.819 MB / 412.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.07885, allocations: 388.8 kB / 413 MB, free: 7.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003418/0.0792, allocations: 447.6 kB / 413.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.07929, allocations: 353.9 kB / 413.8 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007226/0.08001, allocations: 0.8318 MB / 414.6 MB, free: 5.688 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.08114, allocations: 1.819 MB / 416.4 MB, free: 3.387 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.08333, allocations: 2.802 MB / 419.2 MB, free: 116 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.08334, allocations: 8 kB / 419.2 MB, free: 108 kB / 378.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.00234/0.08568, allocations: 2.746 MB / 422 MB, free: 13.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.0857, allocations: 20.94 kB / 422 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.08572, allocations: 32 kB / 422 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/0.08576, allocations: 48 kB / 422.1 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008252/0.08658, allocations: 0.5303 MB / 422.6 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.744e-05/0.08662, allocations: 71.72 kB / 422.7 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006193/0.08724, allocations: 286 kB / 422.9 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-05/0.08733, allocations: 116 kB / 423.1 MB, free: 12.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001228/0.08856, allocations: 1.48 MB / 424.5 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.08866, allocations: 135.1 kB / 424.7 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.09001, allocations: 1.461 MB / 426.1 MB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008855/0.0909, allocations: 1.045 MB / 427.2 MB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.0909, allocations: 0 / 427.2 MB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.09091, allocations: 3.984 kB / 427.2 MB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008659/0.09957, allocations: 10.18 MB / 437.4 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.09959, allocations: 20 kB / 437.4 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/0.09997, allocations: 235.6 kB / 437.6 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.388e-05/0.09999, allocations: 24 kB / 437.6 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/0.1, allocations: 48 kB / 437.7 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-05/0.1001, allocations: 47.73 kB / 437.7 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002619/0.1003, allocations: 35.86 kB / 437.8 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.1023, allocations: 2.618 MB / 440.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.1026, allocations: 266.8 kB / 440.6 MB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.78e-05/0.1026, allocations: 63.69 kB / 440.7 MB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.103, allocations: 67.94 kB / 440.8 MB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.1031, allocations: 147.3 kB / 440.9 MB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/0.1032, allocations: 59.98 kB / 441 MB, free: 9.645 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007085/0.1039, allocations: 0.9021 MB / 441.9 MB, free: 8.734 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1039, allocations: 0 / 441.9 MB, free: 8.734 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001462/0.1053, allocations: 0.8755 MB / 442.7 MB, free: 7.855 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002617/0.1056, allocations: 210.6 kB / 443 MB, free: 7.641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001857/0.1075, allocations: 1.836 MB / 444.8 MB, free: 5.805 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.1075, allocations: 4 kB / 444.8 MB, free: 5.801 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005188/0.108, allocations: 0.6187 MB / 445.4 MB, free: 5.188 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.109, allocations: 347.2 kB / 445.8 MB, free: 4.852 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1369/0.246, allocations: 6.276 MB / 452 MB, free: 112.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/0.2476, allocations: 2.187 MB / 454.2 MB, free: 112.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.2479, allocations: 139.5 kB / 454.4 MB, free: 112.4 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2479, allocations: 0 / 454.4 MB, free: 112.4 MB / 410.7 MB Notification: Performance of Templates: time 0.02221/0.2701, allocations: 37.25 MB / 491.6 MB, free: 80.72 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.8768807435408235]