Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.001186/0.001186, allocations: 79.73 kB / 21.97 MB, free: 2.59 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.001756/0.001756, allocations: 165.6 kB / 25.32 MB, free: 9.465 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.8984/0.8984, allocations: 158.6 MB / 187.2 MB, free: 2.555 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.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 251 MB, free: 3.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.363e-05, allocations: 2.312 kB / 251 MB, free: 3.684 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005983/0.006006, allocations: 6.356 MB / 257.4 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004122/0.01013, allocations: 2.523 MB / 259.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005159/0.01064, allocations: 16 kB / 259.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.01255, allocations: 1.349 MB / 261.3 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.01376, allocations: 0.5549 MB / 261.8 MB, free: 8.824 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.01529, allocations: 1.199 MB / 263 MB, free: 7.621 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.01652, allocations: 1.136 MB / 264.2 MB, free: 6.48 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.01755, allocations: 0.7739 MB / 265 MB, free: 5.684 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006634/0.01821, allocations: 0.6664 MB / 265.6 MB, free: 5.016 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005106/0.01872, allocations: 442.7 kB / 266.1 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.01887, allocations: 100 kB / 266.1 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007596/0.01963, allocations: 387.4 kB / 266.5 MB, free: 4.105 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.01977, allocations: 247 kB / 266.8 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002843/0.02005, allocations: 375.1 kB / 267.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.02126, allocations: 1.082 MB / 268.2 MB, free: 2.41 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.02127, allocations: 0 / 268.2 MB, free: 2.41 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.02127, allocations: 0 / 268.2 MB, free: 2.41 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.296e-05/0.02129, allocations: 0 / 268.2 MB, free: 2.41 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.002689/0.02398, allocations: 1.839 MB / 270.1 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.02402, allocations: 8.031 kB / 270.1 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/0.02621, allocations: 0.7727 MB / 270.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005853/0.02679, allocations: 446.4 kB / 271.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.208e-05/0.02686, allocations: 94.67 kB / 271.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.02697, allocations: 115.9 kB / 271.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.02804, allocations: 0.7998 MB / 272.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.02807, allocations: 3.984 kB / 272.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.02813, allocations: 48 kB / 272.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.02816, allocations: 24 kB / 272.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008711/0.02903, allocations: 0.591 MB / 272.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003821/0.03285, allocations: 2.947 MB / 275.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009994/0.03385, allocations: 0.7926 MB / 276.7 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/0.03422, allocations: 290.3 kB / 277 MB, free: 9.398 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.623e-05/0.03428, allocations: 28.98 kB / 277 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004616/0.03474, allocations: 442.9 kB / 277.4 MB, free: 8.895 MB / 266.7 MB Notification: Performance of pre-optimization done (n=98): time 3.396e-06/0.03475, allocations: 4 kB / 277.4 MB, free: 8.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=127): time 0.004305/0.03905, allocations: 2.871 MB / 280.3 MB, free: 5.973 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.03912, allocations: 149.5 kB / 280.4 MB, free: 5.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.03944, allocations: 434.4 kB / 280.9 MB, free: 5.355 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.03948, allocations: 49.7 kB / 280.9 MB, free: 5.301 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.0397, allocations: 499.5 kB / 281.4 MB, free: 4.805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.03996, allocations: 456.1 kB / 281.9 MB, free: 4.355 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.04018, allocations: 228.5 kB / 282.1 MB, free: 4.125 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.04034, allocations: 0.5547 MB / 282.6 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.04064, allocations: 206.5 kB / 282.8 MB, free: 3.355 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.04109, allocations: 0.56 MB / 283.4 MB, free: 2.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007752/0.04187, allocations: 0.7653 MB / 284.2 MB, free: 1.801 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.04188, allocations: 4 kB / 284.2 MB, free: 1.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001371/0.04325, allocations: 1.14 MB / 285.3 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.04327, allocations: 10.81 kB / 285.3 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.04329, allocations: 11.98 kB / 285.3 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008055/0.04409, allocations: 394.3 kB / 285.7 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.04457, allocations: 219.8 kB / 285.9 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005814/0.05038, allocations: 9.366 MB / 295.3 MB, free: 6.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.05086, allocations: 47.98 kB / 295.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.05092, allocations: 44 kB / 295.4 MB, free: 6.051 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002839/0.0512, allocations: 224.3 kB / 295.6 MB, free: 5.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.05131, allocations: 127.5 kB / 295.7 MB, free: 5.695 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.0526, allocations: 1.008 MB / 296.7 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.0526, allocations: 16 kB / 296.7 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.05261, allocations: 4 kB / 296.8 MB, free: 4.645 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.05262, allocations: 15.97 kB / 296.8 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.055, allocations: 1.975 MB / 298.7 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.05501, allocations: 0 / 298.7 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/0.05537, allocations: 155.8 kB / 298.9 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007502/0.05612, allocations: 365.2 kB / 299.3 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/0.05617, allocations: 31.98 kB / 299.3 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1276/0.1837, allocations: 8.983 MB / 308.3 MB, free: 37.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1837, allocations: 5.188 kB / 308.3 MB, free: 37.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.1856, allocations: 1.4 MB / 309.7 MB, free: 37.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.1859, allocations: 153.2 kB / 309.8 MB, free: 37.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.1859, allocations: 26.48 kB / 309.8 MB, free: 37.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.1862, allocations: 36.44 kB / 309.9 MB, free: 37.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.1864, allocations: 106.2 kB / 310 MB, free: 37.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/0.1864, allocations: 33.55 kB / 310 MB, free: 37.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002257/0.1866, allocations: 269.5 kB / 310.3 MB, free: 37.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1866, allocations: 1.219 kB / 310.3 MB, free: 37.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008894/0.1875, allocations: 321 kB / 310.6 MB, free: 37.12 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002535/0.1878, allocations: 180.9 kB / 310.8 MB, free: 37.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.1893, allocations: 1.584 MB / 312.4 MB, free: 36.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1893, allocations: 4.875 kB / 312.4 MB, free: 36.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000905/0.1902, allocations: 1.253 MB / 313.6 MB, free: 35.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.1906, allocations: 76.31 kB / 313.7 MB, free: 35.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.1933, allocations: 1.862 MB / 315.5 MB, free: 34.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.1935, allocations: 215.4 kB / 315.8 MB, free: 34.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002649/0.1938, allocations: 104.3 kB / 315.9 MB, free: 34.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.1939, allocations: 57.77 kB / 315.9 MB, free: 34.65 MB / 282.7 MB Notification: Performance of SimCode: time 1.323e-06/0.1939, allocations: 4 kB / 315.9 MB, free: 34.64 MB / 282.7 MB Notification: Performance of Templates: time 0.0151/0.209, allocations: 11.87 MB / 327.8 MB, free: 30.61 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.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: 3.182093775831163]