Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.001142/0.001142, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 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.00121/0.00121, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 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 1.39/1.39, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] 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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 47.92 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2522, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01199/0.2642, allocations: 10.07 MB / 430.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007778/0.272, allocations: 3.353 MB / 434.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/0.2739, allocations: 71.81 kB / 434.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009676/0.2836, allocations: 3.863 MB / 438.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005568/0.2891, allocations: 1.532 MB / 439.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003098/0.2922, allocations: 1.047 MB / 440.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01258/0.3048, allocations: 9.153 MB / 450 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02377/0.3286, allocations: 12.2 MB / 462.2 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008251/0.3368, allocations: 5.078 MB / 467.2 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01186/0.3487, allocations: 6.138 MB / 473.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004571/0.3533, allocations: 1.398 MB / 474.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005729/0.359, allocations: 1.632 MB / 476.4 MB, free: 7.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005639/0.3646, allocations: 2.927 MB / 479.3 MB, free: 4.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.013/0.3777, allocations: 5.455 MB / 484.8 MB, free: 14.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02427/0.4019, allocations: 18.89 MB / 0.4919 GB, free: 11.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.4019, allocations: 4 kB / 0.4919 GB, free: 11.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.4019, allocations: 0 / 0.4919 GB, free: 11.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005142/0.4024, allocations: 4 kB / 0.4919 GB, free: 11.98 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03794/0.4404, allocations: 12.46 MB / 0.504 GB, free: 15.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.4404, allocations: 12.03 kB / 0.5041 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04896/0.4894, allocations: 8.542 MB / 0.5124 GB, free: 6.863 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01377/0.5032, allocations: 5.9 MB / 0.5182 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007423/0.5039, allocations: 0.6584 MB / 0.5188 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003858/0.5078, allocations: 0.8671 MB / 0.5197 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4396/0.9474, allocations: 15.98 MB / 0.5353 GB, free: 89.11 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000358/0.9477, allocations: 5.969 kB / 0.5353 GB, free: 89.11 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002399/0.9501, allocations: 370.5 kB / 0.5356 GB, free: 89.11 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007709/0.9509, allocations: 0.5614 MB / 0.5362 GB, free: 89.09 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02817/0.9791, allocations: 15.72 MB / 0.5515 GB, free: 84.19 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07223/1.051, allocations: 47.84 MB / 0.5982 GB, free: 41.83 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01668/1.068, allocations: 18.86 MB / 0.6166 GB, free: 20.88 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004969/1.073, allocations: 3.238 MB / 0.6198 GB, free: 17.64 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005909/1.074, allocations: 180 kB / 0.62 GB, free: 17.47 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.203e-05/1.074, allocations: 86.56 kB / 0.6201 GB, free: 17.38 MB / 446.2 MB Notification: Performance of pre-optimization done (n=468): time 9.087e-06/1.074, allocations: 3.938 kB / 0.6201 GB, free: 17.37 MB / 446.2 MB Notification: Performance of matching and sorting (n=468): time 0.02393/1.098, allocations: 11.52 MB / 0.6313 GB, free: 5.727 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/1.098, allocations: 129.1 kB / 0.6314 GB, free: 5.582 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007062/1.105, allocations: 3.849 MB / 0.6352 GB, free: 1.789 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 0.001028/1.106, allocations: 101.7 kB / 0.6353 GB, free: 1.684 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.002899/1.109, allocations: 4.045 MB / 0.6392 GB, free: 14.08 MB / 462.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.002571/1.111, allocations: 1.691 MB / 0.6409 GB, free: 12.38 MB / 462.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004934/1.116, allocations: 1.469 MB / 0.6423 GB, free: 10.9 MB / 462.2 MB Notification: Performance of setup shared object (initialization): time 0.0001282/1.116, allocations: 305.1 kB / 0.6426 GB, free: 10.6 MB / 462.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006906/1.123, allocations: 3.688 MB / 0.6462 GB, free: 6.91 MB / 462.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009863/1.133, allocations: 6.525 MB / 0.6526 GB, free: 15.09 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01697/1.15, allocations: 10.82 MB / 0.6632 GB, free: 2.922 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/1.15, allocations: 27.75 kB / 0.6632 GB, free: 2.898 MB / 478.2 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02694/1.177, allocations: 11.93 MB / 0.6748 GB, free: 6.898 MB / 494.2 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001481/1.177, allocations: 51.94 kB / 0.6749 GB, free: 6.848 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/1.177, allocations: 92 kB / 0.675 GB, free: 6.758 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005442/1.183, allocations: 1.621 MB / 0.6766 GB, free: 5.117 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007174/1.19, allocations: 1.669 MB / 0.6782 GB, free: 3.445 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0237/1.214, allocations: 17.66 MB / 0.6954 GB, free: 0.9375 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006818/1.221, allocations: 0.982 MB / 0.6964 GB, free: 15.95 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001866/1.222, allocations: 359.9 kB / 0.6967 GB, free: 15.6 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009104/1.231, allocations: 3.747 MB / 0.7004 GB, free: 11.84 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/1.233, allocations: 413.3 kB / 0.7008 GB, free: 11.43 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01928/1.252, allocations: 8.533 MB / 0.7091 GB, free: 2.812 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.23e-05/1.252, allocations: 55.94 kB / 0.7092 GB, free: 2.758 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.903e-05/1.252, allocations: 12.12 kB / 0.7092 GB, free: 2.746 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001247/1.253, allocations: 23.91 kB / 0.7092 GB, free: 2.723 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03961/1.292, allocations: 16.74 MB / 0.7256 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.05e-05/1.292, allocations: 7.984 kB / 0.7256 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004226/1.296, allocations: 0.862 MB / 0.7264 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005155/1.302, allocations: 1.515 MB / 0.7279 GB, free: 15.39 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001008/1.303, allocations: 108 kB / 0.728 GB, free: 15.29 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2404/1.543, allocations: 17.46 MB / 0.745 GB, free: 180.5 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.543, allocations: 11.5 kB / 0.7451 GB, free: 180.5 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01579/1.559, allocations: 12.21 MB / 0.757 GB, free: 177.6 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/1.561, allocations: 1.122 MB / 0.7581 GB, free: 177.1 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005658/1.561, allocations: 87.81 kB / 0.7582 GB, free: 177.1 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002217/1.563, allocations: 303.9 kB / 0.7584 GB, free: 177 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007959/1.564, allocations: 319.9 kB / 0.7587 GB, free: 177 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003131/1.565, allocations: 137.8 kB / 0.7589 GB, free: 176.9 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.003021/1.568, allocations: 2.574 MB / 0.7614 GB, free: 176 MB / 0.5451 GB Notification: Performance of sort global known variables: time 1.3e-07/1.568, allocations: 0 / 0.7614 GB, free: 176 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.007091/1.575, allocations: 2.405 MB / 0.7637 GB, free: 175.6 MB / 0.5451 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/1.576, allocations: 263.1 kB / 0.764 GB, free: 175.4 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01218/1.588, allocations: 8.999 MB / 0.7728 GB, free: 171.9 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.588, allocations: 2 kB / 0.7728 GB, free: 171.9 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.005856/1.594, allocations: 4.175 MB / 0.7769 GB, free: 169.9 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003468/1.598, allocations: 0.7334 MB / 0.7776 GB, free: 169.7 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02475/1.622, allocations: 17.2 MB / 0.7944 GB, free: 154.3 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007129/1.629, allocations: 6.037 MB / 0.8003 GB, free: 149.6 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.007354/1.637, allocations: 3.259 MB / 0.8034 GB, free: 147.2 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/1.639, allocations: 371.4 kB / 0.8038 GB, free: 146.8 MB / 0.5451 GB Notification: Performance of SimCode: time 1.152e-06/1.639, allocations: 0 / 0.8038 GB, free: 146.8 MB / 0.5451 GB Notification: Performance of Templates: time 0.09501/1.734, allocations: 68.64 MB / 0.8708 GB, free: 78.48 MB / 0.5451 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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: 7.920606229454279]