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.001849/0.001849, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.001828/0.001828, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 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 1.527/1.527, allocations: 173.3 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] 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.363e-06/1.363e-06, allocations: 0 / 267.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.55e-05, allocations: 2.312 kB / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004834/0.004859, allocations: 2.745 MB / 270 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.006622, allocations: 0.8488 MB / 270.9 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.006835, allocations: 7.938 kB / 270.9 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.007103, allocations: 59.48 kB / 271 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.007467, allocations: 103.1 kB / 271.1 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.007755, allocations: 103.7 kB / 271.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004996/0.008254, allocations: 362.5 kB / 271.5 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.008436, allocations: 74.92 kB / 271.6 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003692/0.008805, allocations: 207.5 kB / 271.8 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.009032, allocations: 111.7 kB / 271.9 MB, free: 2.129 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.461e-05/0.009097, allocations: 28 kB / 271.9 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-05/0.009157, allocations: 32 kB / 272 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.009235, allocations: 67.73 kB / 272 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.009376, allocations: 103.8 kB / 272.1 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.009896, allocations: 378.8 kB / 272.5 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.009899, allocations: 0 / 272.5 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.0099, allocations: 0 / 272.5 MB, free: 1.531 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.009913, allocations: 0 / 272.5 MB, free: 1.531 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.001189/0.0111, allocations: 0.6478 MB / 273.1 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.01114, allocations: 11.97 kB / 273.2 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.01125, allocations: 60.73 kB / 273.2 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.01159, allocations: 211.8 kB / 273.4 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.01162, allocations: 21.03 kB / 273.4 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.01167, allocations: 24.38 kB / 273.5 MB, free: 0.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.0122, allocations: 268.3 kB / 273.7 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.01221, allocations: 192 / 273.7 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.01224, allocations: 16.38 kB / 273.7 MB, free: 212 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.01225, allocations: 7.938 kB / 273.8 MB, free: 204 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.01271, allocations: 206.5 kB / 274 MB, free: 0 / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.01451, allocations: 0.9141 MB / 274.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.01495, allocations: 205.8 kB / 275.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.0152, allocations: 103.6 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.01523, allocations: 4 kB / 275.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.01527, allocations: 41.33 kB / 275.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.182e-06/0.01527, allocations: 0 / 275.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.005379/0.02065, allocations: 1.428 MB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.0207, allocations: 55.41 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.02103, allocations: 310.6 kB / 277 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.02106, allocations: 33.7 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.02124, allocations: 243.3 kB / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.02137, allocations: 130.9 kB / 277.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.02151, allocations: 75.73 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002918/0.0218, allocations: 0.5235 MB / 278 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.02204, allocations: 108.7 kB / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.02235, allocations: 185.1 kB / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005633/0.02291, allocations: 305.9 kB / 278.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.02291, allocations: 0 / 278.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001707/0.02462, allocations: 0.5543 MB / 279.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.02464, allocations: 12.06 kB / 279.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.02464, allocations: 0 / 279.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.02668, allocations: 355 kB / 279.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.02697, allocations: 59.91 kB / 279.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006321/0.03329, allocations: 5.104 MB / 284.7 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.03351, allocations: 11.98 kB / 284.7 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.03355, allocations: 12 kB / 284.7 MB, free: 4.773 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.0002072/0.03375, allocations: 188.6 kB / 284.9 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.398e-05/0.03384, allocations: 39.81 kB / 284.9 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.03395, allocations: 42.64 kB / 284.9 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.03395, allocations: 4 kB / 285 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.03396, allocations: 7.875 kB / 285 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.03397, allocations: 0 / 285 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.03627, allocations: 0.9688 MB / 285.9 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.03627, allocations: 0 / 285.9 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.0365, allocations: 39.97 kB / 286 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001939/0.03844, allocations: 359.5 kB / 286.3 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.03847, allocations: 8 kB / 286.3 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006461/0.04493, allocations: 5.1 MB / 291.4 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.04493, allocations: 3.938 kB / 291.4 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.0471, allocations: 0.7909 MB / 292.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/0.04718, allocations: 31.73 kB / 292.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.04722, allocations: 8 kB / 292.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.04745, allocations: 12 kB / 292.3 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.04756, allocations: 35.88 kB / 292.3 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.04759, allocations: 4 kB / 292.3 MB, free: 12.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002238/0.04781, allocations: 214.9 kB / 292.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04781, allocations: 0 / 292.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006267/0.04844, allocations: 104 kB / 292.6 MB, free: 12.47 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 0.0001556/0.04859, allocations: 107.2 kB / 292.7 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.0498, allocations: 0.6842 MB / 293.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.04981, allocations: 4 kB / 293.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007434/0.05055, allocations: 0.5381 MB / 294 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.0509, allocations: 28.66 kB / 294 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.05229, allocations: 0.6737 MB / 294.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.05249, allocations: 168.3 kB / 294.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.961e-05/0.05258, allocations: 18.28 kB / 294.8 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.05264, allocations: 20.5 kB / 294.9 MB, free: 10.09 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.05264, allocations: 3.938 kB / 294.9 MB, free: 10.08 MB / 282.7 MB Notification: Performance of Templates: time 0.01232/0.06496, allocations: 5.902 MB / 300.8 MB, free: 4.203 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.814630553941242]