Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001422/0.001422, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001511/0.001511, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.294e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.01527/0.0153, allocations: 5.386 MB / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006413/0.02171, allocations: 1.655 MB / 279.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.02276, allocations: 59.69 kB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.0241, allocations: 317.4 kB / 279.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.02633, allocations: 408.9 kB / 280 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.02767, allocations: 363.4 kB / 280.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00423/0.0319, allocations: 2.086 MB / 282.4 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004156/0.03606, allocations: 1.544 MB / 284 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00293/0.03899, allocations: 1.603 MB / 285.6 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.04056, allocations: 1.025 MB / 286.6 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004203/0.04098, allocations: 308 kB / 286.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007921/0.04177, allocations: 455.5 kB / 287.4 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007891/0.04256, allocations: 0.7558 MB / 288.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.04372, allocations: 0.8771 MB / 289 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1235/0.1672, allocations: 3.851 MB / 292.8 MB, free: 19.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1672, allocations: 1.406 kB / 292.8 MB, free: 19.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1672, allocations: 0 / 292.8 MB, free: 19.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001096/0.1673, allocations: 1.094 kB / 292.8 MB, free: 19.71 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.005125/0.1725, allocations: 2.439 MB / 295.3 MB, free: 18.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1725, allocations: 13.61 kB / 295.3 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.1737, allocations: 467.3 kB / 295.8 MB, free: 18.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.1758, allocations: 1.323 MB / 297.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.1759, allocations: 167 kB / 297.2 MB, free: 18.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/0.1763, allocations: 223 kB / 297.5 MB, free: 18.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00437/0.1806, allocations: 2.634 MB / 300.1 MB, free: 17.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/0.1807, allocations: 0 / 300.1 MB, free: 17.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.1809, allocations: 98.09 kB / 300.2 MB, free: 17.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/0.181, allocations: 84.97 kB / 300.3 MB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003305/0.1843, allocations: 2.143 MB / 302.4 MB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00962/0.1939, allocations: 6.629 MB / 309 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008565/0.1948, allocations: 0.6926 MB / 309.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009082/0.1957, allocations: 0.594 MB / 310.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.085e-05/0.1957, allocations: 10.31 kB / 310.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.1957, allocations: 45.88 kB / 310.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.745e-06/0.1957, allocations: 0 / 310.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.00351/0.1992, allocations: 2.396 MB / 312.8 MB, free: 9.379 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.1993, allocations: 64 kB / 312.8 MB, free: 9.305 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007793/0.2001, allocations: 0.7853 MB / 313.6 MB, free: 8.508 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.2001, allocations: 37.7 kB / 313.7 MB, free: 8.465 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.2004, allocations: 0.9549 MB / 314.6 MB, free: 7.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.2006, allocations: 233.1 kB / 314.8 MB, free: 7.273 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.2008, allocations: 144.5 kB / 315 MB, free: 7.129 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2009, allocations: 397.6 kB / 315.4 MB, free: 6.734 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004249/0.2013, allocations: 357.8 kB / 315.7 MB, free: 6.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.2018, allocations: 0.5864 MB / 316.3 MB, free: 5.703 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009801/0.2028, allocations: 0.987 MB / 317.3 MB, free: 4.645 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2028, allocations: 0 / 317.3 MB, free: 4.645 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001418/0.2042, allocations: 1.186 MB / 318.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2042, allocations: 8 kB / 318.5 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.2042, allocations: 4 kB / 318.5 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002939/0.2045, allocations: 115.6 kB / 318.6 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005697/0.2051, allocations: 182.6 kB / 318.8 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.2067, allocations: 2.182 MB / 321 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.2072, allocations: 44.03 kB / 321 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.2072, allocations: 39.72 kB / 321.1 MB, free: 0.8672 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.0008315/0.208, allocations: 0.6482 MB / 321.7 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.2082, allocations: 109.7 kB / 321.8 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.2084, allocations: 99.41 kB / 321.9 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/0.2084, allocations: 8 kB / 321.9 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.2084, allocations: 4 kB / 321.9 MB, free: 0 / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.255e-05/0.2084, allocations: 7.984 kB / 321.9 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004205/0.2126, allocations: 2.237 MB / 324.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2126, allocations: 0 / 324.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/0.2131, allocations: 115 kB / 324.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002903/0.2134, allocations: 105.4 kB / 324.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.2134, allocations: 16 kB / 324.4 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.2158, allocations: 2.122 MB / 326.5 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2158, allocations: 0 / 326.5 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.2182, allocations: 1.438 MB / 328 MB, free: 9.836 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003807/0.2185, allocations: 151.5 kB / 328.1 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.543e-05/0.2186, allocations: 19.98 kB / 328.1 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.2191, allocations: 35.97 kB / 328.2 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.2192, allocations: 56.14 kB / 328.2 MB, free: 9.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-05/0.2192, allocations: 20.06 kB / 328.2 MB, free: 9.562 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008553/0.2201, allocations: 0.5497 MB / 328.8 MB, free: 9.016 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2201, allocations: 0 / 328.8 MB, free: 9.016 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001461/0.2216, allocations: 307.8 kB / 329.1 MB, free: 8.719 MB / 282.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.0003342/0.2219, allocations: 126.8 kB / 329.2 MB, free: 8.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.2238, allocations: 0.9786 MB / 330.2 MB, free: 7.629 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2238, allocations: 3.828 kB / 330.2 MB, free: 7.629 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009247/0.2248, allocations: 0.5324 MB / 330.7 MB, free: 7.094 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.2262, allocations: 218.2 kB / 330.9 MB, free: 6.898 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00821/0.2344, allocations: 3.288 MB / 334.2 MB, free: 3.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001989/0.2364, allocations: 1.152 MB / 335.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0009367/0.2373, allocations: 204 kB / 335.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.2376, allocations: 60.48 kB / 335.6 MB, free: 2.105 MB / 282.7 MB Notification: Performance of SimCode: time 1.433e-06/0.2376, allocations: 0 / 335.6 MB, free: 2.105 MB / 282.7 MB Notification: Performance of Templates: time 0.03632/0.2739, allocations: 12.24 MB / 347.9 MB, free: 6.137 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 4.801929565961473]