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.00136/0.00136, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.001483/0.001483, allocations: 187.5 kB / 24.45 MB, free: 3.867 MB / 14.72 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.427/1.427, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 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 0.001697/0.001697, allocations: 43.92 kB / 371.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2374, allocations: 52.18 MB / 423.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004352/0.2418, allocations: 2.593 MB / 426.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.2433, allocations: 0.8178 MB / 427.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.2435, allocations: 4 kB / 427.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.2438, allocations: 55.52 kB / 427.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.2441, allocations: 103.2 kB / 427.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.2443, allocations: 103.8 kB / 427.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004255/0.2448, allocations: 354.6 kB / 427.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.2449, allocations: 72.94 kB / 427.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.2452, allocations: 139.4 kB / 428 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.2454, allocations: 135.4 kB / 428.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.436e-05/0.2454, allocations: 28 kB / 428.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.453e-05/0.2455, allocations: 28 kB / 428.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.909e-05/0.2456, allocations: 63.77 kB / 428.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.2457, allocations: 139.3 kB / 428.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.2461, allocations: 370.1 kB / 428.8 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2461, allocations: 0 / 428.8 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2461, allocations: 0 / 428.8 MB, free: 9.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.2461, allocations: 0 / 428.8 MB, free: 9.527 MB / 334.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.001029/0.2472, allocations: 0.5325 MB / 429.3 MB, free: 8.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2472, allocations: 12.03 kB / 429.3 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.031e-05/0.2473, allocations: 32.75 kB / 429.4 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.2476, allocations: 206 kB / 429.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.2477, allocations: 24.97 kB / 429.6 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.2477, allocations: 28.38 kB / 429.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.2482, allocations: 280.1 kB / 429.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2483, allocations: 0 / 429.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.2483, allocations: 8 kB / 429.9 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2483, allocations: 12 kB / 429.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004523/0.2487, allocations: 206.5 kB / 430.1 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.2503, allocations: 0.8009 MB / 430.9 MB, free: 7.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.2507, allocations: 194.4 kB / 431.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.251, allocations: 96.81 kB / 431.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.251, allocations: 0 / 431.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.251, allocations: 42.59 kB / 431.2 MB, free: 6.934 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.132e-06/0.251, allocations: 0 / 431.2 MB, free: 6.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.004902/0.2559, allocations: 1.394 MB / 432.6 MB, free: 5.504 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.256, allocations: 59.27 kB / 432.7 MB, free: 5.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.2562, allocations: 232 kB / 432.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.2563, allocations: 41.7 kB / 433 MB, free: 5.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.2564, allocations: 188.4 kB / 433.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.2565, allocations: 126.9 kB / 433.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.2566, allocations: 62.08 kB / 433.3 MB, free: 4.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2568, allocations: 334.8 kB / 433.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.257, allocations: 104.7 kB / 433.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.2573, allocations: 163 kB / 433.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/0.2579, allocations: 288 kB / 434.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.2579, allocations: 0 / 434.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00156/0.2594, allocations: 0.5295 MB / 434.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2595, allocations: 8 kB / 434.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2595, allocations: 0 / 434.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.2607, allocations: 245.4 kB / 435 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.2609, allocations: 59.91 kB / 435 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005045/0.266, allocations: 3.842 MB / 438.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.2662, allocations: 15.94 kB / 438.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.2662, allocations: 8 kB / 438.9 MB, free: 14.94 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.0001751/0.2664, allocations: 153.8 kB / 439 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.2665, allocations: 35.73 kB / 439.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.2666, allocations: 34.66 kB / 439.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2666, allocations: 4 kB / 439.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.2666, allocations: 4 kB / 439.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.2666, allocations: 3.984 kB / 439.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.2687, allocations: 0.8531 MB / 440 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.2687, allocations: 7.938 kB / 440 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.2689, allocations: 51.97 kB / 440 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.2701, allocations: 237.4 kB / 440.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.2701, allocations: 4 kB / 440.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004706/0.2748, allocations: 3.839 MB / 444.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.2748, allocations: 4.031 kB / 444.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.2767, allocations: 0.7247 MB / 444.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.2767, allocations: 23.89 kB / 444.9 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.2767, allocations: 12.05 kB / 444.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.277, allocations: 12 kB / 444.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/0.277, allocations: 35.88 kB / 444.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.2771, allocations: 8 kB / 444.9 MB, free: 8.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.2772, allocations: 163 kB / 445.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2772, allocations: 0 / 445.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005811/0.2778, allocations: 100 kB / 445.2 MB, free: 8.348 MB / 350.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.0001277/0.2779, allocations: 107.2 kB / 445.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009958/0.2789, allocations: 0.5475 MB / 445.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.2789, allocations: 4 kB / 445.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005996/0.2795, allocations: 421.5 kB / 446.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.2798, allocations: 26.36 kB / 446.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.2812, allocations: 0.7398 MB / 447 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.2814, allocations: 172.2 kB / 447.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.2814, allocations: 19.44 kB / 447.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2814, allocations: 4 kB / 447.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of Templates: time 0.00866/0.2901, allocations: 6.077 MB / 453.3 MB, free: 112 kB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/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: 7.709334713872522]