Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001501/0.002599, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006958/0.0006958, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00119/0.001886, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9978/0.9978, allocations: 173.3 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1108/1.109, allocations: 52.5 MB / 238.3 MB, free: 4.441 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.659e-05, allocations: 6.312 kB / 239.6 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.005855/0.005881, allocations: 5.771 MB / 245.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003452/0.009333, allocations: 1.712 MB / 247 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000766/0.0101, allocations: 59.62 kB / 247.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004946/0.01059, allocations: 329.4 kB / 247.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.01161, allocations: 389 kB / 247.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.01221, allocations: 355.5 kB / 248.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001952/0.01417, allocations: 2.086 MB / 250.2 MB, free: 8.453 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/0.01591, allocations: 1.591 MB / 251.8 MB, free: 6.777 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.01796, allocations: 1.693 MB / 253.5 MB, free: 5.082 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.01956, allocations: 1.169 MB / 254.7 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006598/0.02022, allocations: 308 kB / 255 MB, free: 3.609 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007892/0.02101, allocations: 459.6 kB / 255.4 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004746/0.02148, allocations: 0.6196 MB / 256 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000973/0.02245, allocations: 0.7253 MB / 256.8 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.02427, allocations: 1.951 MB / 258.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.02429, allocations: 0 / 258.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.02429, allocations: 0 / 258.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.175e-05/0.02432, allocations: 0 / 258.7 MB, free: 15.86 MB / 266.7 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.002483/0.0268, allocations: 2.788 MB / 261.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.02684, allocations: 15.98 kB / 261.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005171/0.02735, allocations: 433.7 kB / 262 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009812/0.02833, allocations: 0.7648 MB / 262.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.578e-05/0.02842, allocations: 172.9 kB / 262.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.0286, allocations: 224.3 kB / 263.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.03025, allocations: 1.363 MB / 264.5 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.03028, allocations: 3.938 kB / 264.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.03039, allocations: 88 kB / 264.6 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.312e-05/0.03043, allocations: 60 kB / 264.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006147/0.03105, allocations: 467.4 kB / 265.1 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004717/0.03576, allocations: 4.683 MB / 269.8 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.03613, allocations: 421.5 kB / 270.2 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/0.03675, allocations: 297.4 kB / 270.5 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.03678, allocations: 12.5 kB / 270.5 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.0368, allocations: 35.06 kB / 270.5 MB, free: 3.672 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.465e-06/0.0368, allocations: 4 kB / 270.5 MB, free: 3.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001348/0.03815, allocations: 1.006 MB / 271.5 MB, free: 2.625 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.03818, allocations: 60.06 kB / 271.6 MB, free: 2.555 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003616/0.03854, allocations: 0.5622 MB / 272.1 MB, free: 1.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.03857, allocations: 33.7 kB / 272.2 MB, free: 1.941 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.03889, allocations: 0.8671 MB / 273 MB, free: 1.062 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.03901, allocations: 226 kB / 273.3 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.03914, allocations: 146.5 kB / 273.4 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.03926, allocations: 398.5 kB / 273.8 MB, free: 300 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.03938, allocations: 92.78 kB / 273.9 MB, free: 204 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1122/0.1516, allocations: 299.7 kB / 274.2 MB, free: 24.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.1521, allocations: 487.5 kB / 274.6 MB, free: 24.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1521, allocations: 2.938 kB / 274.7 MB, free: 24.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008405/0.153, allocations: 0.503 MB / 275.2 MB, free: 24.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.153, allocations: 8.953 kB / 275.2 MB, free: 24.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.153, allocations: 8.344 kB / 275.2 MB, free: 24.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002214/0.1532, allocations: 68.59 kB / 275.2 MB, free: 24.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.1537, allocations: 188.4 kB / 275.4 MB, free: 24.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.1548, allocations: 1.673 MB / 277.1 MB, free: 22.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.155, allocations: 23.88 kB / 277.1 MB, free: 22.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.1551, allocations: 24.11 kB / 277.1 MB, free: 22.97 MB / 266.7 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.0004016/0.1555, allocations: 171.7 kB / 277.3 MB, free: 22.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.1556, allocations: 67.92 kB / 277.4 MB, free: 22.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.444e-05/0.1557, allocations: 89.61 kB / 277.5 MB, free: 22.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.1557, allocations: 9.438 kB / 277.5 MB, free: 22.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1557, allocations: 1.5 kB / 277.5 MB, free: 22.83 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1557, allocations: 3.188 kB / 277.5 MB, free: 22.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/0.158, allocations: 1.562 MB / 279 MB, free: 22.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.158, allocations: 1.688 kB / 279 MB, free: 22.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.1583, allocations: 120.5 kB / 279.2 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.1585, allocations: 100.1 kB / 279.3 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001502/0.1587, allocations: 59.98 kB / 279.3 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.1587, allocations: 16.67 kB / 279.3 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008972/0.1596, allocations: 1.677 MB / 281 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1596, allocations: 2.812 kB / 281 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006817/0.1603, allocations: 0.6317 MB / 281.6 MB, free: 20.83 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.155e-05/0.1603, allocations: 14.19 kB / 281.7 MB, free: 20.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.1605, allocations: 35.19 kB / 281.7 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.1606, allocations: 42.06 kB / 281.7 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.1606, allocations: 15.81 kB / 281.7 MB, free: 20.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002603/0.1609, allocations: 262.1 kB / 282 MB, free: 20.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1609, allocations: 1.188 kB / 282 MB, free: 20.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007926/0.1617, allocations: 297.1 kB / 282.3 MB, free: 20.79 MB / 266.7 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.0002073/0.1619, allocations: 127.9 kB / 282.4 MB, free: 20.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006628/0.1625, allocations: 0.5033 MB / 282.9 MB, free: 20.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.118e-05/0.1626, allocations: 15.55 kB / 282.9 MB, free: 20.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.1629, allocations: 332.3 kB / 283.3 MB, free: 20.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006276/0.1635, allocations: 280.1 kB / 283.5 MB, free: 20.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006612/0.1702, allocations: 3.216 MB / 286.8 MB, free: 18.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.1706, allocations: 464.5 kB / 287.2 MB, free: 18.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003284/0.1709, allocations: 99.42 kB / 287.3 MB, free: 18.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003843/0.1713, allocations: 253 kB / 287.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of SimCode: time 1.804e-06/0.1713, allocations: 0 / 287.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of Templates: time 0.01963/0.1909, allocations: 13.78 MB / 301.3 MB, free: 10.05 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/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: 2.9497562991455197]