Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009075/0.0009075, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 159.4 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.858/0.858, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083e-05/1.216e-05, allocations: 5.266 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.00254/0.002553, allocations: 2.776 MB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.003599, allocations: 0.9459 MB / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.003701, allocations: 7.938 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.003875, allocations: 67.38 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.004075, allocations: 115.1 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.004275, allocations: 111.7 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.004525, allocations: 374.3 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.004645, allocations: 76 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.004846, allocations: 211.5 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.004974, allocations: 115.7 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.005005, allocations: 28 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.223e-05/0.005057, allocations: 35.94 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.005096, allocations: 63.75 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.257e-05/0.005188, allocations: 111.7 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.005401, allocations: 247 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.005403, allocations: 4 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.005403, allocations: 0 / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.005407, allocations: 0 / 278.6 MB, free: 11.8 MB / 266.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.0005106/0.005917, allocations: 0.5077 MB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.625e-05/0.005943, allocations: 15.98 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.006051, allocations: 52.89 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.006222, allocations: 182.2 kB / 279.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.006244, allocations: 25.03 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.006273, allocations: 24.38 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.006479, allocations: 217 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.006487, allocations: 192 / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.006502, allocations: 12.38 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.006509, allocations: 7.938 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.426e-05/0.006603, allocations: 80.48 kB / 279.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007036/0.007307, allocations: 0.6302 MB / 280.4 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.007462, allocations: 126.5 kB / 280.5 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.68e-05/0.007538, allocations: 60.77 kB / 280.6 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.007556, allocations: 4 kB / 280.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.007575, allocations: 38.56 kB / 280.6 MB, free: 9.703 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.243e-06/0.007576, allocations: 0 / 280.6 MB, free: 9.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002305/0.009881, allocations: 1.207 MB / 281.8 MB, free: 8.457 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.009902, allocations: 55.41 kB / 281.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.01002, allocations: 221 kB / 282.1 MB, free: 8.164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.01004, allocations: 29.7 kB / 282.1 MB, free: 8.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.01009, allocations: 172.4 kB / 282.3 MB, free: 7.957 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/0.01016, allocations: 130.9 kB / 282.4 MB, free: 7.828 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.01023, allocations: 70.03 kB / 282.5 MB, free: 7.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.052e-05/0.0103, allocations: 338.7 kB / 282.8 MB, free: 7.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.01035, allocations: 36.73 kB / 282.8 MB, free: 7.375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.491e-05/0.01042, allocations: 89.42 kB / 282.9 MB, free: 7.273 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.01056, allocations: 159.9 kB / 283.1 MB, free: 7.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.01056, allocations: 0 / 283.1 MB, free: 7.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005216/0.01109, allocations: 338.6 kB / 283.4 MB, free: 6.758 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.0111, allocations: 7.984 kB / 283.4 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.0111, allocations: 0 / 283.4 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007247/0.01182, allocations: 301.4 kB / 283.7 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.01195, allocations: 51.91 kB / 283.8 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.01405, allocations: 3.135 MB / 286.9 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.69e-05/0.01413, allocations: 12 kB / 286.9 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.01415, allocations: 15.98 kB / 286.9 MB, free: 3.062 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 8.019e-05/0.01423, allocations: 125.7 kB / 287 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.01427, allocations: 31.97 kB / 287.1 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.0143, allocations: 42.95 kB / 287.1 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01431, allocations: 4 kB / 287.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01431, allocations: 4.031 kB / 287.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01432, allocations: 3.984 kB / 287.1 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007718/0.01509, allocations: 0.5751 MB / 287.7 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01509, allocations: 3.938 kB / 287.7 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.635e-05/0.01519, allocations: 47.91 kB / 287.8 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006954/0.01588, allocations: 289.4 kB / 288 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.0159, allocations: 8 kB / 288 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08899/0.1049, allocations: 3.118 MB / 291.2 MB, free: 23.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1049, allocations: 0 / 291.2 MB, free: 23.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/0.1056, allocations: 468.3 kB / 291.6 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/0.1056, allocations: 28.58 kB / 291.6 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.1056, allocations: 7.766 kB / 291.7 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.459e-05/0.1057, allocations: 15.25 kB / 291.7 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.1058, allocations: 34.91 kB / 291.7 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1058, allocations: 6.828 kB / 291.7 MB, free: 23.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.592e-05/0.1058, allocations: 71.64 kB / 291.8 MB, free: 23.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1058, allocations: 0 / 291.8 MB, free: 23.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003793/0.1062, allocations: 102.3 kB / 291.9 MB, free: 23.2 MB / 266.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.464e-05/0.1063, allocations: 88.5 kB / 292 MB, free: 23.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003892/0.1067, allocations: 450.7 kB / 292.4 MB, free: 22.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.1067, allocations: 2.625 kB / 292.4 MB, free: 22.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.1069, allocations: 378.7 kB / 292.8 MB, free: 22.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.1071, allocations: 24.34 kB / 292.8 MB, free: 22.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008771/0.1079, allocations: 0.6366 MB / 293.4 MB, free: 22.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.917e-05/0.108, allocations: 102.4 kB / 293.5 MB, free: 22.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.613e-05/0.1081, allocations: 21.73 kB / 293.6 MB, free: 22.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.1081, allocations: 72.34 kB / 293.6 MB, free: 22.23 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1081, allocations: 1.062 kB / 293.6 MB, free: 22.23 MB / 266.7 MB Notification: Performance of Templates: time 0.007746/0.1159, allocations: 6.138 MB / 299.8 MB, free: 21.2 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5999815072864294]