Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008737/0.0008737, allocations: 81.91 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008842/0.0008842, allocations: 160 kB / 24.82 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.019/1.019, allocations: 177 MB / 205.1 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 273.3 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.017e-05, allocations: 2.312 kB / 273.3 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007384/0.007404, allocations: 9.403 MB / 282.7 MB, free: 7.727 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005691/0.0131, allocations: 3.322 MB / 286.1 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.01471, allocations: 83.56 kB / 286.1 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004266/0.01897, allocations: 3.982 MB / 290.1 MB, free: 320 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1179/0.1369, allocations: 1.529 MB / 291.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.1384, allocations: 1.025 MB / 292.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007172/0.1456, allocations: 9.645 MB / 302.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01418/0.1597, allocations: 12.85 MB / 315.2 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008281/0.168, allocations: 7.562 MB / 322.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006749/0.1748, allocations: 6.272 MB / 329 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001855/0.1766, allocations: 1.398 MB / 330.4 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.179, allocations: 1.645 MB / 332.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002077/0.1811, allocations: 3.018 MB / 335.1 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003862/0.1849, allocations: 3.726 MB / 338.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.1966, allocations: 9.709 MB / 348.5 MB, free: 4.484 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1966, allocations: 0.875 kB / 348.5 MB, free: 4.484 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1966, allocations: 0 / 348.5 MB, free: 4.484 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001381/0.1967, allocations: 0 / 348.5 MB, free: 4.484 MB / 298.7 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.0189/0.2156, allocations: 12.15 MB / 360.7 MB, free: 8.797 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2157, allocations: 11.98 kB / 360.7 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02196/0.2377, allocations: 7.313 MB / 368 MB, free: 1.582 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007489/0.2451, allocations: 4.962 MB / 372.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/0.2455, allocations: 0.6686 MB / 373.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009921/0.2465, allocations: 0.8654 MB / 374.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/0.2571, allocations: 7.85 MB / 382.3 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001396/0.2572, allocations: 10.95 kB / 382.3 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006218/0.2579, allocations: 369.2 kB / 382.7 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003884/0.2582, allocations: 0.5582 MB / 383.3 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006584/0.2648, allocations: 3.976 MB / 387.2 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05325/0.3181, allocations: 36.43 MB / 423.7 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008386/0.3265, allocations: 5.285 MB / 429 MB, free: 5.477 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/0.3283, allocations: 1.166 MB / 430.1 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003546/0.3287, allocations: 179.8 kB / 430.3 MB, free: 4.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.849e-05/0.3288, allocations: 89.39 kB / 430.4 MB, free: 4.027 MB / 378.7 MB Notification: Performance of pre-optimization done (n=468): time 9.047e-06/0.3288, allocations: 0 / 430.4 MB, free: 4.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=468): time 0.2976/0.6263, allocations: 5.45 MB / 435.8 MB, free: 93.15 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.6264, allocations: 125.9 kB / 436 MB, free: 93.05 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005018/0.6314, allocations: 3.759 MB / 439.7 MB, free: 92.74 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009418/0.6324, allocations: 103.1 kB / 439.8 MB, free: 92.71 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002704/0.6351, allocations: 4.367 MB / 444.2 MB, free: 91.17 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001832/0.6369, allocations: 1.749 MB / 445.9 MB, free: 90.29 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002056/0.6389, allocations: 1.709 MB / 447.6 MB, free: 90.16 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.639, allocations: 482.7 kB / 448.1 MB, free: 89.7 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.6404, allocations: 0.8663 MB / 449 MB, free: 89.68 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002678/0.6431, allocations: 5.2 MB / 454.2 MB, free: 84.62 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004527/0.6477, allocations: 6.787 MB / 461 MB, free: 79.47 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.078e-05/0.6477, allocations: 27.28 kB / 461 MB, free: 79.47 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.007746/0.6555, allocations: 6.307 MB / 467.3 MB, free: 78.89 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.601e-05/0.6555, allocations: 42.81 kB / 467.3 MB, free: 78.89 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.101e-05/0.6556, allocations: 91.78 kB / 467.4 MB, free: 78.89 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002711/0.6583, allocations: 1.454 MB / 468.9 MB, free: 78.78 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/0.6612, allocations: 1.518 MB / 470.4 MB, free: 78.78 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007535/0.6687, allocations: 15.28 MB / 485.7 MB, free: 66.99 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004234/0.6729, allocations: 0.7839 MB / 486.5 MB, free: 66.54 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007563/0.6737, allocations: 312.9 kB / 486.8 MB, free: 66.54 MB / 378.8 MB 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.002366/0.6761, allocations: 0.6294 MB / 487.4 MB, free: 66.32 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006621/0.6767, allocations: 0.5439 MB / 487.9 MB, free: 66.11 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005177/0.6819, allocations: 4.408 MB / 492.4 MB, free: 65.11 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/0.6819, allocations: 47.94 kB / 492.4 MB, free: 65.11 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/0.6819, allocations: 17.75 kB / 492.4 MB, free: 65.1 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.451e-05/0.682, allocations: 22.36 kB / 492.4 MB, free: 65.1 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/0.6951, allocations: 11.31 MB / 0.4919 GB, free: 56.55 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.6951, allocations: 4 kB / 0.4919 GB, free: 56.55 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.6966, allocations: 0.7254 MB / 0.4927 GB, free: 55.92 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002749/0.6994, allocations: 1.335 MB / 0.494 GB, free: 54.57 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002361/0.6996, allocations: 112.9 kB / 0.4941 GB, free: 54.46 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006908/0.7065, allocations: 15.08 MB / 0.5088 GB, free: 38.84 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7065, allocations: 4 kB / 0.5088 GB, free: 38.83 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008843/0.7154, allocations: 5.168 MB / 0.5138 GB, free: 33.52 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002231/0.7176, allocations: 0.8504 MB / 0.5147 GB, free: 32.67 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007311/0.7183, allocations: 84 kB / 0.5148 GB, free: 32.59 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.7199, allocations: 124 kB / 0.5149 GB, free: 32.47 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007038/0.7206, allocations: 347.3 kB / 0.5152 GB, free: 32.13 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002563/0.7209, allocations: 112.5 kB / 0.5153 GB, free: 32.02 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002112/0.723, allocations: 1.461 MB / 0.5167 GB, free: 30.69 MB / 378.8 MB Notification: Performance of sort global known variables: time 9e-08/0.723, allocations: 0 / 0.5167 GB, free: 30.69 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.008042/0.731, allocations: 2.415 MB / 0.5191 GB, free: 28.27 MB / 378.8 MB 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.0008229/0.7319, allocations: 271.6 kB / 0.5194 GB, free: 28 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.007341/0.7392, allocations: 5.293 MB / 0.5245 GB, free: 22.66 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.7392, allocations: 1.969 kB / 0.5245 GB, free: 22.66 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002586/0.7418, allocations: 2.945 MB / 0.5274 GB, free: 19.65 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.7441, allocations: 0.7591 MB / 0.5281 GB, free: 18.93 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/0.7603, allocations: 13.34 MB / 0.5412 GB, free: 5.547 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/0.7619, allocations: 2.519 MB / 0.5436 GB, free: 3 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002258/0.7641, allocations: 0.7665 MB / 0.5444 GB, free: 2.23 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/0.7656, allocations: 0.9627 MB / 0.5453 GB, free: 1.266 MB / 378.8 MB Notification: Performance of SimCode: time 1.433e-06/0.7656, allocations: 0 / 0.5453 GB, free: 1.266 MB / 378.8 MB Notification: Performance of Templates: time 0.2217/0.9873, allocations: 67.71 MB / 0.6114 GB, free: 103.3 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/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: 5.01429379824549]