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.002362/0.002362, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002545/0.002545, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 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.539/1.539, allocations: 173.3 MB / 200.8 MB, free: 9.32 MB / 186.7 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 1.273e-06/1.273e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.184e-05/3.311e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.009453/0.009486, allocations: 5.767 MB / 273.1 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004773/0.01426, allocations: 1.623 MB / 274.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008703/0.01513, allocations: 67.62 kB / 274.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008124/0.01594, allocations: 313.5 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.01759, allocations: 393.1 kB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000914/0.01851, allocations: 367.3 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002974/0.02148, allocations: 2.07 MB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.02401, allocations: 1.56 MB / 279.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002659/0.02667, allocations: 1.61 MB / 281.1 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.02896, allocations: 1.161 MB / 282.2 MB, free: 7.711 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005458/0.0295, allocations: 312 kB / 282.5 MB, free: 7.406 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009934/0.0305, allocations: 455.6 kB / 283 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008739/0.03137, allocations: 0.7714 MB / 283.7 MB, free: 6.188 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.03281, allocations: 0.881 MB / 284.6 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005451/0.03826, allocations: 3.879 MB / 288.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.03827, allocations: 0 / 288.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.03827, allocations: 0 / 288.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001095/0.03838, allocations: 0 / 288.5 MB, free: 1.414 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.1285/0.1668, allocations: 2.795 MB / 291.3 MB, free: 23.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1669, allocations: 10.72 kB / 291.3 MB, free: 23.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008603/0.1677, allocations: 437.7 kB / 291.7 MB, free: 23.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.1701, allocations: 1.189 MB / 292.9 MB, free: 23.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.1702, allocations: 169.6 kB / 293.1 MB, free: 23.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.1705, allocations: 220.9 kB / 293.3 MB, free: 23.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004088/0.1746, allocations: 2.371 MB / 295.7 MB, free: 22.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.744e-05/0.1747, allocations: 3.312 kB / 295.7 MB, free: 22.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.1748, allocations: 94.19 kB / 295.8 MB, free: 22.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.365e-05/0.1749, allocations: 57.05 kB / 295.8 MB, free: 22.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003283/0.1782, allocations: 1.868 MB / 297.7 MB, free: 21.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.1893, allocations: 7.87 MB / 305.6 MB, free: 17.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007323/0.1901, allocations: 0.611 MB / 306.2 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008143/0.1909, allocations: 0.514 MB / 306.7 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.924e-05/0.1909, allocations: 15.81 kB / 306.7 MB, free: 17.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.191, allocations: 41.52 kB / 306.7 MB, free: 17.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.775e-06/0.191, allocations: 0 / 306.7 MB, free: 17.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.00304/0.194, allocations: 2.071 MB / 308.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.194, allocations: 56.06 kB / 308.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007935/0.1948, allocations: 0.9632 MB / 309.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.1949, allocations: 33.7 kB / 309.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/0.1952, allocations: 1.055 MB / 310.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1953, allocations: 245.5 kB / 311.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.1955, allocations: 179.3 kB / 311.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1956, allocations: 0.6367 MB / 312 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.196, allocations: 281.8 kB / 312.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.1965, allocations: 0.6212 MB / 312.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008829/0.1974, allocations: 0.9726 MB / 313.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1974, allocations: 4 kB / 313.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001293/0.1987, allocations: 1.042 MB / 314.9 MB, free: 9.305 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1987, allocations: 8 kB / 314.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1987, allocations: 8 kB / 314.9 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003006/0.199, allocations: 101.9 kB / 315 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.1996, allocations: 173.9 kB / 315.2 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.2012, allocations: 2.691 MB / 317.9 MB, free: 6.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.2016, allocations: 38.86 kB / 317.9 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.2017, allocations: 35.94 kB / 317.9 MB, free: 6.164 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.000634/0.2023, allocations: 0.6196 MB / 318.6 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.2025, allocations: 99.48 kB / 318.7 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.2026, allocations: 91.3 kB / 318.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/0.2027, allocations: 12 kB / 318.8 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.2027, allocations: 4 kB / 318.8 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2027, allocations: 3.984 kB / 318.8 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003952/0.2066, allocations: 2.651 MB / 321.4 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.2066, allocations: 3.562 kB / 321.4 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004314/0.2071, allocations: 103.2 kB / 321.5 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002358/0.2073, allocations: 99.33 kB / 321.6 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.2073, allocations: 15.98 kB / 321.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.2089, allocations: 2.555 MB / 324.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.2089, allocations: 8.062 kB / 324.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.211, allocations: 1.181 MB / 325.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/0.2114, allocations: 135.4 kB / 325.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.2115, allocations: 19.98 kB / 325.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.212, allocations: 40.03 kB / 325.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.2121, allocations: 55.69 kB / 325.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/0.2122, allocations: 19.98 kB / 325.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008331/0.213, allocations: 0.5731 MB / 326.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.213, allocations: 0 / 326.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001151/0.2141, allocations: 310.2 kB / 326.5 MB, free: 13.41 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.0002896/0.2144, allocations: 138.1 kB / 326.7 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.2162, allocations: 0.9387 MB / 327.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2162, allocations: 192 / 327.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009015/0.2171, allocations: 0.5462 MB / 328.1 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.2183, allocations: 212.1 kB / 328.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005757/0.224, allocations: 3.057 MB / 331.4 MB, free: 8.469 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/0.2253, allocations: 1.043 MB / 332.4 MB, free: 7.383 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005589/0.2259, allocations: 170.2 kB / 332.6 MB, free: 7.215 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.2261, allocations: 64.48 kB / 332.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2261, allocations: 0 / 332.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of Templates: time 0.0262/0.2523, allocations: 12.25 MB / 344.9 MB, free: 11.17 MB / 298.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 -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","/var/lib/jenkins/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.849158747005276]