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.001277/0.001277, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.001384/0.001384, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.439/1.439, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.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 0.00138/0.00138, allocations: 47.94 kB / 374.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09818/0.09956, allocations: 53.33 MB / 427.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004358/0.1039, allocations: 2.787 MB / 430.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.1061, allocations: 0.9501 MB / 431.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.1063, allocations: 7.938 kB / 431.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.1066, allocations: 63.48 kB / 431.3 MB, free: 476 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003218/0.1069, allocations: 103.2 kB / 431.4 MB, free: 372 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.1072, allocations: 115.8 kB / 431.5 MB, free: 256 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2121/0.3193, allocations: 353.8 kB / 431.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.3195, allocations: 72.5 kB / 431.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003952/0.3199, allocations: 146.6 kB / 432.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.3202, allocations: 157.3 kB / 432.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.3203, allocations: 29.19 kB / 432.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.722e-05/0.3204, allocations: 34.05 kB / 432.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.3204, allocations: 69.19 kB / 432.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.3206, allocations: 159.9 kB / 432.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.321, allocations: 367.2 kB / 432.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.321, allocations: 0 / 432.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.321, allocations: 0 / 432.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.321, allocations: 0 / 432.9 MB, free: 7.992 MB / 350.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.001011/0.322, allocations: 0.6199 MB / 433.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3221, allocations: 10.12 kB / 433.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.3223, allocations: 42.62 kB / 433.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.3227, allocations: 272.9 kB / 433.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.3227, allocations: 19.34 kB / 433.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.3227, allocations: 29 kB / 433.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.3232, allocations: 249.8 kB / 434.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3232, allocations: 5.281 kB / 434.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.3232, allocations: 15.05 kB / 434.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3232, allocations: 6.438 kB / 434.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.3236, allocations: 207.4 kB / 434.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.325, allocations: 0.9987 MB / 435.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.3254, allocations: 194.8 kB / 435.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.3257, allocations: 104.8 kB / 435.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.3257, allocations: 5.469 kB / 435.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.3257, allocations: 33.97 kB / 435.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.654e-06/0.3257, allocations: 1.5 kB / 435.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.00499/0.3307, allocations: 1.545 MB / 437.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.3308, allocations: 66.28 kB / 437.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.331, allocations: 234.3 kB / 437.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.331, allocations: 30.14 kB / 437.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.3311, allocations: 187.4 kB / 437.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.459e-05/0.3312, allocations: 123.9 kB / 437.8 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.3313, allocations: 68.11 kB / 437.9 MB, free: 5.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.557e-05/0.3314, allocations: 333.2 kB / 438.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.3316, allocations: 108.2 kB / 438.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.3319, allocations: 162.1 kB / 438.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004829/0.3324, allocations: 287.3 kB / 438.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3324, allocations: 0 / 438.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001522/0.3339, allocations: 0.5327 MB / 439.3 MB, free: 5.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3339, allocations: 6.734 kB / 439.3 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3339, allocations: 2.531 kB / 439.3 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.3352, allocations: 246.9 kB / 439.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.3355, allocations: 54.84 kB / 439.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004199/0.3397, allocations: 4.144 MB / 443.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.34, allocations: 12.09 kB / 443.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.34, allocations: 13.11 kB / 443.8 MB, free: 1.445 MB / 350.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.0001641/0.3402, allocations: 151.5 kB / 443.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/0.3402, allocations: 33.19 kB / 443.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.733e-05/0.3403, allocations: 38 kB / 444 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.3403, allocations: 5.047 kB / 444 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.3403, allocations: 5.156 kB / 444 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.3403, allocations: 3.094 kB / 444 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.3425, allocations: 0.9858 MB / 445 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3425, allocations: 1.188 kB / 445 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.3427, allocations: 39.98 kB / 445 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.3439, allocations: 244.9 kB / 445.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.3439, allocations: 8.5 kB / 445.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005059/0.349, allocations: 4.118 MB / 449.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.349, allocations: 1.703 kB / 449.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.3511, allocations: 0.7204 MB / 450.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3512, allocations: 105.2 kB / 450.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.3513, allocations: 15.2 kB / 450.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.3515, allocations: 20.88 kB / 450.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.3516, allocations: 29.42 kB / 450.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.3516, allocations: 6.922 kB / 450.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.3518, allocations: 172.7 kB / 450.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3518, allocations: 1.031 kB / 450.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006631/0.3525, allocations: 100.2 kB / 450.5 MB, free: 12.41 MB / 366.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.0001832/0.3527, allocations: 111.7 kB / 450.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.3538, allocations: 0.5502 MB / 451.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3538, allocations: 1.5 kB / 451.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000657/0.3544, allocations: 423.7 kB / 451.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.3548, allocations: 22.3 kB / 451.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.3562, allocations: 0.7516 MB / 452.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.3567, allocations: 0.7794 MB / 453.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.283e-05/0.3567, allocations: 19.98 kB / 453.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3567, allocations: 0 / 453.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of Templates: time 0.009649/0.3664, allocations: 6.138 MB / 459.3 MB, free: 8.969 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/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: 8.025292139995145]