Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.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.001357/0.001357, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 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.001421/0.001421, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 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 1.484/1.484, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 51.92 kB / 374.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.109, allocations: 53.33 MB / 427.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.2189/0.3279, allocations: 6.051 MB / 433.5 MB, free: 8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00368/0.3316, allocations: 1.688 MB / 435.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.3328, allocations: 59.5 kB / 435.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008993/0.3337, allocations: 327 kB / 435.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.3355, allocations: 367.7 kB / 436 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008025/0.3363, allocations: 355.7 kB / 436.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002463/0.3387, allocations: 2.018 MB / 438.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002638/0.3414, allocations: 2.023 MB / 440.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.3431, allocations: 1.069 MB / 441.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002014/0.3451, allocations: 1.219 MB / 442.6 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007251/0.3458, allocations: 314.3 kB / 442.9 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.347, allocations: 479.9 kB / 443.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007157/0.3477, allocations: 0.7329 MB / 444.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001661/0.3494, allocations: 1.268 MB / 445.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005505/0.3549, allocations: 3.809 MB / 449.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3549, allocations: 0.5625 kB / 449.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3549, allocations: 1.125 kB / 449.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001519/0.355, allocations: 0 / 449.2 MB, free: 1.84 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006641/0.3617, allocations: 2.527 MB / 451.8 MB, free: 348 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.3617, allocations: 8.5 kB / 451.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.3628, allocations: 277.3 kB / 452 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/0.3656, allocations: 1.33 MB / 453.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/0.3658, allocations: 167.6 kB / 453.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004951/0.3663, allocations: 226.7 kB / 453.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006051/0.3723, allocations: 2.547 MB / 456.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.938e-05/0.3724, allocations: 1.281 kB / 456.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002499/0.3726, allocations: 89.66 kB / 456.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.262e-05/0.3727, allocations: 57.09 kB / 456.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004508/0.3772, allocations: 2.141 MB / 458.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/0.3914, allocations: 7.512 MB / 466.1 MB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.3929, allocations: 1.22 MB / 467.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.394, allocations: 0.5937 MB / 467.9 MB, free: 5.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.3941, allocations: 5.281 kB / 467.9 MB, free: 5.891 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.3941, allocations: 37.72 kB / 467.9 MB, free: 5.848 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 4.148e-06/0.3941, allocations: 0 / 467.9 MB, free: 5.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004842/0.3989, allocations: 2.461 MB / 470.4 MB, free: 4.336 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.399, allocations: 61.22 kB / 470.5 MB, free: 4.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.4002, allocations: 0.8001 MB / 471.3 MB, free: 3.816 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.4003, allocations: 36.45 kB / 471.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007042/0.401, allocations: 0.9504 MB / 472.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.4012, allocations: 234.9 kB / 472.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.4015, allocations: 151.1 kB / 472.6 MB, free: 2.637 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.4017, allocations: 393.4 kB / 473 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/0.4023, allocations: 364.1 kB / 473.4 MB, free: 2.086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007826/0.4031, allocations: 0.5832 MB / 474 MB, free: 1.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.4045, allocations: 0.9777 MB / 474.9 MB, free: 364 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.4045, allocations: 4 kB / 474.9 MB, free: 360 kB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002031/0.4065, allocations: 1.155 MB / 476.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.4065, allocations: 11.94 kB / 476.1 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.4065, allocations: 8 kB / 476.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003325/0.4069, allocations: 117 kB / 476.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006924/0.4076, allocations: 167.7 kB / 476.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/0.4101, allocations: 2.328 MB / 478.7 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006793/0.4107, allocations: 39.97 kB / 478.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/0.4108, allocations: 36 kB / 478.8 MB, free: 12.35 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.001322/0.4121, allocations: 0.6497 MB / 479.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/0.4124, allocations: 91.38 kB / 479.5 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.4127, allocations: 103.7 kB / 479.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.188e-05/0.4127, allocations: 8 kB / 479.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.4127, allocations: 0 / 479.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.4127, allocations: 3.984 kB / 479.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004665/0.4174, allocations: 2.664 MB / 482.3 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.4174, allocations: 4 kB / 482.3 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004749/0.4179, allocations: 107.9 kB / 482.4 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002569/0.4181, allocations: 92.72 kB / 482.5 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.4182, allocations: 20.16 kB / 482.5 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002264/0.4205, allocations: 2.273 MB / 484.8 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4205, allocations: 4.031 kB / 484.8 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.4227, allocations: 1.413 MB / 486.2 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/0.4231, allocations: 228.6 kB / 486.4 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/0.4232, allocations: 12 kB / 486.4 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/0.4237, allocations: 47.95 kB / 486.5 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.4238, allocations: 44.78 kB / 486.5 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/0.4238, allocations: 23.97 kB / 486.6 MB, free: 4.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008043/0.4247, allocations: 0.5615 MB / 487.1 MB, free: 3.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4247, allocations: 3.938 kB / 487.1 MB, free: 3.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001251/0.4259, allocations: 296 kB / 487.4 MB, free: 3.43 MB / 382.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.0002964/0.4262, allocations: 159 kB / 487.6 MB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.428, allocations: 0.959 MB / 488.5 MB, free: 2.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.428, allocations: 4 kB / 488.5 MB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009149/0.4289, allocations: 0.5343 MB / 489.1 MB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.4301, allocations: 218.5 kB / 489.3 MB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006295/0.4364, allocations: 3.256 MB / 492.5 MB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/0.438, allocations: 1.688 MB / 494.2 MB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.4383, allocations: 71.42 kB / 494.3 MB, free: 12.45 MB / 398.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4383, allocations: 0 / 494.3 MB, free: 12.45 MB / 398.1 MB Notification: Performance of Templates: time 0.04455/0.4829, allocations: 28.77 MB / 0.5108 GB, free: 15.74 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 10.213182400999358]