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.0009921/0.0009921, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.0009366/0.0009366, allocations: 170.6 kB / 25.6 MB, free: 8.926 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.9454/0.9454, allocations: 158.6 MB / 187.5 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.505e-06/2.505e-06, allocations: 0 / 251.4 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.295e-05, allocations: 2.312 kB / 251.4 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004169/0.004202, allocations: 2.669 MB / 254.1 MB, free: 4.578 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.006016, allocations: 0.8809 MB / 255 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.006193, allocations: 7.938 kB / 255 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.006463, allocations: 51.52 kB / 255.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.006793, allocations: 107.2 kB / 255.2 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.007078, allocations: 103.7 kB / 255.3 MB, free: 3.422 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.007448, allocations: 362.5 kB / 255.6 MB, free: 3.066 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.007594, allocations: 74.03 kB / 255.7 MB, free: 2.992 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.007825, allocations: 203.5 kB / 255.9 MB, free: 2.793 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.007961, allocations: 115.7 kB / 256 MB, free: 2.68 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.007999, allocations: 32 kB / 256 MB, free: 2.648 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.406e-05/0.008033, allocations: 32 kB / 256.1 MB, free: 2.617 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.259e-05/0.008075, allocations: 63.75 kB / 256.1 MB, free: 2.555 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.386e-05/0.008149, allocations: 107.7 kB / 256.2 MB, free: 2.449 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.008375, allocations: 235.1 kB / 256.5 MB, free: 2.215 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.008378, allocations: 0 / 256.5 MB, free: 2.215 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.008379, allocations: 0 / 256.5 MB, free: 2.215 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.008382, allocations: 0 / 256.5 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.0006581/0.009041, allocations: 0.6363 MB / 257.1 MB, free: 1.543 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.009079, allocations: 15.98 kB / 257.1 MB, free: 1.527 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.009142, allocations: 60.69 kB / 257.2 MB, free: 1.469 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.00934, allocations: 204.1 kB / 257.4 MB, free: 1.242 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.009363, allocations: 21.03 kB / 257.4 MB, free: 1.223 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.009396, allocations: 28.38 kB / 257.4 MB, free: 1.195 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.009638, allocations: 205.1 kB / 257.6 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.009647, allocations: 8.125 kB / 257.6 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.009663, allocations: 12.38 kB / 257.6 MB, free: 0.957 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.009671, allocations: 7.938 kB / 257.6 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.009782, allocations: 92.44 kB / 257.7 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008406/0.01062, allocations: 0.805 MB / 258.5 MB, free: 4 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.01081, allocations: 134.9 kB / 258.7 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.408e-05/0.0109, allocations: 63.72 kB / 258.7 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.01092, allocations: 4 kB / 258.7 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.01094, allocations: 37.39 kB / 258.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.894e-06/0.01094, allocations: 4 kB / 258.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.00226/0.0132, allocations: 1.121 MB / 259.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.01322, allocations: 59.39 kB / 260 MB, free: 14.5 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.01337, allocations: 270.5 kB / 260.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.01339, allocations: 29.7 kB / 260.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.0135, allocations: 239.1 kB / 260.5 MB, free: 13.94 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.783e-05/0.01357, allocations: 123 kB / 260.6 MB, free: 13.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/0.01364, allocations: 67.7 kB / 260.7 MB, free: 13.75 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.01379, allocations: 0.5078 MB / 261.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.086e-05/0.01387, allocations: 52.64 kB / 261.2 MB, free: 13.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.01397, allocations: 115.8 kB / 261.3 MB, free: 13.04 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.01414, allocations: 170.1 kB / 261.5 MB, free: 12.86 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.01414, allocations: 0 / 261.5 MB, free: 12.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006341/0.01477, allocations: 403.7 kB / 261.9 MB, free: 12.45 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.01479, allocations: 4 kB / 261.9 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.01479, allocations: 8.062 kB / 261.9 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008079/0.0156, allocations: 307 kB / 262.2 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.01573, allocations: 55.91 kB / 262.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/0.01834, allocations: 4.519 MB / 266.8 MB, free: 7.332 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.504e-05/0.01843, allocations: 16.02 kB / 266.8 MB, free: 7.316 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.01845, allocations: 8 kB / 266.8 MB, free: 7.309 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 0.0001075/0.01856, allocations: 180.4 kB / 267 MB, free: 7.121 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.0186, allocations: 39.81 kB / 267 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.01864, allocations: 42.64 kB / 267.1 MB, free: 7.039 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.01864, allocations: 0 / 267.1 MB, free: 7.039 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.01865, allocations: 4 kB / 267.1 MB, free: 7.035 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01865, allocations: 0 / 267.1 MB, free: 7.035 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008929/0.01954, allocations: 0.7294 MB / 267.8 MB, free: 6.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01955, allocations: 8.062 kB / 267.8 MB, free: 6.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.47e-05/0.01964, allocations: 31.98 kB / 267.8 MB, free: 6.219 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007372/0.02038, allocations: 307 kB / 268.1 MB, free: 5.91 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.02039, allocations: 12 kB / 268.2 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/0.02275, allocations: 4.5 MB / 272.7 MB, free: 1.176 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.02276, allocations: 7.922 kB / 272.7 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007064/0.02346, allocations: 0.5721 MB / 273.2 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.02348, allocations: 23.89 kB / 273.3 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.0235, allocations: 4 kB / 273.3 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.009e-05/0.02359, allocations: 15.98 kB / 273.3 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.02366, allocations: 39.75 kB / 273.3 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.02367, allocations: 12 kB / 273.3 MB, free: 476 kB / 250.7 MB Notification: Performance of sorting global known variables: time 8.001e-05/0.02375, allocations: 184.9 kB / 273.5 MB, free: 292 kB / 250.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02375, allocations: 0 / 273.5 MB, free: 292 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003737/0.02412, allocations: 100 kB / 273.6 MB, free: 192 kB / 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 9.773e-05/0.02422, allocations: 103.2 kB / 273.7 MB, free: 76 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004721/0.02469, allocations: 0.5574 MB / 274.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.0247, allocations: 4 kB / 274.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.02496, allocations: 495.3 kB / 274.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.02518, allocations: 35.92 kB / 274.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00091/0.02609, allocations: 0.6271 MB / 275.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.366e-05/0.02615, allocations: 105.2 kB / 275.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.471e-05/0.0262, allocations: 22.27 kB / 275.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.626e-05/0.02628, allocations: 90.2 kB / 275.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02628, allocations: 0 / 275.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of Templates: time 0.007509/0.03379, allocations: 6.186 MB / 281.8 MB, free: 7.82 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.905668233986944]