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.001037/0.001037, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.00114/0.00114, allocations: 147.4 kB / 24.89 MB, free: 8.742 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 1.011/1.011, allocations: 173.4 MB / 201.5 MB, free: 8.734 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.523e-06/1.523e-06, allocations: 0 / 268.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.873e-05, allocations: 10.05 kB / 268.5 MB, free: 5.988 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.004929/0.004948, allocations: 5.73 MB / 274.2 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.007459, allocations: 1.708 MB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003985/0.007858, allocations: 59.62 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004762/0.008334, allocations: 325.4 kB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009048/0.009239, allocations: 393.1 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.00976, allocations: 355.4 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.0113, allocations: 2.078 MB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.01274, allocations: 1.591 MB / 280.7 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.01407, allocations: 1.622 MB / 282.3 MB, free: 8.004 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.0152, allocations: 1.165 MB / 283.5 MB, free: 6.836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002866/0.01548, allocations: 308 kB / 283.8 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005304/0.01601, allocations: 471.5 kB / 284.3 MB, free: 6.074 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004376/0.01645, allocations: 0.7597 MB / 285 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006484/0.0171, allocations: 0.8771 MB / 285.9 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.01868, allocations: 2.091 MB / 288 MB, free: 2.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.01868, allocations: 4 kB / 288 MB, free: 2.332 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.01868, allocations: 4 kB / 288 MB, free: 2.328 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.439e-05/0.0187, allocations: 0 / 288 MB, free: 2.328 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.09855/0.1173, allocations: 2.324 MB / 290.3 MB, free: 28.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1173, allocations: 11.52 kB / 290.3 MB, free: 28.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007109/0.118, allocations: 353.5 kB / 290.7 MB, free: 28.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.119, allocations: 0.7673 MB / 291.5 MB, free: 28.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.319e-05/0.1191, allocations: 167.7 kB / 291.6 MB, free: 28.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.1193, allocations: 225.4 kB / 291.8 MB, free: 28.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.1209, allocations: 1.359 MB / 293.2 MB, free: 28.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.121, allocations: 1.188 kB / 293.2 MB, free: 28.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.861e-05/0.1211, allocations: 93.22 kB / 293.3 MB, free: 28.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-05/0.1211, allocations: 65.16 kB / 293.4 MB, free: 28.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000711/0.1218, allocations: 462.6 kB / 293.8 MB, free: 28.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004994/0.1268, allocations: 4.639 MB / 298.4 MB, free: 26.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.1272, allocations: 419.3 kB / 298.9 MB, free: 26.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.1275, allocations: 296.9 kB / 299.1 MB, free: 26.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.1276, allocations: 11.58 kB / 299.2 MB, free: 26.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.1276, allocations: 38.73 kB / 299.2 MB, free: 26.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.364e-06/0.1276, allocations: 4 kB / 299.2 MB, free: 26.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001307/0.1289, allocations: 1.006 MB / 300.2 MB, free: 25.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.717e-05/0.1289, allocations: 59.67 kB / 300.3 MB, free: 25.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.1293, allocations: 0.5547 MB / 300.8 MB, free: 25.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.1293, allocations: 40.64 kB / 300.9 MB, free: 25.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.1295, allocations: 0.8647 MB / 301.7 MB, free: 24.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/0.1296, allocations: 243 kB / 302 MB, free: 24.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.1297, allocations: 137.8 kB / 302.1 MB, free: 24.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.828e-05/0.1298, allocations: 403.5 kB / 302.5 MB, free: 24.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.1299, allocations: 88.75 kB / 302.6 MB, free: 24.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.13, allocations: 305.6 kB / 302.9 MB, free: 24.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.1304, allocations: 491.7 kB / 303.4 MB, free: 23.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1304, allocations: 6.312 kB / 303.4 MB, free: 23.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005261/0.1309, allocations: 0.4954 MB / 303.9 MB, free: 23.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1309, allocations: 9.75 kB / 303.9 MB, free: 23.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.1309, allocations: 9.328 kB / 303.9 MB, free: 23.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.1311, allocations: 71.91 kB / 303.9 MB, free: 23.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.1314, allocations: 173 kB / 304.1 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007352/0.1321, allocations: 1.67 MB / 305.8 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.1323, allocations: 28.14 kB / 305.8 MB, free: 22.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.1324, allocations: 24.06 kB / 305.8 MB, free: 22.17 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.0001834/0.1326, allocations: 164.6 kB / 306 MB, free: 22.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.1e-05/0.1327, allocations: 69.55 kB / 306.1 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.107e-05/0.1327, allocations: 92.28 kB / 306.2 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.1327, allocations: 8.672 kB / 306.2 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.1327, allocations: 4.031 kB / 306.2 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1327, allocations: 2.953 kB / 306.2 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.1341, allocations: 1.57 MB / 307.7 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1341, allocations: 4 kB / 307.7 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.1343, allocations: 104.6 kB / 307.8 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.1344, allocations: 63.34 kB / 307.9 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.1344, allocations: 23.39 kB / 307.9 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006166/0.135, allocations: 1.66 MB / 309.6 MB, free: 19.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.135, allocations: 7.938 kB / 309.6 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.1355, allocations: 0.6291 MB / 310.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.1356, allocations: 102.8 kB / 310.3 MB, free: 18.71 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.1357, allocations: 15.98 kB / 310.3 MB, free: 18.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.1358, allocations: 26.83 kB / 310.4 MB, free: 18.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.1359, allocations: 48.36 kB / 310.4 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.1359, allocations: 19.98 kB / 310.4 MB, free: 18.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001452/0.136, allocations: 257.4 kB / 310.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.136, allocations: 4.031 kB / 310.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004844/0.1365, allocations: 299.9 kB / 311 MB, free: 18.09 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.0001371/0.1367, allocations: 132.4 kB / 311.1 MB, free: 17.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004329/0.1371, allocations: 0.497 MB / 311.6 MB, free: 17.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/0.1371, allocations: 12.5 kB / 311.6 MB, free: 17.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.1373, allocations: 329.5 kB / 311.9 MB, free: 17.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.1378, allocations: 215.9 kB / 312.2 MB, free: 16.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.1401, allocations: 2.836 MB / 315 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.1404, allocations: 428.7 kB / 315.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002037/0.1406, allocations: 107 kB / 315.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.1409, allocations: 241.2 kB / 315.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1409, allocations: 0 / 315.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of Templates: time 0.01451/0.1554, allocations: 13.12 MB / 328.9 MB, free: 380 kB / 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 -s gbode -gbm=radauIIA3 -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.7298062392510474]