Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.001491/0.001491, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001943/0.001943, allocations: 170.3 kB / 24.91 MB, free: 8.723 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.9174/0.9174, allocations: 177.1 MB / 205.3 MB, free: 5.09 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.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.571e-05, allocations: 9.547 kB / 273.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007244/0.007259, allocations: 9.403 MB / 282.9 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005497/0.01276, allocations: 3.476 MB / 286.3 MB, free: 4.227 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009382/0.01369, allocations: 87.56 kB / 286.4 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004144/0.01784, allocations: 4.099 MB / 290.5 MB, free: 24 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1062/0.124, allocations: 1.555 MB / 292.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.1256, allocations: 1.04 MB / 293.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007479/0.1331, allocations: 9.663 MB / 302.8 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01226/0.1453, allocations: 13.22 MB / 316 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006546/0.1519, allocations: 7.609 MB / 323.6 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005523/0.1574, allocations: 6.357 MB / 330 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001797/0.1592, allocations: 1.398 MB / 331.4 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.1611, allocations: 1.656 MB / 333 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001668/0.1628, allocations: 3.012 MB / 336 MB, free: 400 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003385/0.1662, allocations: 3.715 MB / 339.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007611/0.1738, allocations: 9.711 MB / 349.5 MB, free: 3.617 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.207e-06/0.1738, allocations: 7 kB / 349.5 MB, free: 3.613 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1738, allocations: 3.984 kB / 349.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002168/0.174, allocations: 0 / 349.5 MB, free: 3.609 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.01447/0.1885, allocations: 11.2 MB / 360.7 MB, free: 8.938 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1885, allocations: 12.03 kB / 360.7 MB, free: 8.926 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02243/0.2109, allocations: 7.986 MB / 368.7 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006066/0.217, allocations: 2.962 MB / 371.6 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003624/0.2174, allocations: 0.6611 MB / 372.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001313/0.2187, allocations: 0.8698 MB / 373.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009753/0.2284, allocations: 8.024 MB / 381.2 MB, free: 5.246 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001468/0.2286, allocations: 15.48 kB / 381.2 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007106/0.2293, allocations: 366.7 kB / 381.6 MB, free: 4.887 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003755/0.2297, allocations: 0.5543 MB / 382.1 MB, free: 4.328 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006525/0.2362, allocations: 4.449 MB / 386.6 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02829/0.2645, allocations: 27.85 MB / 414.4 MB, free: 3.562 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005244/0.2697, allocations: 4.435 MB / 418.9 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009993/0.2707, allocations: 0.9774 MB / 419.8 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/0.271, allocations: 147.9 kB / 420 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.271, allocations: 86.55 kB / 420.1 MB, free: 13.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=468): time 6.502e-06/0.271, allocations: 0 / 420.1 MB, free: 13.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=468): time 0.007627/0.2787, allocations: 4.524 MB / 424.6 MB, free: 9.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.2787, allocations: 125.1 kB / 424.7 MB, free: 9.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.2805, allocations: 2.427 MB / 427.1 MB, free: 6.828 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001997/0.2807, allocations: 101.7 kB / 427.2 MB, free: 6.723 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001377/0.2821, allocations: 3.784 MB / 431 MB, free: 2.902 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008874/0.283, allocations: 1.669 MB / 432.7 MB, free: 1.219 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1888/0.4718, allocations: 1.335 MB / 434 MB, free: 96.47 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.755e-05/0.4718, allocations: 301.7 kB / 434.3 MB, free: 96.17 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.4735, allocations: 1.082 MB / 435.4 MB, free: 96.14 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.4754, allocations: 3.589 MB / 439 MB, free: 92.75 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00365/0.4791, allocations: 5.3 MB / 444.3 MB, free: 89.25 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.374e-05/0.4791, allocations: 26.81 kB / 444.3 MB, free: 89.25 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.006223/0.4853, allocations: 5.215 MB / 449.5 MB, free: 88.95 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.4854, allocations: 44.22 kB / 449.6 MB, free: 88.95 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.331e-05/0.4854, allocations: 97.09 kB / 449.7 MB, free: 88.95 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002458/0.4879, allocations: 1.388 MB / 451.1 MB, free: 88.86 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002496/0.4904, allocations: 1.5 MB / 452.6 MB, free: 88.86 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005717/0.4961, allocations: 10.89 MB / 463.4 MB, free: 81.2 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.4982, allocations: 0.7808 MB / 464.2 MB, free: 81.19 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002901/0.4985, allocations: 294.5 kB / 464.5 MB, free: 81.19 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.001369/0.4998, allocations: 0.5942 MB / 465.1 MB, free: 81.07 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004306/0.5003, allocations: 384.5 kB / 465.5 MB, free: 81.07 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004105/0.5044, allocations: 3.686 MB / 469.2 MB, free: 80.73 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.5044, allocations: 48.66 kB / 469.2 MB, free: 80.73 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.5044, allocations: 13.86 kB / 469.2 MB, free: 80.73 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-05/0.5044, allocations: 26.89 kB / 469.3 MB, free: 80.73 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008585/0.513, allocations: 8.602 MB / 477.9 MB, free: 79.8 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.513, allocations: 3.812 kB / 477.9 MB, free: 79.8 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/0.5145, allocations: 0.6987 MB / 478.6 MB, free: 79.59 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002246/0.5167, allocations: 1.275 MB / 479.8 MB, free: 78.79 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001649/0.5169, allocations: 99.58 kB / 479.9 MB, free: 78.71 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00554/0.5224, allocations: 10.69 MB / 490.6 MB, free: 68.41 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5224, allocations: 7.188 kB / 490.6 MB, free: 68.41 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006185/0.5286, allocations: 4.298 MB / 494.9 MB, free: 64.68 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.5297, allocations: 0.6218 MB / 495.5 MB, free: 64.13 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004457/0.5301, allocations: 84 kB / 495.6 MB, free: 64.05 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.5314, allocations: 128 kB / 495.8 MB, free: 63.93 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005097/0.5319, allocations: 331.3 kB / 496.1 MB, free: 63.6 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/0.5321, allocations: 95.95 kB / 496.2 MB, free: 63.51 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001064/0.5332, allocations: 1.039 MB / 497.2 MB, free: 62.6 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5332, allocations: 0 / 497.2 MB, free: 62.6 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005389/0.5386, allocations: 2.412 MB / 499.6 MB, free: 60.41 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.0004348/0.539, allocations: 255 kB / 499.9 MB, free: 60.16 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005212/0.5442, allocations: 4.333 MB / 0.4924 GB, free: 55.82 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001242/0.5444, allocations: 76 kB / 0.4925 GB, free: 55.73 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002553/0.5469, allocations: 2.374 MB / 0.4948 GB, free: 53.32 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.5491, allocations: 0.7413 MB / 0.4955 GB, free: 52.62 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/0.5637, allocations: 13.08 MB / 0.5083 GB, free: 39.52 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/0.5653, allocations: 1.789 MB / 0.51 GB, free: 37.7 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002225/0.5675, allocations: 0.7587 MB / 0.5108 GB, free: 36.94 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001938/0.5694, allocations: 0.8798 MB / 0.5116 GB, free: 36.05 MB / 378.8 MB Notification: Performance of SimCode: time 1.102e-06/0.5694, allocations: 0 / 0.5116 GB, free: 36.05 MB / 378.8 MB Notification: Performance of Templates: time 0.07853/0.648, allocations: 68 MB / 0.578 GB, free: 0.7812 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 4.65919480798766]