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.001333/0.001333, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.001347/0.001347, allocations: 151.3 kB / 24.81 MB, free: 9.281 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.9067/0.9067, allocations: 173.3 MB / 201.4 MB, free: 9.234 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.253e-06/1.253e-06, allocations: 0 / 268.4 MB, free: 6.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.432e-05, allocations: 6.25 kB / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.003764/0.003779, allocations: 4.515 MB / 272.9 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.005786, allocations: 1.65 MB / 274.6 MB, free: 24 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.00605, allocations: 35.8 kB / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.00649, allocations: 262.2 kB / 274.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.007552, allocations: 0.7108 MB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.007854, allocations: 219.4 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.009187, allocations: 1.956 MB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005865/0.009773, allocations: 0.6643 MB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009466/0.01072, allocations: 1.283 MB / 279.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008264/0.01155, allocations: 1.052 MB / 280.7 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.01172, allocations: 184 kB / 280.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003847/0.0121, allocations: 299.7 kB / 281.2 MB, free: 9.324 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003192/0.01242, allocations: 0.5648 MB / 281.8 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004114/0.01284, allocations: 0.6235 MB / 282.4 MB, free: 8.133 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.01395, allocations: 1.597 MB / 284 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.01395, allocations: 4 kB / 284 MB, free: 6.527 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.01396, allocations: 0 / 284 MB, free: 6.527 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.01397, allocations: 0 / 284 MB, free: 6.527 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.00215/0.01612, allocations: 2.183 MB / 286.2 MB, free: 4.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.01615, allocations: 8.922 kB / 286.2 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008606/0.01701, allocations: 463.4 kB / 286.6 MB, free: 3.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007595/0.01777, allocations: 0.8264 MB / 287.5 MB, free: 2.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/0.01782, allocations: 103 kB / 287.6 MB, free: 2.879 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.01795, allocations: 140.3 kB / 287.7 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.01902, allocations: 1.126 MB / 288.8 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.01905, allocations: 3.938 kB / 288.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.888e-05/0.01913, allocations: 56 kB / 288.9 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-05/0.01916, allocations: 46 kB / 288.9 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005196/0.01968, allocations: 382.8 kB / 289.3 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1066/0.1263, allocations: 4.282 MB / 293.6 MB, free: 23.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009677/0.1273, allocations: 0.6602 MB / 294.3 MB, free: 23.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.1274, allocations: 176.5 kB / 294.4 MB, free: 23.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/0.1285, allocations: 1.147 MB / 295.6 MB, free: 22.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1285, allocations: 45.92 kB / 295.6 MB, free: 22.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 1.773e-06/0.1286, allocations: 3.844 kB / 295.6 MB, free: 22.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001207/0.1298, allocations: 0.6626 MB / 296.3 MB, free: 22.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.1298, allocations: 85.64 kB / 296.4 MB, free: 22.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006379/0.1304, allocations: 0.8265 MB / 297.2 MB, free: 22.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.1304, allocations: 35.33 kB / 297.2 MB, free: 22.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/0.1308, allocations: 0.7854 MB / 298 MB, free: 22.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.209e-05/0.1308, allocations: 201.8 kB / 298.2 MB, free: 21.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.131, allocations: 143.9 kB / 298.3 MB, free: 21.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.73e-05/0.1311, allocations: 0.5135 MB / 298.9 MB, free: 21.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.1312, allocations: 69.05 kB / 298.9 MB, free: 21.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.1313, allocations: 311.3 kB / 299.2 MB, free: 21.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.1317, allocations: 433.8 kB / 299.7 MB, free: 20.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1317, allocations: 2.344 kB / 299.7 MB, free: 20.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0005302/0.1322, allocations: 488.5 kB / 300.1 MB, free: 20.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1322, allocations: 17.88 kB / 300.2 MB, free: 20.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1322, allocations: 5.125 kB / 300.2 MB, free: 20.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1322, allocations: 8.469 kB / 300.2 MB, free: 20.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.1326, allocations: 166.8 kB / 300.3 MB, free: 20.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.1326, allocations: 17.44 kB / 300.3 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.1328, allocations: 69.66 kB / 300.4 MB, free: 20.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.1329, allocations: 20.88 kB / 300.4 MB, free: 20.81 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.0001766/0.133, allocations: 200 kB / 300.6 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.1331, allocations: 109.1 kB / 300.7 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000497/0.1336, allocations: 377.2 kB / 301.1 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.1337, allocations: 10 kB / 301.1 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1337, allocations: 7.188 kB / 301.1 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.1337, allocations: 2.484 kB / 301.1 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.1347, allocations: 0.995 MB / 302.1 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1347, allocations: 2.969 kB / 302.1 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.1349, allocations: 83.75 kB / 302.2 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002856/0.1352, allocations: 138.2 kB / 302.3 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.1352, allocations: 21.75 kB / 302.4 MB, free: 19.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.1365, allocations: 2.605 MB / 305 MB, free: 17.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1365, allocations: 5.688 kB / 305 MB, free: 17.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006393/0.1371, allocations: 0.7991 MB / 305.8 MB, free: 17.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.1372, allocations: 104.4 kB / 305.9 MB, free: 17.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/0.1373, allocations: 21.77 kB / 305.9 MB, free: 17.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.1375, allocations: 36.31 kB / 305.9 MB, free: 17.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/0.1376, allocations: 52 kB / 306 MB, free: 17.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.1376, allocations: 12.19 kB / 306 MB, free: 17.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003367/0.1379, allocations: 477.4 kB / 306.5 MB, free: 17.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1379, allocations: 0 / 306.5 MB, free: 17.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006759/0.1386, allocations: 365.5 kB / 306.8 MB, free: 16.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.000171/0.1388, allocations: 139 kB / 307 MB, free: 16.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.1391, allocations: 303.8 kB / 307.2 MB, free: 16.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1391, allocations: 5.078 kB / 307.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003865/0.1395, allocations: 429.4 kB / 307.7 MB, free: 16.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.1401, allocations: 162 kB / 307.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.1423, allocations: 2.32 MB / 310.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.1425, allocations: 438.8 kB / 310.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002273/0.1427, allocations: 105.2 kB / 310.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.143, allocations: 252.3 kB / 310.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.143, allocations: 4 kB / 310.9 MB, free: 15 MB / 266.7 MB Notification: Performance of Templates: time 0.01351/0.1565, allocations: 12.17 MB / 323.1 MB, free: 4.355 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.8631149539723992]