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.001329/0.001329, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.0015/0.0015, allocations: 141.6 kB / 24.89 MB, free: 8.781 MB / 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 0.8899/0.8899, allocations: 173.4 MB / 201.5 MB, free: 9.164 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.501e-05, allocations: 2.312 kB / 268.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.004792/0.004807, allocations: 5.683 MB / 274.1 MB, free: 452 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.007042, allocations: 1.704 MB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003263/0.007368, allocations: 59.62 kB / 275.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.007777, allocations: 333.3 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007212/0.008498, allocations: 393.1 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.008907, allocations: 359.4 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.01032, allocations: 2.086 MB / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.01148, allocations: 1.583 MB / 280.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.01276, allocations: 1.618 MB / 282.3 MB, free: 8.219 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009841/0.01375, allocations: 1.169 MB / 283.4 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002369/0.01398, allocations: 312 kB / 283.7 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000443/0.01443, allocations: 455.5 kB / 284.2 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004003/0.01483, allocations: 0.7714 MB / 284.9 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005757/0.0154, allocations: 0.881 MB / 285.8 MB, free: 4.641 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.01674, allocations: 2.083 MB / 287.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.01675, allocations: 3.938 kB / 287.9 MB, free: 2.547 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01675, allocations: 0 / 287.9 MB, free: 2.547 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.01676, allocations: 0 / 287.9 MB, free: 2.547 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.002157/0.01892, allocations: 2.335 MB / 290.3 MB, free: 176 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.01895, allocations: 8.922 kB / 290.3 MB, free: 168 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09296/0.1119, allocations: 349.1 kB / 290.6 MB, free: 29.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.113, allocations: 0.7657 MB / 291.4 MB, free: 29.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.425e-05/0.1131, allocations: 169 kB / 291.5 MB, free: 29.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.1133, allocations: 223.1 kB / 291.8 MB, free: 29.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.115, allocations: 1.357 MB / 293.1 MB, free: 29.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.115, allocations: 0 / 293.1 MB, free: 29.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.1151, allocations: 95.66 kB / 293.2 MB, free: 29.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-05/0.1152, allocations: 56.34 kB / 293.3 MB, free: 29.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000717/0.1159, allocations: 471.9 kB / 293.7 MB, free: 29.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005089/0.121, allocations: 4.636 MB / 298.4 MB, free: 27.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.1214, allocations: 421.7 kB / 298.8 MB, free: 27.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.1218, allocations: 295 kB / 299.1 MB, free: 27.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.1218, allocations: 11.5 kB / 299.1 MB, free: 27.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.1218, allocations: 38.39 kB / 299.1 MB, free: 26.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.625e-06/0.1218, allocations: 1.375 kB / 299.1 MB, free: 26.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001351/0.1232, allocations: 1.005 MB / 300.1 MB, free: 26.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.6e-05/0.1232, allocations: 58.75 kB / 300.2 MB, free: 26.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/0.1235, allocations: 0.5556 MB / 300.7 MB, free: 26.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.1236, allocations: 36.45 kB / 300.8 MB, free: 26.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.1238, allocations: 0.8663 MB / 301.6 MB, free: 25.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.552e-05/0.1239, allocations: 237.7 kB / 301.9 MB, free: 25.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.124, allocations: 144.7 kB / 302 MB, free: 25.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.667e-05/0.1241, allocations: 400.2 kB / 302.4 MB, free: 25.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.1242, allocations: 91.86 kB / 302.5 MB, free: 25.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.1243, allocations: 311.1 kB / 302.8 MB, free: 24.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.1247, allocations: 486.8 kB / 303.3 MB, free: 24.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1247, allocations: 1.406 kB / 303.3 MB, free: 24.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005139/0.1252, allocations: 0.5092 MB / 303.8 MB, free: 24.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1252, allocations: 8.125 kB / 303.8 MB, free: 24.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1252, allocations: 5.344 kB / 303.8 MB, free: 24.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001512/0.1254, allocations: 71.77 kB / 303.9 MB, free: 24.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.1257, allocations: 156.8 kB / 304 MB, free: 24.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007254/0.1264, allocations: 1.671 MB / 305.7 MB, free: 22.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.1266, allocations: 26 kB / 305.7 MB, free: 22.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.1266, allocations: 30.3 kB / 305.7 MB, free: 22.92 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.0001806/0.1268, allocations: 165 kB / 305.9 MB, free: 22.76 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.687e-05/0.1269, allocations: 67.83 kB / 306 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.213e-05/0.127, allocations: 94.84 kB / 306 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.127, allocations: 8.688 kB / 306.1 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.127, allocations: 1.156 kB / 306.1 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.127, allocations: 4.953 kB / 306.1 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.1284, allocations: 1.568 MB / 307.6 MB, free: 22.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1284, allocations: 0 / 307.6 MB, free: 22.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.1286, allocations: 90.84 kB / 307.7 MB, free: 22.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001106/0.1287, allocations: 75.44 kB / 307.8 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.1287, allocations: 15.94 kB / 307.8 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006219/0.1293, allocations: 1.656 MB / 309.5 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1293, allocations: 3.938 kB / 309.5 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.1298, allocations: 0.6427 MB / 310.1 MB, free: 19.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.1299, allocations: 95.45 kB / 310.2 MB, free: 19.49 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.1299, allocations: 12 kB / 310.2 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.1301, allocations: 30.39 kB / 310.2 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.1302, allocations: 48.34 kB / 310.3 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.1302, allocations: 12 kB / 310.3 MB, free: 19.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001405/0.1303, allocations: 260.7 kB / 310.6 MB, free: 19.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1303, allocations: 4 kB / 310.6 MB, free: 19.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004819/0.1308, allocations: 303.9 kB / 310.9 MB, free: 18.88 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.0001548/0.131, allocations: 120.2 kB / 311 MB, free: 18.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004347/0.1314, allocations: 0.5092 MB / 311.5 MB, free: 18.24 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/0.1314, allocations: 8.5 kB / 311.5 MB, free: 18.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.1316, allocations: 329.6 kB / 311.8 MB, free: 17.9 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.1321, allocations: 223.5 kB / 312 MB, free: 17.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.1345, allocations: 2.836 MB / 314.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.1347, allocations: 436.7 kB / 315.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.1349, allocations: 103 kB / 315.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.1352, allocations: 244.5 kB / 315.6 MB, free: 14 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1352, allocations: 0 / 315.6 MB, free: 14 MB / 266.7 MB Notification: Performance of Templates: time 0.01463/0.1498, allocations: 13.11 MB / 328.8 MB, free: 1.168 MB / 266.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","",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.785936262924224]