Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.001274/0.001274, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.0009713/0.0009713, allocations: 167.2 kB / 25.33 MB, free: 8.641 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9499/0.9499, allocations: 158.6 MB / 187.2 MB, free: 2.941 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 3.938 kB / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.872e-05, allocations: 2.312 kB / 251.1 MB, free: 7.508 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.008143/0.008161, allocations: 9.653 MB / 260.7 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005341/0.0135, allocations: 3.307 MB / 264 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000866/0.01437, allocations: 75.62 kB / 264.1 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004516/0.01888, allocations: 4.111 MB / 268.2 MB, free: 6.281 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.02146, allocations: 1.445 MB / 269.6 MB, free: 4.828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.02291, allocations: 1.132 MB / 270.8 MB, free: 3.695 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006557/0.02947, allocations: 9.524 MB / 280.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01857/0.04803, allocations: 12.85 MB / 293.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01086/0.05889, allocations: 7.556 MB / 300.7 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008146/0.06704, allocations: 6.251 MB / 307 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002869/0.06991, allocations: 1.398 MB / 308.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0036/0.07351, allocations: 1.632 MB / 310 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002064/0.07557, allocations: 3.02 MB / 313 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006053/0.08162, allocations: 3.716 MB / 316.7 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008837/0.09046, allocations: 9.693 MB / 326.4 MB, free: 11.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.09047, allocations: 0 / 326.4 MB, free: 11.81 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.09047, allocations: 0 / 326.4 MB, free: 11.81 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004049/0.09087, allocations: 0 / 326.4 MB, free: 11.81 MB / 314.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.02236/0.1132, allocations: 13.27 MB / 339.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.1133, allocations: 11.98 kB / 339.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02551/0.1388, allocations: 10.16 MB / 349.9 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2327/0.3715, allocations: 4.874 MB / 354.7 MB, free: 75.05 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006684/0.3722, allocations: 0.6607 MB / 355.4 MB, free: 75.04 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002361/0.3745, allocations: 0.8695 MB / 356.3 MB, free: 75.04 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01609/0.3906, allocations: 8.534 MB / 364.8 MB, free: 74.31 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001397/0.3908, allocations: 12.86 kB / 364.8 MB, free: 74.31 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006123/0.3914, allocations: 368.1 kB / 365.2 MB, free: 74.31 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004225/0.3918, allocations: 0.5555 MB / 365.7 MB, free: 74.29 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00986/0.4017, allocations: 5.065 MB / 370.8 MB, free: 74.15 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04113/0.4428, allocations: 37.36 MB / 408.2 MB, free: 40.86 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00707/0.4499, allocations: 6.204 MB / 414.4 MB, free: 35.1 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.4515, allocations: 1.372 MB / 415.7 MB, free: 33.73 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/0.4517, allocations: 119.9 kB / 415.9 MB, free: 33.61 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.522e-05/0.4518, allocations: 85.39 kB / 415.9 MB, free: 33.52 MB / 330.8 MB Notification: Performance of pre-optimization done (n=468): time 7.134e-06/0.4518, allocations: 0 / 415.9 MB, free: 33.52 MB / 330.8 MB Notification: Performance of matching and sorting (n=468): time 0.01011/0.4619, allocations: 6.082 MB / 422 MB, free: 27.46 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.4619, allocations: 125.1 kB / 422.1 MB, free: 27.32 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004242/0.4662, allocations: 4.041 MB / 426.2 MB, free: 23.39 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003097/0.4665, allocations: 105.4 kB / 426.3 MB, free: 23.29 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001853/0.4684, allocations: 4.359 MB / 430.6 MB, free: 19.45 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009784/0.4693, allocations: 1.733 MB / 432.4 MB, free: 17.74 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001393/0.4707, allocations: 1.685 MB / 434.1 MB, free: 16.04 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 4.317e-05/0.4708, allocations: 480.8 kB / 434.5 MB, free: 15.57 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.4725, allocations: 1.127 MB / 435.7 MB, free: 14.44 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00272/0.4753, allocations: 5.42 MB / 441.1 MB, free: 7.281 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005727/0.481, allocations: 7.19 MB / 448.3 MB, free: 14.66 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.64e-05/0.481, allocations: 24 kB / 448.3 MB, free: 14.63 MB / 346.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01057/0.4916, allocations: 6.922 MB / 455.2 MB, free: 8.266 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/0.4917, allocations: 44 kB / 455.3 MB, free: 8.223 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.2e-05/0.4918, allocations: 92 kB / 455.3 MB, free: 8.133 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003442/0.4952, allocations: 1.544 MB / 456.9 MB, free: 6.57 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003717/0.4989, allocations: 1.667 MB / 458.6 MB, free: 5.02 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/0.51, allocations: 15.71 MB / 474.3 MB, free: 4.699 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004536/0.5145, allocations: 0.9781 MB / 475.2 MB, free: 3.715 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008308/0.5153, allocations: 360 kB / 475.6 MB, free: 3.363 MB / 362.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.002215/0.5175, allocations: 0.6343 MB / 476.2 MB, free: 2.75 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007144/0.5182, allocations: 0.5403 MB / 476.8 MB, free: 2.207 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007698/0.5259, allocations: 4.881 MB / 481.7 MB, free: 13.24 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.173e-05/0.526, allocations: 51.94 kB / 481.7 MB, free: 13.19 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.619e-05/0.526, allocations: 12 kB / 481.7 MB, free: 13.18 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.107e-05/0.526, allocations: 23.91 kB / 481.7 MB, free: 13.15 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0191/0.5451, allocations: 12.31 MB / 494.1 MB, free: 0.7969 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.5451, allocations: 4 kB / 494.1 MB, free: 0.793 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1793/0.7244, allocations: 0.8592 MB / 494.9 MB, free: 94.15 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004059/0.7285, allocations: 1.426 MB / 496.3 MB, free: 94.07 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001003/0.7295, allocations: 100.4 kB / 496.4 MB, free: 94.07 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009349/0.7389, allocations: 15.5 MB / 0.4999 GB, free: 82.44 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.7389, allocations: 8.312 kB / 0.4999 GB, free: 82.43 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009377/0.7482, allocations: 5.829 MB / 0.5056 GB, free: 81.58 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/0.75, allocations: 0.9542 MB / 0.5066 GB, free: 81.35 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004233/0.7504, allocations: 83 kB / 0.5066 GB, free: 81.35 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.7517, allocations: 306 kB / 0.5069 GB, free: 81.35 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006216/0.7524, allocations: 344.9 kB / 0.5073 GB, free: 81.34 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/0.7525, allocations: 133.3 kB / 0.5074 GB, free: 81.34 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002023/0.7546, allocations: 1.588 MB / 0.5089 GB, free: 81.16 MB / 378.8 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7546, allocations: 4.953 kB / 0.5089 GB, free: 81.16 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005471/0.76, allocations: 2.405 MB / 0.5113 GB, free: 80.88 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.0006709/0.7607, allocations: 264.3 kB / 0.5116 GB, free: 80.8 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.008014/0.7687, allocations: 5.768 MB / 0.5172 GB, free: 79.52 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.7687, allocations: 0 / 0.5172 GB, free: 79.52 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003579/0.7723, allocations: 3.166 MB / 0.5203 GB, free: 78.36 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/0.7752, allocations: 0.7449 MB / 0.521 GB, free: 78.31 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02268/0.7979, allocations: 13.61 MB / 0.5343 GB, free: 71.53 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002822/0.8007, allocations: 2.532 MB / 0.5368 GB, free: 70.29 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.004748/0.8054, allocations: 2.808 MB / 0.5395 GB, free: 68.66 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008667/0.8063, allocations: 376.7 kB / 0.5399 GB, free: 68.34 MB / 378.8 MB Notification: Performance of SimCode: time 2.935e-06/0.8063, allocations: 0 / 0.5399 GB, free: 68.34 MB / 378.8 MB Notification: Performance of Templates: time 0.0746/0.8809, allocations: 63.95 MB / 0.6023 GB, free: 6.859 MB / 378.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.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.933913623914123]