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.001175/0.001175, allocations: 78.66 kB / 21.42 MB, free: 3.082 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.001269/0.001269, allocations: 172.9 kB / 24.82 MB, free: 8.945 MB / 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 0.9406/0.9406, allocations: 177.2 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.54e-05, allocations: 2.312 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.005157/0.005173, allocations: 5.696 MB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003055/0.008228, allocations: 1.69 MB / 280.8 MB, free: 9.871 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005501/0.008778, allocations: 63.62 kB / 280.9 MB, free: 9.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004683/0.009247, allocations: 317.5 kB / 281.2 MB, free: 9.496 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008962/0.01014, allocations: 397 kB / 281.6 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.01063, allocations: 363.4 kB / 281.9 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.01189, allocations: 2.078 MB / 284 MB, free: 6.664 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.01325, allocations: 1.556 MB / 285.5 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.01456, allocations: 1.626 MB / 287.2 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.01557, allocations: 1.161 MB / 288.3 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002992/0.01587, allocations: 308 kB / 288.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005117/0.01638, allocations: 455.5 kB / 289.1 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003956/0.01678, allocations: 0.7675 MB / 289.8 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.09638/0.1132, allocations: 0.8839 MB / 290.7 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.116, allocations: 2.082 MB / 292.8 MB, free: 18.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.116, allocations: 5.219 kB / 292.8 MB, free: 18.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.116, allocations: 0 / 292.8 MB, free: 18.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000109/0.1162, allocations: 1.281 kB / 292.8 MB, free: 18.81 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.003904/0.1201, allocations: 2.582 MB / 295.4 MB, free: 17.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1201, allocations: 10.56 kB / 295.4 MB, free: 17.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007812/0.1209, allocations: 466 kB / 295.9 MB, free: 17.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.1221, allocations: 1.096 MB / 297 MB, free: 17.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.984e-05/0.1222, allocations: 168.9 kB / 297.1 MB, free: 17.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/0.1224, allocations: 223.9 kB / 297.3 MB, free: 17.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.1241, allocations: 1.205 MB / 298.5 MB, free: 17.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.1241, allocations: 0 / 298.5 MB, free: 17.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.1242, allocations: 96.38 kB / 298.6 MB, free: 17.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-05/0.1243, allocations: 57.19 kB / 298.7 MB, free: 17.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008365/0.1251, allocations: 0.5241 MB / 299.2 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006023/0.1312, allocations: 5.69 MB / 304.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.1316, allocations: 405.6 kB / 305.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.1319, allocations: 318.5 kB / 305.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.132, allocations: 10.94 kB / 305.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.132, allocations: 49.45 kB / 305.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.845e-06/0.132, allocations: 0 / 305.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001476/0.1335, allocations: 1.131 MB / 306.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.1335, allocations: 59.66 kB / 306.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/0.1339, allocations: 0.6867 MB / 307.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.1339, allocations: 36.67 kB / 307.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.1342, allocations: 1.019 MB / 308.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.772e-05/0.1343, allocations: 244.3 kB / 308.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.1344, allocations: 154.3 kB / 309 MB, free: 11.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1345, allocations: 0.6002 MB / 309.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.572e-05/0.1346, allocations: 88 kB / 309.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.1348, allocations: 421 kB / 310.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.1352, allocations: 0.5682 MB / 310.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1352, allocations: 3.375 kB / 310.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005552/0.1357, allocations: 0.6142 MB / 311.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1357, allocations: 10.25 kB / 311.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.1357, allocations: 10.5 kB / 311.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001655/0.1359, allocations: 74.3 kB / 311.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.1362, allocations: 158.9 kB / 311.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008798/0.1371, allocations: 2.28 MB / 313.8 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.1373, allocations: 24.86 kB / 313.8 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.1373, allocations: 38.75 kB / 313.9 MB, free: 8.141 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.00029/0.1376, allocations: 200.8 kB / 314.1 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.1377, allocations: 101.8 kB / 314.2 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.175e-05/0.1378, allocations: 94.69 kB / 314.3 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.1378, allocations: 8 kB / 314.3 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.1378, allocations: 6.672 kB / 314.3 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1378, allocations: 0 / 314.3 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.1396, allocations: 1.893 MB / 316.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1396, allocations: 4 kB / 316.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.1398, allocations: 94.89 kB / 316.3 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.1399, allocations: 68.95 kB / 316.3 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.1399, allocations: 19.98 kB / 316.3 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000723/0.1406, allocations: 2.264 MB / 318.6 MB, free: 3.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1406, allocations: 4 kB / 318.6 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005426/0.1412, allocations: 0.7446 MB / 319.4 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.1413, allocations: 119.4 kB / 319.5 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.1414, allocations: 19.91 kB / 319.5 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.1415, allocations: 27.92 kB / 319.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.1416, allocations: 48.41 kB / 319.6 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.1416, allocations: 16.03 kB / 319.6 MB, free: 2.984 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001887/0.1418, allocations: 409.3 kB / 320 MB, free: 2.621 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1418, allocations: 3.469 kB / 320 MB, free: 2.621 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007065/0.1425, allocations: 299.9 kB / 320.3 MB, free: 2.328 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.0001781/0.1427, allocations: 134.7 kB / 320.4 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004983/0.1432, allocations: 0.5981 MB / 321 MB, free: 1.609 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1432, allocations: 0 / 321 MB, free: 1.609 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.1434, allocations: 410.7 kB / 321.4 MB, free: 1.211 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.144, allocations: 213 kB / 321.6 MB, free: 1.008 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.1473, allocations: 2.882 MB / 324.5 MB, free: 14.08 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.1477, allocations: 0.5202 MB / 325 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002441/0.1479, allocations: 109.5 kB / 325.1 MB, free: 13.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003515/0.1483, allocations: 282 kB / 325.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of SimCode: time 1.322e-06/0.1483, allocations: 0 / 325.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of Templates: time 0.02115/0.1695, allocations: 13.14 MB / 338.5 MB, free: 336 kB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] 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","",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.8795366371050477]