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.001342/0.001342, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001601/0.001601, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.9606/0.9606, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.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 2.124e-06/2.124e-06, allocations: 0 / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.103e-05, allocations: 2.312 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004307/0.004338, allocations: 2.799 MB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.005992, allocations: 0.9422 MB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.006196, allocations: 4 kB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.006496, allocations: 59.44 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.006843, allocations: 115.1 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.007187, allocations: 111.7 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.007595, allocations: 366.4 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.007772, allocations: 70.03 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.008108, allocations: 215.5 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.008299, allocations: 111.7 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.784e-05/0.008347, allocations: 31.94 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.321e-05/0.00843, allocations: 39.94 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.008485, allocations: 71.73 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.008592, allocations: 103.8 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.008954, allocations: 243.1 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.008959, allocations: 0 / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.00896, allocations: 0 / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.008966, allocations: 0 / 278.2 MB, free: 12.25 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.0009408/0.009907, allocations: 0.6402 MB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.009949, allocations: 8.031 kB / 278.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.01013, allocations: 64.69 kB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.01039, allocations: 209 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.01042, allocations: 25.03 kB / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.01045, allocations: 28.38 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.01075, allocations: 233 kB / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.01076, allocations: 192 / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.01078, allocations: 12.38 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.0108, allocations: 7.938 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.01097, allocations: 111.8 kB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000931/0.0119, allocations: 0.832 MB / 280.4 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.01213, allocations: 150.9 kB / 280.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.01226, allocations: 75.64 kB / 280.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.01228, allocations: 4 kB / 280.6 MB, free: 9.707 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.0123, allocations: 41.33 kB / 280.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 2.385e-06/0.0123, allocations: 4 kB / 280.6 MB, free: 9.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002451/0.01476, allocations: 1.219 MB / 281.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.01478, allocations: 55.41 kB / 281.9 MB, free: 8.324 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.01495, allocations: 276.3 kB / 282.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.01497, allocations: 33.69 kB / 282.2 MB, free: 8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.483e-05/0.01506, allocations: 239.2 kB / 282.4 MB, free: 7.762 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/0.01513, allocations: 134.8 kB / 282.6 MB, free: 7.629 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.0152, allocations: 67.73 kB / 282.6 MB, free: 7.551 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.01532, allocations: 0.5156 MB / 283.2 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.473e-05/0.01542, allocations: 52.72 kB / 283.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.01554, allocations: 123.6 kB / 283.3 MB, free: 6.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.01576, allocations: 198.1 kB / 283.5 MB, free: 6.617 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.01576, allocations: 0 / 283.5 MB, free: 6.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006954/0.01645, allocations: 439.9 kB / 284 MB, free: 6.172 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.01647, allocations: 8 kB / 284 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.01647, allocations: 0 / 284 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008523/0.01733, allocations: 315 kB / 284.3 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.01747, allocations: 59.91 kB / 284.3 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002838/0.02031, allocations: 4.606 MB / 288.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.305e-05/0.0204, allocations: 8 kB / 288.9 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.02042, allocations: 12 kB / 289 MB, free: 0.9219 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.0001086/0.02053, allocations: 172.5 kB / 289.1 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.02057, allocations: 47.8 kB / 289.2 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/0.02061, allocations: 38.95 kB / 289.2 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.02062, allocations: 4 kB / 289.2 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.02062, allocations: 3.938 kB / 289.2 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.02063, allocations: 8.016 kB / 289.2 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.02164, allocations: 0.7923 MB / 290 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.02164, allocations: 4 kB / 290 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.02175, allocations: 43.91 kB / 290.1 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007915/0.02254, allocations: 311.1 kB / 290.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.02256, allocations: 8 kB / 290.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/0.02513, allocations: 4.588 MB / 295 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02513, allocations: 0 / 295 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007946/0.02592, allocations: 0.6032 MB / 295.6 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.02595, allocations: 35.67 kB / 295.6 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.02597, allocations: 8 kB / 295.6 MB, free: 9.914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.004e-05/0.02606, allocations: 8 kB / 295.6 MB, free: 9.906 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.02613, allocations: 35.92 kB / 295.7 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.02615, allocations: 15.98 kB / 295.7 MB, free: 9.855 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.633e-05/0.02624, allocations: 193.1 kB / 295.9 MB, free: 9.668 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02624, allocations: 0 / 295.9 MB, free: 9.668 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003607/0.02661, allocations: 104 kB / 296 MB, free: 9.566 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.000107/0.02671, allocations: 107.2 kB / 296.1 MB, free: 9.453 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005551/0.02727, allocations: 0.5807 MB / 296.6 MB, free: 8.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.02727, allocations: 8.25 kB / 296.7 MB, free: 8.824 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.02757, allocations: 0.503 MB / 297.2 MB, free: 8.281 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.0278, allocations: 36.36 kB / 297.2 MB, free: 8.246 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.02882, allocations: 0.6347 MB / 297.8 MB, free: 7.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.157e-05/0.02889, allocations: 101.1 kB / 297.9 MB, free: 7.445 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.563e-05/0.02895, allocations: 22.27 kB / 297.9 MB, free: 7.422 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.02899, allocations: 28.5 kB / 298 MB, free: 7.395 MB / 282.7 MB Notification: Performance of SimCode: time 1.342e-06/0.02899, allocations: 0 / 298 MB, free: 7.395 MB / 282.7 MB Notification: Performance of Templates: time 0.007874/0.03687, allocations: 6.102 MB / 304.1 MB, free: 1.32 MB / 282.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 -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.9973658272065222]