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.001837/0.001837, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 14.72 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.002326/0.002326, allocations: 156.9 kB / 24.48 MB, free: 3.465 MB / 14.72 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 1.491/1.491, allocations: 173.4 MB / 201.1 MB, free: 12.73 MB / 190.1 MB " [Timeout remaining time 178] 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.2..i|inductor.inductor.3..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.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 51.39 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0868/0.08836, allocations: 52.15 MB / 371.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007173/0.09553, allocations: 5.344 MB / 376.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003367/0.0989, allocations: 1.577 MB / 378.5 MB, free: 420 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005229/0.09942, allocations: 63.62 kB / 378.6 MB, free: 356 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006345/0.1001, allocations: 325.5 kB / 378.9 MB, free: 28 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.1012, allocations: 385.4 kB / 379.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006561/0.1018, allocations: 359.5 kB / 379.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002128/0.104, allocations: 2.013 MB / 381.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/0.106, allocations: 1.544 MB / 383.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.1073, allocations: 1.063 MB / 384.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.109, allocations: 1.156 MB / 385.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003805/0.1094, allocations: 308 kB / 385.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008062/0.1102, allocations: 459.6 kB / 386.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007143/0.1109, allocations: 0.7402 MB / 386.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001172/0.1121, allocations: 1.015 MB / 387.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003847/0.116, allocations: 3.811 MB / 391.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.116, allocations: 0 / 391.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.116, allocations: 0 / 391.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.713e-05/0.116, allocations: 0 / 391.7 MB, free: 3.105 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.004782/0.1208, allocations: 2.442 MB / 394.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1209, allocations: 12.03 kB / 394.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006131/0.1215, allocations: 251.4 kB / 394.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.1239, allocations: 1.255 MB / 395.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/0.1241, allocations: 168.9 kB / 395.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003004/0.1244, allocations: 223.6 kB / 396 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004788/0.1292, allocations: 2.617 MB / 398.6 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.411e-05/0.1292, allocations: 0 / 398.6 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.1294, allocations: 92 kB / 398.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.841e-05/0.1295, allocations: 63.98 kB / 398.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003924/0.1334, allocations: 2.137 MB / 400.9 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/0.1447, allocations: 6.399 MB / 407.3 MB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.1458, allocations: 0.6854 MB / 408 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.1469, allocations: 0.5989 MB / 408.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.403e-05/0.147, allocations: 8.484 kB / 408.6 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.147, allocations: 43 kB / 408.7 MB, free: 1.738 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.035e-06/0.147, allocations: 3.938 kB / 408.7 MB, free: 1.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004519/0.1516, allocations: 2.391 MB / 411.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.1516, allocations: 60.06 kB / 411.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.1527, allocations: 0.7813 MB / 411.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.1527, allocations: 41.7 kB / 411.9 MB, free: 14.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006694/0.1534, allocations: 0.948 MB / 412.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.1536, allocations: 234 kB / 413.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.1538, allocations: 146.6 kB / 413.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.154, allocations: 390.7 kB / 413.6 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005902/0.1546, allocations: 365.8 kB / 414 MB, free: 12.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007778/0.1554, allocations: 0.579 MB / 414.6 MB, free: 11.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.1568, allocations: 0.9872 MB / 415.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.1568, allocations: 0 / 415.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001884/0.1587, allocations: 1.154 MB / 416.7 MB, free: 9.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.1587, allocations: 8 kB / 416.7 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.1587, allocations: 8 kB / 416.7 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003024/0.159, allocations: 108.7 kB / 416.8 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/0.1597, allocations: 171.8 kB / 417 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.1621, allocations: 2.18 MB / 419.2 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.1626, allocations: 39.97 kB / 419.2 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.154e-05/0.1626, allocations: 28 kB / 419.3 MB, free: 6.75 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.001031/0.1637, allocations: 0.6497 MB / 419.9 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.1638, allocations: 91.61 kB / 420 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.164, allocations: 95.3 kB / 420.1 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-05/0.164, allocations: 15.94 kB / 420.1 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1641, allocations: 0 / 420.1 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1641, allocations: 8.047 kB / 420.1 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003933/0.168, allocations: 2.217 MB / 422.3 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.168, allocations: 0 / 422.3 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000468/0.1685, allocations: 111.8 kB / 422.4 MB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.1687, allocations: 104.9 kB / 422.5 MB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/0.1688, allocations: 19.98 kB / 422.6 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.1709, allocations: 2.121 MB / 424.7 MB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1709, allocations: 4.094 kB / 424.7 MB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/0.173, allocations: 1.419 MB / 426.1 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/0.1734, allocations: 147.5 kB / 426.2 MB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-05/0.1735, allocations: 16 kB / 426.3 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.1739, allocations: 44.02 kB / 426.3 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.174, allocations: 56.34 kB / 426.4 MB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.1741, allocations: 19.98 kB / 426.4 MB, free: 15.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007104/0.1748, allocations: 0.538 MB / 426.9 MB, free: 14.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1748, allocations: 0 / 426.9 MB, free: 14.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001065/0.1759, allocations: 299.9 kB / 427.2 MB, free: 14.57 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.0002572/0.1761, allocations: 142.9 kB / 427.4 MB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.1778, allocations: 0.961 MB / 428.3 MB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1778, allocations: 4.062 kB / 428.3 MB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008644/0.1787, allocations: 0.5403 MB / 428.9 MB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.1797, allocations: 217.9 kB / 429.1 MB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005498/0.1852, allocations: 3.274 MB / 432.3 MB, free: 9.363 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.1865, allocations: 1.14 MB / 433.5 MB, free: 8.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005486/0.1871, allocations: 202.9 kB / 433.7 MB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.1872, allocations: 60.5 kB / 433.7 MB, free: 7.918 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1872, allocations: 0 / 433.7 MB, free: 7.918 MB / 398.1 MB Notification: Performance of Templates: time 0.02356/0.2108, allocations: 12.31 MB / 446.1 MB, free: 11.82 MB / 414.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.702891714987345]