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.0007081/0.0007081, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009273/0.001635, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006643/0.0006643, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007957/0.00146, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.8862/0.8862, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08483/0.971, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.363e-06/1.363e-06, allocations: 0 / 244.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.361e-05, allocations: 6.312 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.006376/0.00639, allocations: 2.85 MB / 247.4 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.007673, allocations: 0.9574 MB / 248.3 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.007798, allocations: 4 kB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.007951, allocations: 59.44 kB / 248.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.008173, allocations: 115.1 kB / 248.5 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.008414, allocations: 107.7 kB / 248.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003338/0.01175, allocations: 366.4 kB / 248.9 MB, free: 9.867 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.0119, allocations: 79.94 kB / 249 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.0122, allocations: 240.1 kB / 249.3 MB, free: 9.555 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.01236, allocations: 115.7 kB / 249.4 MB, free: 9.441 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/0.0124, allocations: 28 kB / 249.4 MB, free: 9.414 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.01249, allocations: 32 kB / 249.4 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.01253, allocations: 51.81 kB / 249.5 MB, free: 9.332 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.147e-05/0.01262, allocations: 87.81 kB / 249.6 MB, free: 9.246 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.0129, allocations: 223.1 kB / 249.8 MB, free: 9.027 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.408e-05/0.01291, allocations: 0 / 249.8 MB, free: 9.027 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.01291, allocations: 0 / 249.8 MB, free: 9.027 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.01293, allocations: 0 / 249.8 MB, free: 9.027 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.0007606/0.01369, allocations: 0.5854 MB / 250.4 MB, free: 8.414 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.01372, allocations: 8.031 kB / 250.4 MB, free: 8.406 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.01389, allocations: 130 kB / 250.5 MB, free: 8.262 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.0141, allocations: 182.2 kB / 250.7 MB, free: 8.055 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.01413, allocations: 21.03 kB / 250.7 MB, free: 8.035 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.01417, allocations: 32.38 kB / 250.7 MB, free: 8.004 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.01743, allocations: 217 kB / 250.9 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.01744, allocations: 192 / 250.9 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.01746, allocations: 12.38 kB / 251 MB, free: 7.766 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.01748, allocations: 11.94 kB / 251 MB, free: 7.754 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.0176, allocations: 72.55 kB / 251 MB, free: 7.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009027/0.01851, allocations: 0.6418 MB / 251.7 MB, free: 7 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.0187, allocations: 118.4 kB / 251.8 MB, free: 6.875 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.0188, allocations: 60.83 kB / 251.9 MB, free: 6.812 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.01882, allocations: 4 kB / 251.9 MB, free: 6.809 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.01885, allocations: 34.56 kB / 251.9 MB, free: 6.766 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.01885, allocations: 0 / 251.9 MB, free: 6.766 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.005883/0.02473, allocations: 1.214 MB / 253.1 MB, free: 5.512 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.02475, allocations: 55.41 kB / 253.2 MB, free: 5.445 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.02487, allocations: 220.9 kB / 253.4 MB, free: 5.219 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.02489, allocations: 29.7 kB / 253.4 MB, free: 5.184 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.02495, allocations: 176.4 kB / 253.6 MB, free: 5.004 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.02501, allocations: 123 kB / 253.7 MB, free: 4.883 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.591e-05/0.02508, allocations: 66.03 kB / 253.8 MB, free: 4.812 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.957e-05/0.02515, allocations: 346.7 kB / 254.1 MB, free: 4.465 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.726e-05/0.0252, allocations: 32.73 kB / 254.1 MB, free: 4.434 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.359e-05/0.02528, allocations: 101.2 kB / 254.2 MB, free: 4.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.02541, allocations: 151.9 kB / 254.4 MB, free: 4.156 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.02541, allocations: 4 kB / 254.4 MB, free: 4.152 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005013/0.02591, allocations: 334.6 kB / 254.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.02593, allocations: 4 kB / 254.7 MB, free: 3.809 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.02593, allocations: 0 / 254.7 MB, free: 3.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008677/0.0268, allocations: 301.4 kB / 255 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.02703, allocations: 74.45 kB / 255.1 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/0.02969, allocations: 3.15 MB / 258.2 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.02982, allocations: 8 kB / 258.2 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.02984, allocations: 8 kB / 258.3 MB, free: 108 kB / 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.0001196/0.02996, allocations: 141.7 kB / 258.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.03001, allocations: 27.97 kB / 258.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.061e-05/0.03008, allocations: 38.95 kB / 258.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.03008, allocations: 4 kB / 258.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.03008, allocations: 0 / 258.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.03009, allocations: 4 kB / 258.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.03121, allocations: 0.5765 MB / 259 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.03122, allocations: 4 kB / 259 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.03141, allocations: 58.7 kB / 259.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.03144, allocations: 23.86 kB / 259.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009932/0.03243, allocations: 285.4 kB / 259.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.03245, allocations: 8 kB / 259.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002759/0.03521, allocations: 3.143 MB / 262.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.03521, allocations: 3.938 kB / 262.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000603/0.03582, allocations: 462.7 kB / 263 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.03584, allocations: 11.98 kB / 263 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.753e-05/0.03593, allocations: 12.03 kB / 263 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.03598, allocations: 39.81 kB / 263.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.03599, allocations: 8 kB / 263.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.196e-05/0.03604, allocations: 74.78 kB / 263.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03604, allocations: 0 / 263.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003288/0.03637, allocations: 100 kB / 263.3 MB, free: 10.86 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 9.722e-05/0.03647, allocations: 88.42 kB / 263.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000672/0.03714, allocations: 449.7 kB / 263.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/0.03716, allocations: 4 kB / 263.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.03739, allocations: 382 kB / 264.2 MB, free: 9.887 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.03757, allocations: 48.48 kB / 264.2 MB, free: 9.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.03971, allocations: 0.6467 MB / 264.8 MB, free: 9.156 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.325e-05/0.03979, allocations: 105.1 kB / 264.9 MB, free: 9.031 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.229e-05/0.03985, allocations: 22.28 kB / 265 MB, free: 9.012 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.858e-05/0.03993, allocations: 79.36 kB / 265 MB, free: 8.934 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.03993, allocations: 0 / 265 MB, free: 8.934 MB / 266.7 MB Notification: Performance of Templates: time 0.007705/0.04763, allocations: 6.33 MB / 271.4 MB, free: 2.637 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 240] 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","",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.7489460799843073]