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.000946/0.000946, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0009449/0.0009449, allocations: 145.1 kB / 24.54 MB, free: 32 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 0.8773/0.8773, allocations: 173.4 MB / 201.2 MB, free: 9.34 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.313e-06/1.313e-06, allocations: 0 / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.33e-05, allocations: 2.312 kB / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.003747/0.00376, allocations: 4.62 MB / 272.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.005711, allocations: 1.658 MB / 274.3 MB, free: 136 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.005953, allocations: 35.75 kB / 274.3 MB, free: 100 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.006406, allocations: 262.2 kB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.007704, allocations: 0.7147 MB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.008018, allocations: 227.5 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.009402, allocations: 1.945 MB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005961/0.009998, allocations: 0.6682 MB / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009787/0.01098, allocations: 1.279 MB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008474/0.01182, allocations: 1.052 MB / 280.4 MB, free: 9.902 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.01202, allocations: 184 kB / 280.6 MB, free: 9.723 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.01238, allocations: 295.8 kB / 280.9 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003006/0.01268, allocations: 0.5648 MB / 281.5 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007112/0.01339, allocations: 0.6235 MB / 282.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.01456, allocations: 1.597 MB / 283.7 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.01456, allocations: 0 / 283.7 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01456, allocations: 0 / 283.7 MB, free: 6.641 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.942e-05/0.01459, allocations: 0 / 283.7 MB, free: 6.641 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.002543/0.01713, allocations: 2.261 MB / 286 MB, free: 4.336 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.01717, allocations: 12.92 kB / 286 MB, free: 4.324 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009668/0.01813, allocations: 479.4 kB / 286.4 MB, free: 3.855 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009035/0.01904, allocations: 0.8967 MB / 287.3 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.239e-05/0.01909, allocations: 107 kB / 287.4 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.01922, allocations: 132.4 kB / 287.6 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.02065, allocations: 1.212 MB / 288.8 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.02068, allocations: 3.938 kB / 288.8 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.097e-05/0.02076, allocations: 52 kB / 288.8 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.477e-05/0.0208, allocations: 49.94 kB / 288.9 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.02191, allocations: 0.4956 MB / 289.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1035/0.1254, allocations: 4.371 MB / 293.8 MB, free: 23.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.1269, allocations: 0.7714 MB / 294.5 MB, free: 23.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/0.1272, allocations: 206.1 kB / 294.7 MB, free: 23.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/0.1287, allocations: 1.184 MB / 295.9 MB, free: 22.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.1287, allocations: 42.88 kB / 296 MB, free: 22.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 2.565e-06/0.1287, allocations: 0 / 296 MB, free: 22.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001817/0.1305, allocations: 0.7211 MB / 296.7 MB, free: 22.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.1306, allocations: 83.67 kB / 296.8 MB, free: 22.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009512/0.1315, allocations: 0.8534 MB / 297.6 MB, free: 22.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.1316, allocations: 35.39 kB / 297.6 MB, free: 22.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004007/0.132, allocations: 0.7754 MB / 298.4 MB, free: 21.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.1321, allocations: 203.9 kB / 298.6 MB, free: 21.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.1323, allocations: 137.3 kB / 298.8 MB, free: 21.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.1323, allocations: 0.5174 MB / 299.3 MB, free: 21.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.1325, allocations: 83.23 kB / 299.3 MB, free: 21.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.1329, allocations: 329.2 kB / 299.7 MB, free: 20.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005059/0.1334, allocations: 470.6 kB / 300.1 MB, free: 20.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1334, allocations: 2.188 kB / 300.1 MB, free: 20.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007832/0.1341, allocations: 0.5241 MB / 300.7 MB, free: 20.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.1342, allocations: 6.594 kB / 300.7 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1342, allocations: 5.844 kB / 300.7 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.1342, allocations: 9.109 kB / 300.7 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/0.1347, allocations: 180.3 kB / 300.9 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.1347, allocations: 13.44 kB / 300.9 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.1351, allocations: 85.86 kB / 301 MB, free: 20.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.1351, allocations: 26.5 kB / 301 MB, free: 20.3 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.0002005/0.1353, allocations: 200.9 kB / 301.2 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.1354, allocations: 104.4 kB / 301.3 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006682/0.1361, allocations: 411 kB / 301.7 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.1361, allocations: 6.344 kB / 301.7 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.1361, allocations: 5.125 kB / 301.7 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1361, allocations: 7.047 kB / 301.7 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.1378, allocations: 1.287 MB / 303 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1378, allocations: 1.062 kB / 303 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.1381, allocations: 89.09 kB / 303.1 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004589/0.1386, allocations: 148.3 kB / 303.2 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.998e-05/0.1386, allocations: 17.36 kB / 303.2 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.1403, allocations: 2.667 MB / 305.9 MB, free: 16.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1403, allocations: 1.375 kB / 305.9 MB, free: 16.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009245/0.1412, allocations: 0.8574 MB / 306.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.1413, allocations: 113.4 kB / 306.9 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-05/0.1414, allocations: 15.19 kB / 306.9 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/0.1418, allocations: 59.08 kB / 306.9 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.1419, allocations: 55.03 kB / 307 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.1419, allocations: 19.92 kB / 307 MB, free: 16.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005428/0.1425, allocations: 0.5073 MB / 307.5 MB, free: 16.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1425, allocations: 0 / 307.5 MB, free: 16.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008305/0.1433, allocations: 369 kB / 307.9 MB, free: 15.96 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.0002112/0.1435, allocations: 146.4 kB / 308 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005678/0.1441, allocations: 330 kB / 308.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1441, allocations: 384 / 308.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.1447, allocations: 446.3 kB / 308.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007443/0.1454, allocations: 164 kB / 308.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.1481, allocations: 2.351 MB / 311.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.1485, allocations: 437.6 kB / 311.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003952/0.1489, allocations: 179.3 kB / 311.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.149, allocations: 61.83 kB / 312 MB, free: 14.01 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.149, allocations: 0 / 312 MB, free: 14.01 MB / 266.7 MB Notification: Performance of Templates: time 0.01679/0.1658, allocations: 12.02 MB / 324 MB, free: 2.805 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.8145569302141666]