Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.0009482/0.0009482, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.000954/0.000954, allocations: 145.5 kB / 24.98 MB, free: 8.816 MB / 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 0.9265/0.9265, allocations: 173.3 MB / 201.5 MB, free: 9.359 MB / 186.7 MB " [Timeout remaining time 179] 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.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 268.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.778e-05, allocations: 2.312 kB / 268.1 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.002779/0.002797, allocations: 2.768 MB / 270.8 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.003813, allocations: 0.8527 MB / 271.7 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.003939, allocations: 4 kB / 271.7 MB, free: 3.109 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.004159, allocations: 63.44 kB / 271.8 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.004401, allocations: 107.1 kB / 271.9 MB, free: 2.941 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.004614, allocations: 95.81 kB / 272 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.004905, allocations: 366.4 kB / 272.3 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.005063, allocations: 70.94 kB / 272.4 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.005254, allocations: 207.5 kB / 272.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.005389, allocations: 111.7 kB / 272.7 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.005429, allocations: 28 kB / 272.7 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.127e-05/0.00546, allocations: 32 kB / 272.8 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.005507, allocations: 71.67 kB / 272.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.223e-05/0.005589, allocations: 103.8 kB / 272.9 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.005828, allocations: 243.1 kB / 273.2 MB, free: 1.637 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00583, allocations: 0 / 273.2 MB, free: 1.637 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.005831, allocations: 0 / 273.2 MB, free: 1.637 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.005836, allocations: 0 / 273.2 MB, free: 1.637 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0007151/0.006551, allocations: 0.6324 MB / 273.8 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.006587, allocations: 11.97 kB / 273.8 MB, free: 0.957 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.247e-05/0.006669, allocations: 56.75 kB / 273.9 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.006898, allocations: 203.9 kB / 274.1 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.006925, allocations: 21.03 kB / 274.1 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.006959, allocations: 28.38 kB / 274.1 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.007253, allocations: 229 kB / 274.3 MB, free: 396 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.007263, allocations: 192 / 274.3 MB, free: 396 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.007283, allocations: 12.38 kB / 274.3 MB, free: 384 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001656/0.007448, allocations: 15.92 kB / 274.4 MB, free: 368 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.007626, allocations: 111.9 kB / 274.5 MB, free: 260 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009356/0.008562, allocations: 0.8282 MB / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.008792, allocations: 154.9 kB / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.008915, allocations: 71.66 kB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.008938, allocations: 7.938 kB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.00896, allocations: 37.39 kB / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.333e-06/0.008961, allocations: 0 / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002498/0.01146, allocations: 1.205 MB / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.01149, allocations: 59.39 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.01166, allocations: 274.6 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.01168, allocations: 37.64 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.01177, allocations: 239.2 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.01183, allocations: 115 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.631e-05/0.01191, allocations: 71.73 kB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.01202, allocations: 0.5117 MB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.522e-05/0.01212, allocations: 60.7 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.01224, allocations: 121.1 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.01246, allocations: 201.9 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01246, allocations: 4 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007254/0.01319, allocations: 439.7 kB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.0132, allocations: 6.969 kB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01321, allocations: 0 / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008918/0.0141, allocations: 315 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.01425, allocations: 55.97 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.01723, allocations: 4.592 MB / 283.8 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/0.01732, allocations: 12 kB / 283.8 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.01734, allocations: 12 kB / 283.9 MB, free: 6.371 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.01744, allocations: 184.5 kB / 284 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.01749, allocations: 39.81 kB / 284.1 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.01754, allocations: 42.64 kB / 284.1 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.01754, allocations: 7.938 kB / 284.1 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.01755, allocations: 0 / 284.1 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01755, allocations: 0 / 284.1 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.01858, allocations: 0.8 MB / 284.9 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.01858, allocations: 4 kB / 284.9 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.01869, allocations: 39.98 kB / 285 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008244/0.01951, allocations: 307 kB / 285.3 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.01953, allocations: 11.92 kB / 285.3 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/0.02217, allocations: 4.592 MB / 289.9 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02217, allocations: 0 / 289.9 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008275/0.023, allocations: 0.6111 MB / 290.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.02302, allocations: 31.8 kB / 290.5 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.02304, allocations: 12.03 kB / 290.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.406e-05/0.02314, allocations: 8 kB / 290.5 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.0232, allocations: 31.94 kB / 290.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.02322, allocations: 7.984 kB / 290.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.917e-05/0.0233, allocations: 194.9 kB / 290.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.02331, allocations: 0 / 290.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000361/0.02367, allocations: 100 kB / 290.9 MB, free: 15 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 9.457e-05/0.02376, allocations: 111.2 kB / 291 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005348/0.0243, allocations: 0.5788 MB / 291.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.0243, allocations: 4 kB / 291.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.02459, allocations: 0.4954 MB / 292 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.02481, allocations: 24.67 kB / 292.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009898/0.0258, allocations: 0.6459 MB / 292.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.387e-05/0.02587, allocations: 97.11 kB / 292.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.678e-05/0.02592, allocations: 22.28 kB / 292.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.02596, allocations: 16.5 kB / 292.8 MB, free: 12.86 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02596, allocations: 0 / 292.8 MB, free: 12.86 MB / 282.7 MB Notification: Performance of Templates: time 0.007185/0.03315, allocations: 5.903 MB / 298.7 MB, free: 6.98 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.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: 2.9520201610866934]