Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.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.001766/0.001766, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002464/0.002464, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.359e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.00422/0.004244, allocations: 2.619 MB / 327.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.006029, allocations: 0.9003 MB / 328.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.006171, allocations: 5.344 kB / 328.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.006414, allocations: 67.16 kB / 328.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.00672, allocations: 111 kB / 328.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.007056, allocations: 119.1 kB / 328.9 MB, free: 14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.007481, allocations: 362.3 kB / 329.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.007667, allocations: 70.92 kB / 329.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.008009, allocations: 215.1 kB / 329.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.008241, allocations: 112.5 kB / 329.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.328e-05/0.008295, allocations: 29.62 kB / 329.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.178e-05/0.008386, allocations: 35.44 kB / 329.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.876e-05/0.008465, allocations: 68.58 kB / 329.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.008606, allocations: 110.8 kB / 329.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005099/0.009115, allocations: 377.2 kB / 330.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.00912, allocations: 1.406 kB / 330.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.009121, allocations: 0 / 330.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.009127, allocations: 0 / 330.2 MB, free: 13.41 MB / 302.1 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.001004/0.01013, allocations: 0.5365 MB / 330.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.01017, allocations: 8.75 kB / 330.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.01035, allocations: 43.8 kB / 330.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.01066, allocations: 213.4 kB / 331 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.01069, allocations: 20.66 kB / 331.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/0.01074, allocations: 25.81 kB / 331.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.01126, allocations: 276.6 kB / 331.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.01127, allocations: 1.25 kB / 331.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.0113, allocations: 14.56 kB / 331.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.01131, allocations: 10.81 kB / 331.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004678/0.01178, allocations: 213.2 kB / 331.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.01329, allocations: 0.7976 MB / 332.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.01372, allocations: 210 kB / 332.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.01398, allocations: 101.9 kB / 332.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.014, allocations: 3.062 kB / 332.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.01404, allocations: 40.73 kB / 332.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.422e-06/0.01404, allocations: 3.938 kB / 332.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.005216/0.01925, allocations: 1.389 MB / 334.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.0193, allocations: 54.97 kB / 334.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.01954, allocations: 234.9 kB / 334.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.01957, allocations: 30.89 kB / 334.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.01971, allocations: 187.1 kB / 334.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.832e-05/0.01981, allocations: 122.2 kB / 334.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.01994, allocations: 70.03 kB / 334.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.0201, allocations: 344.9 kB / 335.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.02035, allocations: 103.5 kB / 335.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.02064, allocations: 169.4 kB / 335.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005357/0.02117, allocations: 276.3 kB / 335.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.02118, allocations: 4 kB / 335.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001635/0.02281, allocations: 0.5214 MB / 336.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.02283, allocations: 5.188 kB / 336.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.02284, allocations: 1.031 kB / 336.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.02417, allocations: 255.8 kB / 336.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.02444, allocations: 56.56 kB / 336.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005161/0.0296, allocations: 3.847 MB / 340.4 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.02984, allocations: 15.92 kB / 340.4 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.02986, allocations: 12 kB / 340.4 MB, free: 5.387 MB / 302.1 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.0001817/0.03005, allocations: 153.7 kB / 340.5 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/0.03011, allocations: 23.86 kB / 340.6 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.685e-05/0.03021, allocations: 38.95 kB / 340.6 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.03021, allocations: 8.062 kB / 340.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.03022, allocations: 7.938 kB / 340.6 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.03023, allocations: 0 / 340.6 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.0326, allocations: 0.86 MB / 341.5 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.0326, allocations: 0 / 341.5 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.03291, allocations: 43.91 kB / 341.5 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/0.03467, allocations: 237.8 kB / 341.7 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.03471, allocations: 15.92 kB / 341.8 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007203/0.04191, allocations: 3.842 MB / 345.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.04191, allocations: 0 / 345.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002945/0.04486, allocations: 0.7206 MB / 346.3 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.461e-05/0.04494, allocations: 23.83 kB / 346.3 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.145e-05/0.04501, allocations: 12 kB / 346.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.04534, allocations: 15.98 kB / 346.4 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.04547, allocations: 32 kB / 346.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.0455, allocations: 8 kB / 346.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000254/0.04576, allocations: 169.2 kB / 346.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.04576, allocations: 0 / 346.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001061/0.04682, allocations: 100 kB / 346.7 MB, free: 14.79 MB / 318.1 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 0.0001994/0.04702, allocations: 107.2 kB / 346.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.04848, allocations: 0.5476 MB / 347.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.04849, allocations: 0 / 347.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008905/0.04938, allocations: 425.7 kB / 347.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.04992, allocations: 31.67 kB / 347.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.0518, allocations: 0.6531 MB / 348.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.05205, allocations: 181.6 kB / 348.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.05218, allocations: 14.3 kB / 348.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.564e-05/0.05227, allocations: 28.48 kB / 348.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.05227, allocations: 0 / 348.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of Templates: time 0.01569/0.06796, allocations: 5.622 MB / 354.3 MB, free: 7.109 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.681238405406475]