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.0008058/0.0008058, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003518/0.003518, allocations: 160.7 kB / 24.7 MB, free: 8.898 MB / 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.856/0.856, allocations: 177.1 MB / 205 MB, free: 5.723 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.544e-06/2.544e-06, allocations: 3.938 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.77e-05/4.025e-05, allocations: 8.469 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004835/0.004875, allocations: 2.619 MB / 328.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.006581, allocations: 0.8994 MB / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.006771, allocations: 8 kB / 329.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.007049, allocations: 67.33 kB / 329.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.007401, allocations: 111.2 kB / 329.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.007793, allocations: 119.6 kB / 329.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004333/0.008227, allocations: 358.5 kB / 330 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.008433, allocations: 74.03 kB / 330.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004241/0.008857, allocations: 211.5 kB / 330.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.009056, allocations: 103.7 kB / 330.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.009099, allocations: 32 kB / 330.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.622e-05/0.009176, allocations: 39.92 kB / 330.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.009235, allocations: 71.67 kB / 330.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.843e-05/0.009334, allocations: 107.8 kB / 330.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000449/0.009783, allocations: 378.7 kB / 331 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.009787, allocations: 0 / 331 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.009788, allocations: 0 / 331 MB, free: 10.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.009796, allocations: 0 / 331 MB, free: 10.23 MB / 298.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.001023/0.01082, allocations: 0.5442 MB / 331.5 MB, free: 9.656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.01086, allocations: 8.031 kB / 331.5 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.01104, allocations: 40.75 kB / 331.6 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/0.01141, allocations: 202.2 kB / 331.8 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.01144, allocations: 25.03 kB / 331.8 MB, free: 9.359 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.01149, allocations: 28.38 kB / 331.8 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004675/0.01196, allocations: 276.3 kB / 332.1 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.01197, allocations: 192 / 332.1 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.01199, allocations: 16.31 kB / 332.1 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.012, allocations: 11.94 kB / 332.1 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.01238, allocations: 214.5 kB / 332.3 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.0137, allocations: 0.8099 MB / 333.2 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.01407, allocations: 194.2 kB / 333.3 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.0143, allocations: 105.9 kB / 333.4 MB, free: 7.645 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.01432, allocations: 0 / 333.4 MB, free: 7.645 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.01436, allocations: 42.5 kB / 333.5 MB, free: 7.594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.01436, allocations: 0 / 333.5 MB, free: 7.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.003828/0.01819, allocations: 1.396 MB / 334.9 MB, free: 6.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.01822, allocations: 55.41 kB / 334.9 MB, free: 6.094 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.01844, allocations: 233.7 kB / 335.2 MB, free: 5.855 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.01847, allocations: 37.7 kB / 335.2 MB, free: 5.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.01858, allocations: 180.5 kB / 335.4 MB, free: 5.629 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.502e-05/0.01867, allocations: 123 kB / 335.5 MB, free: 5.508 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.01877, allocations: 70.02 kB / 335.6 MB, free: 5.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.01888, allocations: 342.8 kB / 335.9 MB, free: 5.086 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.01907, allocations: 108.6 kB / 336 MB, free: 4.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.01929, allocations: 165.3 kB / 336.2 MB, free: 4.805 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.01972, allocations: 280 kB / 336.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01972, allocations: 0 / 336.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001153/0.02087, allocations: 0.5218 MB / 337 MB, free: 3.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.0209, allocations: 12.03 kB / 337 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.02091, allocations: 3.984 kB / 337 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008885/0.02179, allocations: 237.5 kB / 337.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.02202, allocations: 63.91 kB / 337.3 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003992/0.02602, allocations: 3.845 MB / 341.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.02619, allocations: 20.08 kB / 341.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.02622, allocations: 8 kB / 341.1 MB, free: 15.59 MB / 314.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.0001782/0.02639, allocations: 157.7 kB / 341.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.0265, allocations: 27.8 kB / 341.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.02665, allocations: 42.95 kB / 341.4 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.02666, allocations: 4 kB / 341.4 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.02667, allocations: 3.938 kB / 341.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.02667, allocations: 3.984 kB / 341.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.028, allocations: 0.8558 MB / 342.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.028, allocations: 0 / 342.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.02813, allocations: 48.19 kB / 342.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005596/0.02869, allocations: 245.5 kB / 342.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.02871, allocations: 8 kB / 342.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/0.03158, allocations: 3.83 MB / 346.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.03158, allocations: 128 / 346.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009369/0.03252, allocations: 0.7207 MB / 347.1 MB, free: 9.359 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.03255, allocations: 31.8 kB / 347.1 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.03257, allocations: 4 kB / 347.1 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.03267, allocations: 15.98 kB / 347.1 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.03274, allocations: 35.86 kB / 347.2 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.03275, allocations: 12 kB / 347.2 MB, free: 9.262 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.03285, allocations: 165.2 kB / 347.3 MB, free: 9.098 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03285, allocations: 0 / 347.3 MB, free: 9.098 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004056/0.03326, allocations: 104.3 kB / 347.4 MB, free: 8.996 MB / 314.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.0001174/0.03337, allocations: 107.2 kB / 347.5 MB, free: 8.879 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006469/0.03402, allocations: 0.5476 MB / 348.1 MB, free: 8.305 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.03402, allocations: 3.938 kB / 348.1 MB, free: 8.301 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.03432, allocations: 421.1 kB / 348.5 MB, free: 7.863 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.03457, allocations: 24.38 kB / 348.5 MB, free: 7.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009477/0.03552, allocations: 0.6881 MB / 349.2 MB, free: 7.121 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.03563, allocations: 169.7 kB / 349.4 MB, free: 6.934 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.03568, allocations: 24.48 kB / 349.4 MB, free: 6.91 MB / 314.7 MB Notification: Performance of SimCode: time 6.92e-07/0.03569, allocations: 0 / 349.4 MB, free: 6.91 MB / 314.7 MB Notification: Performance of Templates: time 0.005546/0.04123, allocations: 6.221 MB / 355.6 MB, free: 0.6797 MB / 314.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=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.715877830050886]