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.001937/0.001937, allocations: 84.66 kB / 20.95 MB, free: 3.453 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.002278/0.002278, allocations: 149.1 kB / 24.25 MB, free: 160 kB / 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 1.479/1.479, allocations: 173.3 MB / 200.8 MB, free: 9.312 MB / 186.7 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 1.703e-06/1.703e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.1e-05, allocations: 10.25 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01727/0.0173, allocations: 8.715 MB / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009569/0.02687, allocations: 3.209 MB / 279.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.02815, allocations: 83.62 kB / 279.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01059/0.03873, allocations: 3.78 MB / 283.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007519/0.04625, allocations: 1.562 MB / 284.7 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004197/0.05045, allocations: 1.02 MB / 285.7 MB, free: 4.246 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1355/0.1859, allocations: 9.496 MB / 295.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01609/0.202, allocations: 12.86 MB / 308.1 MB, free: 8.848 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00887/0.2109, allocations: 7.51 MB / 315.6 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006111/0.217, allocations: 5.515 MB / 321.1 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002664/0.2196, allocations: 1.395 MB / 322.5 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004696/0.2243, allocations: 1.626 MB / 324.1 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004179/0.2285, allocations: 2.98 MB / 327.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007948/0.2365, allocations: 3.676 MB / 330.8 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02421/0.2607, allocations: 19.18 MB / 349.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2607, allocations: 0 / 349.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2607, allocations: 0 / 349.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004437/0.2611, allocations: 0 / 349.9 MB, free: 4.98 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.03841/0.2995, allocations: 12.29 MB / 362.2 MB, free: 8.715 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.2996, allocations: 12.92 kB / 362.2 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07332/0.3729, allocations: 10.13 MB / 372.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02172/0.3946, allocations: 6.197 MB / 378.6 MB, free: 8.688 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001073/0.3957, allocations: 0.666 MB / 379.2 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003708/0.3994, allocations: 0.8663 MB / 380.1 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04178/0.4412, allocations: 16.24 MB / 396.4 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003373/0.4415, allocations: 7.953 kB / 396.4 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002897/0.4444, allocations: 372.3 kB / 396.7 MB, free: 6.488 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008739/0.4453, allocations: 0.5582 MB / 397.3 MB, free: 5.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03731/0.4826, allocations: 15.64 MB / 412.9 MB, free: 6.262 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3333/0.8159, allocations: 42.77 MB / 455.7 MB, free: 96.95 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01335/0.8292, allocations: 8.445 MB / 464.1 MB, free: 94.45 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004133/0.8334, allocations: 3.248 MB / 467.4 MB, free: 93.29 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003322/0.8337, allocations: 113.2 kB / 467.5 MB, free: 93.28 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.354e-05/0.8338, allocations: 84.69 kB / 467.6 MB, free: 93.2 MB / 378.8 MB Notification: Performance of pre-optimization done (n=468): time 7.073e-06/0.8338, allocations: 0 / 467.6 MB, free: 93.2 MB / 378.8 MB Notification: Performance of matching and sorting (n=468): time 0.02064/0.8544, allocations: 11.23 MB / 478.8 MB, free: 88.11 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.888e-05/0.8545, allocations: 129.2 kB / 478.9 MB, free: 88.01 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005337/0.8598, allocations: 3.97 MB / 482.9 MB, free: 84.55 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005933/0.8604, allocations: 101.7 kB / 483 MB, free: 84.45 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001627/0.8621, allocations: 4.013 MB / 487 MB, free: 81.08 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001119/0.8632, allocations: 1.668 MB / 488.7 MB, free: 79.58 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001802/0.865, allocations: 1.465 MB / 490.1 MB, free: 78.11 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.244e-05/0.865, allocations: 305.1 kB / 490.4 MB, free: 77.81 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004412/0.8694, allocations: 3.695 MB / 494.1 MB, free: 74.11 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005695/0.8751, allocations: 6.518 MB / 0.4889 GB, free: 66.29 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/0.886, allocations: 10.83 MB / 0.4995 GB, free: 54.12 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001314/0.8861, allocations: 28 kB / 0.4995 GB, free: 54.1 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02059/0.9067, allocations: 12.27 MB / 0.5115 GB, free: 41.76 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.9068, allocations: 44 kB / 0.5115 GB, free: 41.71 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/0.907, allocations: 96 kB / 0.5116 GB, free: 41.62 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006275/0.9132, allocations: 1.903 MB / 0.5135 GB, free: 39.7 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006163/0.9194, allocations: 1.669 MB / 0.5151 GB, free: 38.03 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01615/0.9356, allocations: 16.78 MB / 0.5315 GB, free: 20.65 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006379/0.9419, allocations: 0.9704 MB / 0.5325 GB, free: 19.68 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00141/0.9433, allocations: 364 kB / 0.5328 GB, free: 19.32 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.006062/0.9494, allocations: 3.75 MB / 0.5365 GB, free: 15.55 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/0.9504, allocations: 0.5443 MB / 0.537 GB, free: 15.01 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/0.9631, allocations: 8.522 MB / 0.5453 GB, free: 6.402 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/0.9632, allocations: 52 kB / 0.5454 GB, free: 6.352 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.85e-05/0.9632, allocations: 12 kB / 0.5454 GB, free: 6.34 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-05/0.9632, allocations: 23.91 kB / 0.5454 GB, free: 6.316 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03039/0.9936, allocations: 14.85 MB / 0.5599 GB, free: 7.426 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.9936, allocations: 0 / 0.5599 GB, free: 7.426 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003792/0.9974, allocations: 0.862 MB / 0.5607 GB, free: 6.562 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006696/1.004, allocations: 1.791 MB / 0.5625 GB, free: 4.75 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000481/1.005, allocations: 108 kB / 0.5626 GB, free: 4.645 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02341/1.028, allocations: 16.58 MB / 0.5788 GB, free: 3.473 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.028, allocations: 4 kB / 0.5788 GB, free: 3.469 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.177/1.205, allocations: 12.35 MB / 0.5909 GB, free: 127.2 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002667/1.208, allocations: 1.082 MB / 0.5919 GB, free: 126.9 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008508/1.209, allocations: 83.69 kB / 0.592 GB, free: 126.9 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/1.211, allocations: 308.5 kB / 0.5923 GB, free: 126.8 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000724/1.212, allocations: 338.8 kB / 0.5926 GB, free: 126.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002716/1.212, allocations: 133.8 kB / 0.5927 GB, free: 126.7 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003541/1.216, allocations: 2.538 MB / 0.5952 GB, free: 125.8 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/1.216, allocations: 2.75 kB / 0.5952 GB, free: 125.8 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006992/1.223, allocations: 2.409 MB / 0.5976 GB, free: 125.4 MB / 410.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.000688/1.223, allocations: 264.7 kB / 0.5978 GB, free: 125.2 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01153/1.235, allocations: 8.993 MB / 0.6066 GB, free: 121.7 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.235, allocations: 0 / 0.6066 GB, free: 121.7 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006196/1.241, allocations: 4.17 MB / 0.6107 GB, free: 119.8 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003889/1.245, allocations: 0.7605 MB / 0.6114 GB, free: 119.5 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02365/1.268, allocations: 17.34 MB / 0.6284 GB, free: 106.3 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005485/1.274, allocations: 5.583 MB / 0.6338 GB, free: 102.1 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.006625/1.281, allocations: 3.294 MB / 0.637 GB, free: 99.2 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/1.282, allocations: 376.4 kB / 0.6374 GB, free: 98.83 MB / 410.8 MB Notification: Performance of SimCode: time 1.042e-06/1.282, allocations: 0 / 0.6374 GB, free: 98.83 MB / 410.8 MB Notification: Performance of Templates: time 0.0906/1.372, allocations: 61.42 MB / 0.6974 GB, free: 38.18 MB / 410.8 MB " [Timeout remaining time 659] 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.970220808987506]