Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.000936/0.000936, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001196/0.001196, allocations: 170.9 kB / 25.69 MB, free: 8.453 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.9189/0.9189, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 3.984 kB / 251.5 MB, free: 7.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.537e-05, allocations: 6.25 kB / 251.5 MB, free: 7.297 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004732/0.004757, allocations: 2.662 MB / 254.2 MB, free: 4.617 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.00668, allocations: 0.9118 MB / 255.1 MB, free: 3.695 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.006859, allocations: 4 kB / 255.1 MB, free: 3.691 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.007101, allocations: 67.42 kB / 255.2 MB, free: 3.625 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.007466, allocations: 103.1 kB / 255.3 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.007783, allocations: 103.7 kB / 255.4 MB, free: 3.422 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004698/0.008253, allocations: 366.4 kB / 255.7 MB, free: 3.062 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.008429, allocations: 76 kB / 255.8 MB, free: 2.988 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003699/0.008799, allocations: 203.6 kB / 256 MB, free: 2.789 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.008992, allocations: 107.7 kB / 256.1 MB, free: 2.684 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.009045, allocations: 28 kB / 256.1 MB, free: 2.656 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.822e-05/0.009093, allocations: 32 kB / 256.1 MB, free: 2.625 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.009157, allocations: 71.73 kB / 256.2 MB, free: 2.555 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.009323, allocations: 107.7 kB / 256.3 MB, free: 2.449 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.009628, allocations: 235.1 kB / 256.6 MB, free: 2.219 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.009631, allocations: 4 kB / 256.6 MB, free: 2.215 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.009632, allocations: 0 / 256.6 MB, free: 2.215 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.009637, allocations: 0 / 256.6 MB, free: 2.215 MB / 234.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.0005757/0.01021, allocations: 0.5039 MB / 257.1 MB, free: 1.688 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.01025, allocations: 15.98 kB / 257.1 MB, free: 1.672 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.01031, allocations: 52.89 kB / 257.1 MB, free: 1.621 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.0105, allocations: 173.2 kB / 257.3 MB, free: 1.422 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.01052, allocations: 25.03 kB / 257.3 MB, free: 1.395 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.01056, allocations: 28.33 kB / 257.4 MB, free: 1.367 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.01078, allocations: 213 kB / 257.6 MB, free: 1.148 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.01079, allocations: 192 / 257.6 MB, free: 1.148 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.01081, allocations: 12.38 kB / 257.6 MB, free: 1.137 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.01082, allocations: 7.938 kB / 257.6 MB, free: 1.129 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.774e-05/0.01091, allocations: 72.55 kB / 257.6 MB, free: 1.059 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007662/0.01168, allocations: 0.6417 MB / 258.3 MB, free: 380 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.01185, allocations: 126.3 kB / 258.4 MB, free: 244 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.855e-05/0.01193, allocations: 56.83 kB / 258.5 MB, free: 184 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.01194, allocations: 8 kB / 258.5 MB, free: 176 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.01196, allocations: 38.55 kB / 258.5 MB, free: 128 kB / 234.7 MB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.01197, allocations: 3.938 kB / 258.5 MB, free: 124 kB / 234.7 MB Notification: Performance of matching and sorting (n=35): time 0.002423/0.01439, allocations: 1.197 MB / 259.7 MB, free: 14.88 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.01441, allocations: 55.41 kB / 259.8 MB, free: 14.82 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.01453, allocations: 211.3 kB / 260 MB, free: 14.59 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.01455, allocations: 33.7 kB / 260 MB, free: 14.55 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.01462, allocations: 172.4 kB / 260.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.838e-05/0.01468, allocations: 123 kB / 260.3 MB, free: 14.26 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/0.01474, allocations: 70.03 kB / 260.4 MB, free: 14.19 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.01483, allocations: 346.7 kB / 260.7 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/0.01488, allocations: 32.73 kB / 260.7 MB, free: 13.81 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.45e-05/0.01495, allocations: 81.75 kB / 260.8 MB, free: 13.71 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.01509, allocations: 147.9 kB / 261 MB, free: 13.55 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01509, allocations: 7.938 kB / 261 MB, free: 13.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005333/0.01563, allocations: 342.4 kB / 261.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.01564, allocations: 4 kB / 261.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01565, allocations: 4 kB / 261.3 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000814/0.01646, allocations: 301.3 kB / 261.6 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.01665, allocations: 55.91 kB / 261.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/0.01919, allocations: 3.142 MB / 264.8 MB, free: 9.531 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.52e-05/0.01928, allocations: 12 kB / 264.8 MB, free: 9.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.01929, allocations: 8 kB / 264.8 MB, free: 9.512 MB / 250.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 9.616e-05/0.01938, allocations: 133.7 kB / 265 MB, free: 9.371 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.01942, allocations: 27.97 kB / 265 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.96e-05/0.01946, allocations: 42.64 kB / 265 MB, free: 9.301 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.01946, allocations: 4 kB / 265 MB, free: 9.297 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01947, allocations: 4.031 kB / 265 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01947, allocations: 0 / 265 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007871/0.02026, allocations: 0.5746 MB / 265.6 MB, free: 8.684 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.02026, allocations: 0 / 265.6 MB, free: 8.684 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.975e-05/0.02036, allocations: 39.92 kB / 265.6 MB, free: 8.645 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006811/0.02104, allocations: 293.4 kB / 265.9 MB, free: 8.352 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.02106, allocations: 11.98 kB / 265.9 MB, free: 8.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.02292, allocations: 3.131 MB / 269.1 MB, free: 5.039 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.02292, allocations: 4 kB / 269.1 MB, free: 5.035 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006032/0.02352, allocations: 474.3 kB / 269.5 MB, free: 4.543 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.02354, allocations: 19.86 kB / 269.6 MB, free: 4.523 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.02356, allocations: 7.984 kB / 269.6 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.508e-05/0.02365, allocations: 16 kB / 269.6 MB, free: 4.5 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.02371, allocations: 27.94 kB / 269.6 MB, free: 4.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.02372, allocations: 8 kB / 269.6 MB, free: 4.465 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.045e-05/0.02377, allocations: 70.53 kB / 269.7 MB, free: 4.395 MB / 250.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02377, allocations: 0 / 269.7 MB, free: 4.395 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003229/0.02409, allocations: 104 kB / 269.8 MB, free: 4.293 MB / 250.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 8.367e-05/0.02417, allocations: 88.36 kB / 269.9 MB, free: 4.199 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000393/0.02457, allocations: 453.1 kB / 270.3 MB, free: 3.727 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.02457, allocations: 8.25 kB / 270.3 MB, free: 3.719 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.0248, allocations: 381.6 kB / 270.7 MB, free: 3.316 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.02496, allocations: 24.73 kB / 270.7 MB, free: 3.293 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008732/0.02583, allocations: 0.624 MB / 271.3 MB, free: 2.633 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.37e-05/0.0259, allocations: 101.4 kB / 271.4 MB, free: 2.512 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.556e-05/0.02595, allocations: 22.28 kB / 271.5 MB, free: 2.484 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.02602, allocations: 71.38 kB / 271.5 MB, free: 2.414 MB / 250.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02602, allocations: 0 / 271.5 MB, free: 2.414 MB / 250.7 MB Notification: Performance of Templates: time 0.007389/0.03341, allocations: 6.128 MB / 277.7 MB, free: 12.28 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/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.773266506846994]