Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001322/0.001322, allocations: 85.17 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.001454/0.001454, allocations: 148.8 kB / 24.89 MB, free: 8.73 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.9089/0.9089, allocations: 173.3 MB / 201.5 MB, free: 9.184 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.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|inductor_e.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|inductor_e.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 268.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.402e-05, allocations: 2.312 kB / 268.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.004021/0.004035, allocations: 4.527 MB / 273 MB, free: 1.637 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.005814, allocations: 1.697 MB / 274.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.006019, allocations: 35.75 kB / 274.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.006424, allocations: 278.2 kB / 275 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009575/0.007382, allocations: 0.7263 MB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.007655, allocations: 223.4 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.008897, allocations: 1.956 MB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005293/0.009426, allocations: 0.6878 MB / 278.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008834/0.01031, allocations: 1.287 MB / 279.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007694/0.01108, allocations: 1.048 MB / 280.9 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.01123, allocations: 184 kB / 281.1 MB, free: 9.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.01154, allocations: 303.7 kB / 281.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003046/0.01184, allocations: 0.5609 MB / 282 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004207/0.01227, allocations: 0.6197 MB / 282.6 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.0133, allocations: 1.6 MB / 284.2 MB, free: 6.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.0133, allocations: 0 / 284.2 MB, free: 6.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.0133, allocations: 0 / 284.2 MB, free: 6.367 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.01331, allocations: 4 kB / 284.2 MB, free: 6.363 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.001977/0.01529, allocations: 1.956 MB / 286.1 MB, free: 4.375 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.01532, allocations: 12.91 kB / 286.1 MB, free: 4.363 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008406/0.01616, allocations: 424.3 kB / 286.6 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007423/0.0169, allocations: 0.6298 MB / 287.2 MB, free: 3.289 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.01695, allocations: 99.05 kB / 287.3 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.01708, allocations: 136.4 kB / 287.4 MB, free: 3.059 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.01809, allocations: 1.159 MB / 288.6 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.01811, allocations: 3.938 kB / 288.6 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.061e-05/0.01819, allocations: 56 kB / 288.6 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.01823, allocations: 49.98 kB / 288.7 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004792/0.01871, allocations: 327 kB / 289 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09791/0.1166, allocations: 3.481 MB / 292.5 MB, free: 23.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/0.1176, allocations: 0.5908 MB / 293.1 MB, free: 23.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.1178, allocations: 153.7 kB / 293.2 MB, free: 23.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/0.119, allocations: 0.87 MB / 294.1 MB, free: 23.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.119, allocations: 45.52 kB / 294.1 MB, free: 23.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 1.984e-06/0.119, allocations: 1.281 kB / 294.1 MB, free: 23.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001157/0.1201, allocations: 0.5642 MB / 294.7 MB, free: 23.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.1202, allocations: 92.88 kB / 294.8 MB, free: 23.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.1207, allocations: 0.6386 MB / 295.4 MB, free: 22.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.1207, allocations: 35.61 kB / 295.5 MB, free: 22.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.1209, allocations: 0.5809 MB / 296.1 MB, free: 22.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.004e-05/0.121, allocations: 196.1 kB / 296.2 MB, free: 22.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.1211, allocations: 119.6 kB / 296.4 MB, free: 22.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.061e-05/0.1212, allocations: 333.8 kB / 296.7 MB, free: 22.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.916e-05/0.1213, allocations: 56.42 kB / 296.7 MB, free: 22.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.1214, allocations: 233.3 kB / 297 MB, free: 21.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.1217, allocations: 358.8 kB / 297.3 MB, free: 21.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1217, allocations: 1.438 kB / 297.3 MB, free: 21.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004966/0.1222, allocations: 377.8 kB / 297.7 MB, free: 21.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1223, allocations: 10.38 kB / 297.7 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.1223, allocations: 4.25 kB / 297.7 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.1223, allocations: 14.22 kB / 297.7 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.1227, allocations: 168.3 kB / 297.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.1227, allocations: 9.453 kB / 297.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.1229, allocations: 66.12 kB / 298 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.123, allocations: 18.75 kB / 298 MB, free: 21.73 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.1231, allocations: 156.3 kB / 298.1 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.1232, allocations: 73.03 kB / 298.2 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.1237, allocations: 341.1 kB / 298.5 MB, free: 21.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1237, allocations: 5.688 kB / 298.5 MB, free: 21.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1237, allocations: 3.953 kB / 298.5 MB, free: 21.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1237, allocations: 6.375 kB / 298.5 MB, free: 21.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008865/0.1246, allocations: 0.7826 MB / 299.3 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1246, allocations: 5.312 kB / 299.3 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.1248, allocations: 83.22 kB / 299.4 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000281/0.1251, allocations: 128 kB / 299.5 MB, free: 21.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.1251, allocations: 16.3 kB / 299.6 MB, free: 21.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.1263, allocations: 2.033 MB / 301.6 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1263, allocations: 1.125 kB / 301.6 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006129/0.1269, allocations: 0.627 MB / 302.2 MB, free: 19.6 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-05/0.127, allocations: 91.19 kB / 302.3 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.1271, allocations: 15.45 kB / 302.3 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.1273, allocations: 40.75 kB / 302.4 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.1274, allocations: 51.45 kB / 302.4 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.1274, allocations: 14.12 kB / 302.4 MB, free: 19.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002618/0.1277, allocations: 316.7 kB / 302.7 MB, free: 19.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1277, allocations: 0 / 302.7 MB, free: 19.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006138/0.1283, allocations: 369.4 kB / 303.1 MB, free: 19.47 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001727/0.1285, allocations: 124.9 kB / 303.2 MB, free: 19.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003174/0.1288, allocations: 264 kB / 303.5 MB, free: 19.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/0.1288, allocations: 9.625 kB / 303.5 MB, free: 19.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.1291, allocations: 352.5 kB / 303.8 MB, free: 19.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.1296, allocations: 168 kB / 304 MB, free: 19.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.1316, allocations: 2.199 MB / 306.2 MB, free: 18.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.1319, allocations: 356.7 kB / 306.5 MB, free: 18.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002137/0.1321, allocations: 111.1 kB / 306.6 MB, free: 18.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.1324, allocations: 217.2 kB / 306.9 MB, free: 18.07 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1324, allocations: 0 / 306.9 MB, free: 18.07 MB / 266.7 MB Notification: Performance of Templates: time 0.01347/0.1458, allocations: 11.99 MB / 318.8 MB, free: 8.727 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.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.7989838016219437]