Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.0009969/0.0009969, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009511/0.0009511, allocations: 170 kB / 24.82 MB, free: 9.273 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.9467/0.9467, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 3.938 kB / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.549e-05, allocations: 8.844 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01196/0.01198, allocations: 15.32 MB / 288.7 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1236/0.1356, allocations: 4.095 MB / 292.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002283/0.1378, allocations: 162.8 kB / 293 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00805/0.1459, allocations: 7.74 MB / 300.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003539/0.1494, allocations: 1.366 MB / 302.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.1513, allocations: 1.228 MB / 303.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006246/0.1575, allocations: 8.579 MB / 311.9 MB, free: 7.863 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01414/0.1716, allocations: 14.27 MB / 326.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007163/0.1788, allocations: 7.4 MB / 333.6 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004828/0.1836, allocations: 5.258 MB / 338.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00166/0.1853, allocations: 1.379 MB / 340.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.1874, allocations: 1.672 MB / 341.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001462/0.1888, allocations: 2.672 MB / 344.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003176/0.192, allocations: 3.529 MB / 348.1 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007929/0.1999, allocations: 8.87 MB / 356.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.1999, allocations: 0 / 356.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.2, allocations: 0 / 356.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000368/0.2003, allocations: 0 / 356.9 MB, free: 14.07 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.01436/0.2147, allocations: 11.18 MB / 368.1 MB, free: 2.812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2147, allocations: 12.03 kB / 368.1 MB, free: 2.801 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008955/0.2237, allocations: 3.727 MB / 371.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004859/0.2285, allocations: 4.62 MB / 376.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003231/0.2289, allocations: 0.6794 MB / 377.2 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008339/0.2297, allocations: 0.8945 MB / 378.1 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006894/0.2366, allocations: 4.903 MB / 383 MB, free: 3.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000122/0.2367, allocations: 11.94 kB / 383 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005408/0.2372, allocations: 380 kB / 383.3 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002352/0.2375, allocations: 395.1 kB / 383.7 MB, free: 3.094 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004156/0.2416, allocations: 2.727 MB / 386.5 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04727/0.2889, allocations: 35.31 MB / 421.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003829/0.2927, allocations: 2.799 MB / 424.6 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/0.2934, allocations: 0.565 MB / 425.1 MB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.2935, allocations: 97.91 kB / 425.2 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.2936, allocations: 59.39 kB / 425.3 MB, free: 8.621 MB / 378.7 MB Notification: Performance of pre-optimization done (n=223): time 3.858e-06/0.2936, allocations: 4 kB / 425.3 MB, free: 8.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=223): time 0.003457/0.297, allocations: 2.195 MB / 427.5 MB, free: 6.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.2971, allocations: 81.34 kB / 427.6 MB, free: 6.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002667/0.2997, allocations: 2.916 MB / 430.5 MB, free: 3.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.802e-05/0.2998, allocations: 61.7 kB / 430.5 MB, free: 3.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2067/0.5065, allocations: 4.23 MB / 434.8 MB, free: 93.16 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007675/0.5073, allocations: 0.8626 MB / 435.6 MB, free: 92.76 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/0.5084, allocations: 1.119 MB / 436.7 MB, free: 92.66 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.335e-05/0.5085, allocations: 482.8 kB / 437.2 MB, free: 92.19 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007107/0.5092, allocations: 486.9 kB / 437.7 MB, free: 92.17 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.511, allocations: 3.815 MB / 441.5 MB, free: 88.11 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/0.5138, allocations: 4.785 MB / 446.3 MB, free: 84.02 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.645e-05/0.5139, allocations: 22.16 kB / 446.3 MB, free: 84.02 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.004218/0.5181, allocations: 3.633 MB / 449.9 MB, free: 83.72 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.5181, allocations: 43.53 kB / 450 MB, free: 83.71 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-05/0.5182, allocations: 75.16 kB / 450.1 MB, free: 83.71 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/0.5188, allocations: 367.5 kB / 450.4 MB, free: 83.69 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.5203, allocations: 0.9936 MB / 451.4 MB, free: 83.69 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.5223, allocations: 3.368 MB / 454.8 MB, free: 81.68 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.5239, allocations: 0.5388 MB / 455.3 MB, free: 81.52 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/0.5241, allocations: 215.9 kB / 455.5 MB, free: 81.52 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001452/0.5256, allocations: 496.5 kB / 456 MB, free: 81.36 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003424/0.5259, allocations: 359.2 kB / 456.4 MB, free: 81.2 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.5278, allocations: 1.86 MB / 458.2 MB, free: 81.01 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001146/0.5289, allocations: 1.126 MB / 459.4 MB, free: 80.9 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5289, allocations: 3.844 kB / 459.4 MB, free: 80.9 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.5289, allocations: 11.3 kB / 459.4 MB, free: 80.9 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007389/0.5363, allocations: 7.58 MB / 467 MB, free: 80.25 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5363, allocations: 0 / 467 MB, free: 80.25 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007166/0.537, allocations: 349.3 kB / 467.3 MB, free: 80.25 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004785/0.5375, allocations: 276.3 kB / 467.6 MB, free: 80.21 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.496e-05/0.5376, allocations: 48.09 kB / 467.6 MB, free: 80.21 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.5394, allocations: 3.2 MB / 470.8 MB, free: 78.21 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5394, allocations: 8.688 kB / 470.8 MB, free: 78.21 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.5415, allocations: 2.168 MB / 473 MB, free: 77.7 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005489/0.5421, allocations: 482 kB / 473.5 MB, free: 77.54 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.5422, allocations: 37.81 kB / 473.5 MB, free: 77.54 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/0.5427, allocations: 49.72 kB / 473.5 MB, free: 77.54 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.5428, allocations: 160.7 kB / 473.7 MB, free: 77.54 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.684e-05/0.5429, allocations: 54.7 kB / 473.8 MB, free: 77.54 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0009227/0.5438, allocations: 1.167 MB / 474.9 MB, free: 77.35 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5438, allocations: 2.625 kB / 474.9 MB, free: 77.35 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003595/0.5474, allocations: 1.99 MB / 476.9 MB, free: 77.03 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003246/0.5477, allocations: 209 kB / 477.1 MB, free: 76.94 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.002815/0.5505, allocations: 2.615 MB / 479.7 MB, free: 75.12 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.5505, allocations: 0 / 479.7 MB, free: 75.12 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000785/0.5513, allocations: 1.015 MB / 480.7 MB, free: 74.28 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.5531, allocations: 0.7052 MB / 481.4 MB, free: 73.75 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.5654, allocations: 11.32 MB / 492.8 MB, free: 63.35 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.5667, allocations: 2.289 MB / 495.1 MB, free: 61.65 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001171/0.5679, allocations: 488.3 kB / 495.5 MB, free: 61.28 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009152/0.5688, allocations: 0.7166 MB / 496.2 MB, free: 60.57 MB / 378.8 MB Notification: Performance of SimCode: time 2.324e-06/0.5688, allocations: 0 / 496.2 MB, free: 60.57 MB / 378.8 MB Notification: Performance of Templates: time 0.05373/0.6225, allocations: 42.09 MB / 0.5257 GB, free: 19.15 MB / 378.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.907524230889976]