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.001443/0.001443, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001778/0.001778, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.519/1.519, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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 1.973e-06/1.973e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.56e-05/3.757e-05, allocations: 8.141 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008323/0.008361, allocations: 5.372 MB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004048/0.01241, allocations: 1.643 MB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007978/0.01321, allocations: 63.62 kB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007396/0.01395, allocations: 325.4 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.01536, allocations: 393 kB / 280.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007753/0.01613, allocations: 367.4 kB / 280.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002646/0.01878, allocations: 2.082 MB / 282.5 MB, free: 7.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.02104, allocations: 1.54 MB / 284.1 MB, free: 5.934 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.02333, allocations: 1.595 MB / 285.7 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.02509, allocations: 1.017 MB / 286.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004501/0.02554, allocations: 312 kB / 287 MB, free: 3.012 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008585/0.0264, allocations: 455.5 kB / 287.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007794/0.02718, allocations: 0.7558 MB / 288.2 MB, free: 1.809 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.0285, allocations: 0.8693 MB / 289.1 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1402/0.1687, allocations: 3.844 MB / 292.9 MB, free: 19.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.1687, allocations: 0 / 292.9 MB, free: 19.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1687, allocations: 0 / 292.9 MB, free: 19.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001001/0.1688, allocations: 0 / 292.9 MB, free: 19.7 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.005142/0.174, allocations: 2.433 MB / 295.3 MB, free: 18.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.174, allocations: 9.781 kB / 295.4 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.1754, allocations: 468.9 kB / 295.8 MB, free: 18.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/0.1776, allocations: 1.314 MB / 297.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.1778, allocations: 167 kB / 297.3 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003682/0.1782, allocations: 221.9 kB / 297.5 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005422/0.1836, allocations: 2.617 MB / 300.1 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.435e-05/0.1836, allocations: 1.781 kB / 300.1 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000314/0.184, allocations: 97.62 kB / 300.2 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.1841, allocations: 66.11 kB / 300.3 MB, free: 17.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005908/0.19, allocations: 2.138 MB / 302.4 MB, free: 16.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0128/0.2028, allocations: 6.59 MB / 309 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009606/0.2038, allocations: 0.6872 MB / 309.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000933/0.2047, allocations: 0.5917 MB / 310.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/0.2047, allocations: 14.69 kB / 310.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.2048, allocations: 41.59 kB / 310.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 3.076e-06/0.2048, allocations: 0 / 310.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.003853/0.2086, allocations: 2.394 MB / 312.7 MB, free: 9.523 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.2087, allocations: 56.06 kB / 312.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008331/0.2095, allocations: 0.793 MB / 313.6 MB, free: 8.652 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.2095, allocations: 37.7 kB / 313.6 MB, free: 8.609 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.2099, allocations: 0.9467 MB / 314.6 MB, free: 7.652 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.21, allocations: 238 kB / 314.8 MB, free: 7.426 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.2102, allocations: 150.4 kB / 315 MB, free: 7.277 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.2103, allocations: 394.8 kB / 315.3 MB, free: 6.883 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/0.2107, allocations: 361.8 kB / 315.7 MB, free: 6.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/0.2112, allocations: 0.5852 MB / 316.3 MB, free: 5.855 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009884/0.2122, allocations: 0.9873 MB / 317.3 MB, free: 4.797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2122, allocations: 4 kB / 317.3 MB, free: 4.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001512/0.2137, allocations: 1.18 MB / 318.4 MB, free: 3.648 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.2138, allocations: 8.656 kB / 318.5 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.2138, allocations: 8 kB / 318.5 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003321/0.2141, allocations: 123.5 kB / 318.6 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/0.2147, allocations: 167.2 kB / 318.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.2164, allocations: 2.186 MB / 320.9 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005401/0.2169, allocations: 35.97 kB / 321 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.582e-05/0.217, allocations: 43.78 kB / 321 MB, free: 1.02 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.0009299/0.2179, allocations: 0.6434 MB / 321.7 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.2181, allocations: 111.4 kB / 321.8 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.2183, allocations: 99.53 kB / 321.9 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.491e-05/0.2183, allocations: 8 kB / 321.9 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.2183, allocations: 4 kB / 321.9 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.2183, allocations: 3.984 kB / 321.9 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004411/0.2227, allocations: 2.242 MB / 324.1 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.2227, allocations: 0 / 324.1 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.2232, allocations: 99.59 kB / 324.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003274/0.2235, allocations: 113.3 kB / 324.3 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/0.2236, allocations: 12 kB / 324.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.2262, allocations: 2.133 MB / 326.5 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.2262, allocations: 4.031 kB / 326.5 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.2288, allocations: 1.431 MB / 327.9 MB, free: 9.996 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/0.2293, allocations: 159.2 kB / 328.1 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.2294, allocations: 15.98 kB / 328.1 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.2298, allocations: 44.09 kB / 328.1 MB, free: 9.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.23, allocations: 48.41 kB / 328.2 MB, free: 9.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.563e-05/0.23, allocations: 23.98 kB / 328.2 MB, free: 9.715 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008981/0.2309, allocations: 0.538 MB / 328.7 MB, free: 9.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2309, allocations: 0 / 328.7 MB, free: 9.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001364/0.2323, allocations: 307.3 kB / 329 MB, free: 8.883 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.0003328/0.2326, allocations: 138.7 kB / 329.2 MB, free: 8.746 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.2345, allocations: 0.9702 MB / 330.1 MB, free: 7.789 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2345, allocations: 4 kB / 330.1 MB, free: 7.785 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009812/0.2355, allocations: 0.5275 MB / 330.7 MB, free: 7.258 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.2369, allocations: 229.4 kB / 330.9 MB, free: 7.047 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006794/0.2437, allocations: 3.273 MB / 334.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/0.2455, allocations: 1.15 MB / 335.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007433/0.2462, allocations: 204.7 kB / 335.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.2464, allocations: 60.5 kB / 335.6 MB, free: 2.273 MB / 282.7 MB Notification: Performance of SimCode: time 1.903e-06/0.2464, allocations: 0 / 335.6 MB, free: 2.273 MB / 282.7 MB Notification: Performance of Templates: time 0.02608/0.2725, allocations: 12.24 MB / 347.8 MB, free: 6.316 MB / 298.7 MB " [Timeout remaining time 660] 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 -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/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_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: 4.7681717270752415]