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.001978/0.001978, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002384/0.002384, allocations: 214 kB / 24.48 MB, free: 3.941 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.675/1.675, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001634/0.001634, allocations: 51.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3379, allocations: 53.36 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.01036/0.3482, allocations: 5.358 MB / 437.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004671/0.3529, allocations: 1.639 MB / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007183/0.3536, allocations: 63.62 kB / 439.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009172/0.3545, allocations: 317.4 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.3561, allocations: 393.5 kB / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000937/0.3571, allocations: 355.5 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003151/0.3602, allocations: 2.017 MB / 442.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002491/0.3627, allocations: 1.61 MB / 444.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00192/0.3646, allocations: 1.071 MB / 445.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.3667, allocations: 1.226 MB / 446.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004161/0.3671, allocations: 308 kB / 446.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000912/0.368, allocations: 463.6 kB / 447.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008603/0.3689, allocations: 0.7325 MB / 447.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.3703, allocations: 1.019 MB / 448.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005752/0.3761, allocations: 3.823 MB / 452.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.3761, allocations: 0 / 452.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3761, allocations: 0 / 452.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001722/0.3763, allocations: 0 / 452.7 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.007013/0.3833, allocations: 2.45 MB / 455.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.043e-05/0.3834, allocations: 12.03 kB / 455.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.3845, allocations: 275.4 kB / 455.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003061/0.3876, allocations: 1.273 MB / 456.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.3878, allocations: 168.9 kB / 456.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003861/0.3882, allocations: 224.1 kB / 457.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005904/0.3941, allocations: 2.621 MB / 459.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.042e-05/0.3941, allocations: 7.875 kB / 459.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/0.3943, allocations: 88 kB / 459.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.359e-05/0.3944, allocations: 56 kB / 459.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00436/0.3988, allocations: 2.145 MB / 462 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01422/0.413, allocations: 6.383 MB / 468.4 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.4144, allocations: 0.6947 MB / 469.1 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.4156, allocations: 0.5907 MB / 469.7 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.065e-05/0.4156, allocations: 4.5 kB / 469.7 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.4157, allocations: 39.06 kB / 469.7 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 5.279e-06/0.4157, allocations: 0 / 469.7 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005666/0.4213, allocations: 2.383 MB / 472.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.4214, allocations: 64 kB / 472.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.4229, allocations: 0.7892 MB / 472.9 MB, free: 13.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.423, allocations: 37.7 kB / 473 MB, free: 13.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.4241, allocations: 0.9519 MB / 473.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003239/0.4244, allocations: 241.9 kB / 474.2 MB, free: 12.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003191/0.4247, allocations: 142.6 kB / 474.3 MB, free: 12.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003383/0.4251, allocations: 390.7 kB / 474.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007507/0.4258, allocations: 365.8 kB / 475 MB, free: 11.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.4269, allocations: 0.5751 MB / 475.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.4287, allocations: 0.9873 MB / 476.6 MB, free: 9.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.4287, allocations: 0 / 476.6 MB, free: 9.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002496/0.4312, allocations: 1.154 MB / 477.8 MB, free: 8.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.4312, allocations: 8 kB / 477.8 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.4313, allocations: 11.94 kB / 477.8 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000408/0.4317, allocations: 104.8 kB / 477.9 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/0.4324, allocations: 175.7 kB / 478 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/0.4355, allocations: 2.18 MB / 480.2 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000739/0.4363, allocations: 39.95 kB / 480.3 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.288e-05/0.4364, allocations: 36 kB / 480.3 MB, free: 5.805 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.001694/0.438, allocations: 0.6457 MB / 480.9 MB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.4383, allocations: 87.61 kB / 481 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.4386, allocations: 103.5 kB / 481.1 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/0.4386, allocations: 11.94 kB / 481.1 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/0.4386, allocations: 4 kB / 481.1 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.4386, allocations: 3.984 kB / 481.2 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004898/0.4435, allocations: 2.228 MB / 483.4 MB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.4435, allocations: 4 kB / 483.4 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005334/0.4441, allocations: 99.86 kB / 483.5 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002897/0.4443, allocations: 104.9 kB / 483.6 MB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.4444, allocations: 19.98 kB / 483.6 MB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.4472, allocations: 2.109 MB / 485.7 MB, free: 212 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4472, allocations: 7.969 kB / 485.7 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.4498, allocations: 1.415 MB / 487.1 MB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005568/0.4503, allocations: 159.6 kB / 487.3 MB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.4504, allocations: 12 kB / 487.3 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/0.4509, allocations: 51.94 kB / 487.4 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.4511, allocations: 60.28 kB / 487.4 MB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/0.4511, allocations: 16 kB / 487.4 MB, free: 14.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009938/0.4521, allocations: 0.5458 MB / 488 MB, free: 13.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4521, allocations: 0 / 488 MB, free: 13.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001526/0.4536, allocations: 299.9 kB / 488.3 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.0003624/0.454, allocations: 135.2 kB / 488.4 MB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.4561, allocations: 0.9648 MB / 489.4 MB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4561, allocations: 0 / 489.4 MB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.4571, allocations: 0.5364 MB / 489.9 MB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.4583, allocations: 224.3 kB / 490.1 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007191/0.4655, allocations: 3.29 MB / 493.4 MB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/0.4671, allocations: 1.148 MB / 494.6 MB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007009/0.4678, allocations: 206.9 kB / 494.8 MB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.468, allocations: 59.44 kB / 494.8 MB, free: 6.945 MB / 398.1 MB Notification: Performance of SimCode: time 2.063e-06/0.468, allocations: 0 / 494.8 MB, free: 6.945 MB / 398.1 MB Notification: Performance of Templates: time 0.0341/0.5021, allocations: 14.52 MB / 0.4974 GB, free: 8.664 MB / 414.1 MB " [Timeout remaining time 659] 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 -s cvode -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: 5.644282071996713]