Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001429/0.001429, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 216 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 75.89 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2735, allocations: 53.4 MB / 431.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007692/0.2812, allocations: 5.377 MB / 437 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003987/0.2852, allocations: 1.635 MB / 438.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000564/0.2857, allocations: 59.62 kB / 438.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007029/0.2865, allocations: 325.4 kB / 439 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.2879, allocations: 393.5 kB / 439.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008461/0.2887, allocations: 355.5 kB / 439.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002676/0.2914, allocations: 2.028 MB / 441.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002315/0.2937, allocations: 1.547 MB / 443.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.2953, allocations: 1.079 MB / 444.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/0.2971, allocations: 1.159 MB / 445.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004624/0.2976, allocations: 308 kB / 445.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009447/0.2985, allocations: 447.7 kB / 446.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009074/0.2994, allocations: 0.7442 MB / 447 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.301, allocations: 1.019 MB / 448.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005109/0.3061, allocations: 3.826 MB / 451.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3061, allocations: 0 / 451.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3061, allocations: 0 / 451.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001139/0.3062, allocations: 3.938 kB / 451.9 MB, free: 2.168 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.006422/0.3126, allocations: 2.462 MB / 454.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001232/0.3128, allocations: 11.98 kB / 454.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009757/0.3137, allocations: 279.4 kB / 454.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.3166, allocations: 1.277 MB / 455.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.3168, allocations: 172.9 kB / 456.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003716/0.3171, allocations: 220.1 kB / 456.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005322/0.3224, allocations: 2.625 MB / 458.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.807e-05/0.3225, allocations: 3.984 kB / 458.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/0.3227, allocations: 88 kB / 459 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/0.3228, allocations: 84.55 kB / 459.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004102/0.3269, allocations: 2.149 MB / 461.3 MB, free: 8.641 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.3398, allocations: 6.43 MB / 467.7 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.341, allocations: 0.6902 MB / 468.4 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.3421, allocations: 0.5946 MB / 469 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-05/0.3422, allocations: 4.5 kB / 469 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.3422, allocations: 39.06 kB / 469 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.687e-06/0.3422, allocations: 0 / 469 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004742/0.3469, allocations: 2.379 MB / 471.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.347, allocations: 64 kB / 471.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.3481, allocations: 0.7892 MB / 472.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.3482, allocations: 37.7 kB / 472.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008036/0.349, allocations: 0.9518 MB / 473.2 MB, free: 12.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.3492, allocations: 234 kB / 473.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.3495, allocations: 150.6 kB / 473.6 MB, free: 11.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002944/0.3498, allocations: 398.7 kB / 474 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006113/0.3504, allocations: 361.8 kB / 474.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008953/0.3513, allocations: 0.579 MB / 474.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.3527, allocations: 0.9834 MB / 475.9 MB, free: 9.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3527, allocations: 0 / 475.9 MB, free: 9.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002004/0.3548, allocations: 1.153 MB / 477.1 MB, free: 8.301 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.3548, allocations: 8.656 kB / 477.1 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.3548, allocations: 7.938 kB / 477.1 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003097/0.3551, allocations: 120.7 kB / 477.2 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007031/0.3558, allocations: 171.7 kB / 477.4 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.3583, allocations: 2.176 MB / 479.5 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.3588, allocations: 35.97 kB / 479.6 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.3589, allocations: 36 kB / 479.6 MB, free: 5.652 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001099/0.36, allocations: 0.6496 MB / 480.3 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.3601, allocations: 83.42 kB / 480.3 MB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.3604, allocations: 103.5 kB / 480.4 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.223e-05/0.3604, allocations: 12 kB / 480.5 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.3604, allocations: 4.062 kB / 480.5 MB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.3604, allocations: 3.984 kB / 480.5 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004572/0.365, allocations: 2.236 MB / 482.7 MB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.365, allocations: 0 / 482.7 MB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.3655, allocations: 103.9 kB / 482.8 MB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003677/0.3658, allocations: 104.7 kB / 482.9 MB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/0.3659, allocations: 19.98 kB / 482.9 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002436/0.3684, allocations: 2.118 MB / 485 MB, free: 40 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.3684, allocations: 4.031 kB / 485 MB, free: 36 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.3706, allocations: 1.423 MB / 486.5 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/0.3711, allocations: 147.4 kB / 486.6 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.3712, allocations: 15.98 kB / 486.6 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.3716, allocations: 35.97 kB / 486.7 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.3717, allocations: 60.28 kB / 486.7 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.3718, allocations: 19.98 kB / 486.7 MB, free: 14.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008033/0.3726, allocations: 0.5459 MB / 487.3 MB, free: 13.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3726, allocations: 0 / 487.3 MB, free: 13.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00111/0.3737, allocations: 300 kB / 487.6 MB, free: 13.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002823/0.374, allocations: 139 kB / 487.7 MB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.3758, allocations: 0.975 MB / 488.7 MB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3758, allocations: 1.688 kB / 488.7 MB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009944/0.3768, allocations: 0.5366 MB / 489.2 MB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.378, allocations: 214.8 kB / 489.4 MB, free: 11.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007841/0.3858, allocations: 3.301 MB / 492.7 MB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001812/0.3877, allocations: 1.152 MB / 493.9 MB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007424/0.3884, allocations: 206.9 kB / 494.1 MB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.3886, allocations: 55.44 kB / 494.1 MB, free: 6.773 MB / 398.1 MB Notification: Performance of SimCode: time 1.312e-06/0.3886, allocations: 0 / 494.1 MB, free: 6.773 MB / 398.1 MB Notification: Performance of Templates: time 0.02961/0.4182, allocations: 14.23 MB / 0.4965 GB, free: 8.758 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.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: 4.885963788256049]