Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 80.31 kB / 22.21 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 167.3 kB / 25.61 MB, free: 8.57 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9213/0.9213, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.[0-9,]+.|resistor_s.i.[0-9,]+.|resistor_m.i.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.[0-9,]+.|resistor_s.i.[0-9,]+.|resistor_m.i.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.626e-05, allocations: 11.19 kB / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006383/0.0064, allocations: 6.34 MB / 280.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.009, allocations: 2.217 MB / 282.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003116/0.009312, allocations: 55.62 kB / 282.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005284/0.00984, allocations: 381.3 kB / 283.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.01098, allocations: 0.866 MB / 284.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.0114, allocations: 367.2 kB / 284.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002065/0.01347, allocations: 3.291 MB / 287.7 MB, free: 6.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008713/0.01434, allocations: 1.082 MB / 288.8 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.01581, allocations: 2.191 MB / 291 MB, free: 3.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.0171, allocations: 1.758 MB / 292.7 MB, free: 1.758 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002583/0.01736, allocations: 292 kB / 293 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004593/0.01782, allocations: 407.8 kB / 293.4 MB, free: 1.074 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004752/0.01829, allocations: 0.8957 MB / 294.3 MB, free: 180 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000698/0.01899, allocations: 1.017 MB / 295.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.02065, allocations: 2.562 MB / 297.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.02065, allocations: 0 / 297.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.02065, allocations: 0 / 297.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.375e-05/0.02068, allocations: 0 / 297.9 MB, free: 12.59 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.003494/0.02417, allocations: 3.442 MB / 301.3 MB, free: 9.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.0242, allocations: 15.98 kB / 301.4 MB, free: 9.074 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/0.02612, allocations: 0.8811 MB / 302.2 MB, free: 8.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.02734, allocations: 1.337 MB / 303.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.988e-05/0.02742, allocations: 173 kB / 303.7 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.02764, allocations: 224.4 kB / 304 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.02943, allocations: 1.892 MB / 305.9 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/0.02947, allocations: 11.88 kB / 305.9 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.02961, allocations: 92 kB / 306 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.644e-05/0.02966, allocations: 66 kB / 306 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008972/0.03055, allocations: 0.6528 MB / 306.7 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006471/0.03703, allocations: 7.106 MB / 313.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.03849, allocations: 1.074 MB / 314.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.03876, allocations: 278.5 kB / 315.1 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001706/0.04047, allocations: 1.859 MB / 317 MB, free: 8.863 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.04051, allocations: 53.72 kB / 317 MB, free: 8.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=92): time 2.265e-06/0.04051, allocations: 0 / 317 MB, free: 8.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.002604/0.04311, allocations: 1.693 MB / 318.7 MB, free: 7.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.04315, allocations: 119.2 kB / 318.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00092/0.04407, allocations: 1.305 MB / 320.2 MB, free: 5.582 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.04412, allocations: 45.7 kB / 320.2 MB, free: 5.531 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005708/0.04469, allocations: 1.257 MB / 321.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.04489, allocations: 400.8 kB / 321.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.04513, allocations: 276.4 kB / 322.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.04528, allocations: 0.5628 MB / 322.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.04547, allocations: 126.5 kB / 322.8 MB, free: 2.895 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.0459, allocations: 0.6896 MB / 323.5 MB, free: 1.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000689/0.04659, allocations: 0.9127 MB / 324.4 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.04659, allocations: 8 kB / 324.4 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001077/0.04767, allocations: 0.9713 MB / 325.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.04769, allocations: 12 kB / 325.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.0477, allocations: 12 kB / 325.4 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/0.04788, allocations: 95.3 kB / 325.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006078/0.04849, allocations: 319.7 kB / 325.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.05003, allocations: 3.725 MB / 329.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.05041, allocations: 71.72 kB / 329.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.938e-05/0.05046, allocations: 52.11 kB / 329.7 MB, free: 11.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002892/0.05075, allocations: 240.1 kB / 329.9 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.05094, allocations: 199 kB / 330.1 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008398/0.05178, allocations: 0.7195 MB / 330.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.05178, allocations: 8 kB / 330.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.05179, allocations: 8 kB / 330.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.05179, allocations: 3.984 kB / 330.8 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.0532, allocations: 1.431 MB / 332.3 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.0532, allocations: 8.031 kB / 332.3 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.05359, allocations: 171.8 kB / 332.4 MB, free: 8.484 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003714/0.05396, allocations: 218.8 kB / 332.6 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.954e-05/0.05401, allocations: 39.97 kB / 332.7 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00276/0.05677, allocations: 6.293 MB / 339 MB, free: 1.582 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.05677, allocations: 3.938 kB / 339 MB, free: 1.578 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.05793, allocations: 1.338 MB / 340.3 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.05806, allocations: 158.9 kB / 340.5 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.05817, allocations: 27.98 kB / 340.5 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.05855, allocations: 59.95 kB / 340.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.05867, allocations: 88.28 kB / 340.6 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.0587, allocations: 19.98 kB / 340.7 MB, free: 15.85 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004689/0.05917, allocations: 0.697 MB / 341.4 MB, free: 15.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05917, allocations: 0 / 341.4 MB, free: 15.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007662/0.05994, allocations: 451.9 kB / 341.8 MB, free: 14.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001925/0.06013, allocations: 159 kB / 342 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008773/0.06101, allocations: 0.9645 MB / 342.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.06101, allocations: 1.75 kB / 342.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000681/0.06169, allocations: 0.9403 MB / 343.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/0.06246, allocations: 267.6 kB / 344.1 MB, free: 12.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/0.06617, allocations: 3.87 MB / 348 MB, free: 8.336 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.06667, allocations: 0.7254 MB / 348.7 MB, free: 7.578 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003886/0.06706, allocations: 195.5 kB / 348.9 MB, free: 7.383 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/0.06758, allocations: 374 kB / 349.3 MB, free: 7.016 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.06758, allocations: 0 / 349.3 MB, free: 7.016 MB / 330.7 MB Notification: Performance of Templates: time 0.1322/0.1998, allocations: 20.97 MB / 370.2 MB, free: 70.71 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.339324640110135]