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.001502/0.001502, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001654/0.001654, allocations: 211.4 kB / 23.73 MB, free: 4.523 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001816/0.001816, allocations: 51.92 kB / 378.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3381, allocations: 53.37 MB / 431.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008989/0.3471, allocations: 5.351 MB / 436.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00482/0.3519, allocations: 1.643 MB / 438.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.3532, allocations: 59.62 kB / 438.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008346/0.354, allocations: 321.4 kB / 438.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.3558, allocations: 389.5 kB / 439.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009011/0.3567, allocations: 359.5 kB / 439.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002489/0.3592, allocations: 2.017 MB / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/0.3614, allocations: 1.607 MB / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.3629, allocations: 1.067 MB / 444.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/0.3649, allocations: 1.222 MB / 445.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005803/0.3655, allocations: 312 kB / 445.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009202/0.3664, allocations: 471.6 kB / 446.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009124/0.3673, allocations: 0.7325 MB / 447.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002277/0.3696, allocations: 1.019 MB / 448.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006929/0.3765, allocations: 3.821 MB / 451.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.3766, allocations: 0 / 451.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3766, allocations: 0 / 451.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001406/0.3767, allocations: 0 / 451.9 MB, free: 2.207 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.0083/0.385, allocations: 2.45 MB / 454.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.385, allocations: 12.03 kB / 454.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.3865, allocations: 275.4 kB / 454.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/0.3898, allocations: 1.273 MB / 455.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.39, allocations: 164.9 kB / 456.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004802/0.3904, allocations: 224.1 kB / 456.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00584/0.3963, allocations: 2.617 MB / 458.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.922e-05/0.3963, allocations: 4 kB / 458.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002041/0.3965, allocations: 91.94 kB / 459 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.502e-05/0.3966, allocations: 60 kB / 459.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00432/0.4009, allocations: 2.141 MB / 461.2 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/0.4143, allocations: 6.383 MB / 467.6 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.4155, allocations: 0.6947 MB / 468.3 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.4166, allocations: 0.5868 MB / 468.9 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.4167, allocations: 4.5 kB / 468.9 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.712e-05/0.4167, allocations: 43.06 kB / 468.9 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.737e-06/0.4167, allocations: 0 / 468.9 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004932/0.4217, allocations: 2.379 MB / 471.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.4217, allocations: 60 kB / 471.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.423, allocations: 0.7892 MB / 472.2 MB, free: 13.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.423, allocations: 45.69 kB / 472.2 MB, free: 13.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008098/0.4238, allocations: 0.948 MB / 473.1 MB, free: 12.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.4241, allocations: 238 kB / 473.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.4243, allocations: 150.6 kB / 473.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002396/0.4246, allocations: 390.7 kB / 473.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/0.4252, allocations: 365.7 kB / 474.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008305/0.426, allocations: 0.5791 MB / 474.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.4274, allocations: 0.9795 MB / 475.8 MB, free: 9.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.4274, allocations: 4 kB / 475.8 MB, free: 9.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002034/0.4295, allocations: 1.157 MB / 477 MB, free: 8.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.4295, allocations: 11.98 kB / 477 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.4295, allocations: 11.94 kB / 477 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003641/0.4299, allocations: 104.8 kB / 477.1 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/0.4306, allocations: 171.7 kB / 477.3 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.4332, allocations: 2.18 MB / 479.5 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/0.4337, allocations: 39.97 kB / 479.5 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.666e-05/0.4338, allocations: 35.98 kB / 479.5 MB, free: 5.809 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.001175/0.435, allocations: 0.6559 MB / 480.2 MB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.4352, allocations: 87.48 kB / 480.3 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.4354, allocations: 99.45 kB / 480.4 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.201e-05/0.4354, allocations: 11.94 kB / 480.4 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.4355, allocations: 0 / 480.4 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4355, allocations: 7.984 kB / 480.4 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00448/0.4399, allocations: 2.22 MB / 482.6 MB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.44, allocations: 0 / 482.6 MB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005331/0.4405, allocations: 107.9 kB / 482.7 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/0.4408, allocations: 109 kB / 482.8 MB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.4408, allocations: 15.98 kB / 482.8 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/0.4433, allocations: 2.121 MB / 485 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.4433, allocations: 8.094 kB / 485 MB, free: 196 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.4456, allocations: 1.411 MB / 486.4 MB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.4461, allocations: 155.4 kB / 486.5 MB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.4462, allocations: 19.94 kB / 486.6 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.4467, allocations: 44.02 kB / 486.6 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.4468, allocations: 52.28 kB / 486.6 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/0.4468, allocations: 23.98 kB / 486.7 MB, free: 14.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008037/0.4477, allocations: 0.5497 MB / 487.2 MB, free: 13.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4477, allocations: 0 / 487.2 MB, free: 13.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001127/0.4488, allocations: 299.9 kB / 487.5 MB, free: 13.62 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.0002773/0.4491, allocations: 131.1 kB / 487.6 MB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.4509, allocations: 0.9686 MB / 488.6 MB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4509, allocations: 8.25 kB / 488.6 MB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000925/0.4518, allocations: 0.5324 MB / 489.1 MB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.4529, allocations: 217.5 kB / 489.4 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005992/0.4589, allocations: 3.29 MB / 492.7 MB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.4603, allocations: 1.152 MB / 493.8 MB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006466/0.461, allocations: 202.9 kB / 494 MB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.4611, allocations: 63.44 kB / 494.1 MB, free: 6.941 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4611, allocations: 0 / 494.1 MB, free: 6.941 MB / 398.1 MB Notification: Performance of Templates: time 0.02766/0.4888, allocations: 14.52 MB / 0.4967 GB, free: 8.664 MB / 414.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/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_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: 5.0569593901745975]