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.001574/0.001574, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001552/0.001552, allocations: 165.7 kB / 24.27 MB, free: 168 kB / 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 1.469/1.469, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",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.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.145e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.009261/0.009292, allocations: 5.899 MB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005017/0.01431, allocations: 2.184 MB / 280.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.01539, allocations: 55.69 kB / 280.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.01694, allocations: 373.4 kB / 280.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.02006, allocations: 0.8698 MB / 281.7 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.02125, allocations: 355.2 kB / 282 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005254/0.0265, allocations: 3.288 MB / 285.3 MB, free: 4.746 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.02868, allocations: 1.078 MB / 286.4 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003844/0.03252, allocations: 1.879 MB / 288.3 MB, free: 1.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003102/0.03562, allocations: 1.524 MB / 289.8 MB, free: 208 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1119/0.1475, allocations: 291.8 kB / 290.1 MB, free: 17.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.1489, allocations: 412.7 kB / 290.5 MB, free: 17.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007641/0.1497, allocations: 0.8866 MB / 291.4 MB, free: 17.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.1513, allocations: 1.008 MB / 292.4 MB, free: 17.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004898/0.1562, allocations: 4.172 MB / 296.6 MB, free: 17.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1562, allocations: 0 / 296.6 MB, free: 17.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1562, allocations: 1.75 kB / 296.6 MB, free: 17.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001189/0.1563, allocations: 1.625 kB / 296.6 MB, free: 17.36 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.008982/0.1653, allocations: 3.451 MB / 300 MB, free: 16.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1654, allocations: 10.28 kB / 300 MB, free: 16.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004585/0.1699, allocations: 1.052 MB / 301.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003657/0.1736, allocations: 1.735 MB / 302.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.1737, allocations: 177.5 kB / 303 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005566/0.1743, allocations: 229.4 kB / 303.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005226/0.1795, allocations: 3.437 MB / 306.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.369e-05/0.1796, allocations: 0 / 306.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/0.1798, allocations: 94.56 kB / 306.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.575e-05/0.1799, allocations: 73.09 kB / 306.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004265/0.1841, allocations: 2.863 MB / 309.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01343/0.1976, allocations: 8.167 MB / 317.8 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003391/0.201, allocations: 1.838 MB / 319.7 MB, free: 1.945 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009573/0.2019, allocations: 0.7602 MB / 320.4 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004072/0.206, allocations: 2.058 MB / 322.5 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.448e-05/0.206, allocations: 42.89 kB / 322.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of pre-optimization done (n=92): time 3.536e-06/0.206, allocations: 0 / 322.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.009981/0.216, allocations: 4.171 MB / 326.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.558e-05/0.2161, allocations: 115.3 kB / 326.8 MB, free: 10.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00289/0.219, allocations: 1.588 MB / 328.4 MB, free: 9.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.2192, allocations: 49.7 kB / 328.5 MB, free: 9.094 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.2202, allocations: 1.139 MB / 329.6 MB, free: 7.949 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004191/0.2207, allocations: 369.5 kB / 330 MB, free: 7.594 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004407/0.2211, allocations: 242.8 kB / 330.2 MB, free: 7.352 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002358/0.2213, allocations: 361.9 kB / 330.6 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.2226, allocations: 0.6388 MB / 331.2 MB, free: 6.355 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.2242, allocations: 1.014 MB / 332.2 MB, free: 5.188 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002903/0.2271, allocations: 1.691 MB / 333.9 MB, free: 3.387 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.2271, allocations: 7.562 kB / 333.9 MB, free: 3.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004376/0.2315, allocations: 2.01 MB / 335.9 MB, free: 1.445 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.2315, allocations: 8 kB / 335.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/0.2315, allocations: 12 kB / 335.9 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004859/0.232, allocations: 130.1 kB / 336.1 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.2334, allocations: 337.5 kB / 336.4 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003685/0.2371, allocations: 3.172 MB / 339.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.2384, allocations: 103.8 kB / 339.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/0.2386, allocations: 55.98 kB / 339.7 MB, free: 13.48 MB / 298.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.001901/0.2405, allocations: 0.8352 MB / 340.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007468/0.2413, allocations: 183 kB / 340.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003566/0.2448, allocations: 1.39 MB / 342.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.2448, allocations: 12 kB / 342.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.2449, allocations: 4 kB / 342.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.2449, allocations: 3.984 kB / 342.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005093/0.25, allocations: 1.969 MB / 344.1 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.25, allocations: 2.844 kB / 344.1 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009992/0.251, allocations: 193.4 kB / 344.3 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.2521, allocations: 302.2 kB / 344.6 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/0.2522, allocations: 35.97 kB / 344.6 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007727/0.2599, allocations: 5.845 MB / 350.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.26, allocations: 0 / 350.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00544/0.2654, allocations: 2.575 MB / 353.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006833/0.2661, allocations: 182.9 kB / 353.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004783/0.2666, allocations: 39.92 kB / 353.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.2678, allocations: 87.89 kB / 353.4 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/0.2681, allocations: 99.97 kB / 353.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.2682, allocations: 31.98 kB / 353.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002328/0.2705, allocations: 1.099 MB / 354.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2705, allocations: 0 / 354.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00222/0.2727, allocations: 451.9 kB / 355 MB, free: 13.86 MB / 314.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.0004263/0.2732, allocations: 164.3 kB / 355.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003939/0.2771, allocations: 1.66 MB / 356.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/0.2771, allocations: 4.125 kB / 356.8 MB, free: 12.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002378/0.2795, allocations: 1.15 MB / 358 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/0.2819, allocations: 275 kB / 358.3 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.2926, allocations: 4.614 MB / 362.9 MB, free: 5.949 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003115/0.2957, allocations: 1.544 MB / 364.4 MB, free: 4.355 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001669/0.2974, allocations: 447.2 kB / 364.9 MB, free: 3.914 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/0.2979, allocations: 100.5 kB / 365 MB, free: 3.816 MB / 314.7 MB Notification: Performance of SimCode: time 1.743e-06/0.2979, allocations: 0 / 365 MB, free: 3.816 MB / 314.7 MB Notification: Performance of Templates: time 0.04169/0.3396, allocations: 19.35 MB / 384.3 MB, free: 0.832 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.260630230070092]