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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009958/0.0009957, allocations: 111.5 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009247/0.0009248, allocations: 35.94 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2385, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.003515/0.2421, allocations: 2.775 MB / 402.3 MB, free: 30.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.2435, allocations: 0.8518 MB / 403.1 MB, free: 29.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.2438, allocations: 8 kB / 403.1 MB, free: 29.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.244, allocations: 47.69 kB / 403.2 MB, free: 29.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.2443, allocations: 87.38 kB / 403.3 MB, free: 29.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.2445, allocations: 83.91 kB / 403.3 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.2447, allocations: 346.6 kB / 403.7 MB, free: 29.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.2449, allocations: 98.22 kB / 403.8 MB, free: 29.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.245, allocations: 115.5 kB / 403.9 MB, free: 28.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.2452, allocations: 151.3 kB / 404 MB, free: 28.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.2452, allocations: 20 kB / 404 MB, free: 28.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.93e-05/0.2453, allocations: 16 kB / 404.1 MB, free: 28.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.2453, allocations: 59.7 kB / 404.1 MB, free: 28.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.827e-05/0.2454, allocations: 143.3 kB / 404.3 MB, free: 28.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.2457, allocations: 348.2 kB / 404.6 MB, free: 28.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2457, allocations: 7.938 kB / 404.6 MB, free: 28.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2457, allocations: 0 / 404.6 MB, free: 28.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2457, allocations: 0 / 404.6 MB, free: 28.24 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.0008334/0.2465, allocations: 0.6003 MB / 405.2 MB, free: 27.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2466, allocations: 12.02 kB / 405.2 MB, free: 27.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.2466, allocations: 32.56 kB / 405.3 MB, free: 27.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.2469, allocations: 256.3 kB / 405.5 MB, free: 27.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.2469, allocations: 20.94 kB / 405.5 MB, free: 27.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.2469, allocations: 32.36 kB / 405.6 MB, free: 27.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.2473, allocations: 249.2 kB / 405.8 MB, free: 26.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2473, allocations: 0 / 405.8 MB, free: 26.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.2474, allocations: 11.98 kB / 405.8 MB, free: 26.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.2474, allocations: 12 kB / 405.8 MB, free: 26.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/0.2477, allocations: 210.1 kB / 406 MB, free: 26.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.2489, allocations: 1.005 MB / 407 MB, free: 25.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.2493, allocations: 202.6 kB / 407.2 MB, free: 25.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.2495, allocations: 115.1 kB / 407.3 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.2496, allocations: 7.938 kB / 407.4 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.2496, allocations: 34.97 kB / 407.4 MB, free: 25.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.333e-06/0.2496, allocations: 0 / 407.4 MB, free: 25.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.004389/0.254, allocations: 1.536 MB / 408.9 MB, free: 23.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.254, allocations: 59.34 kB / 409 MB, free: 23.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.2542, allocations: 232.9 kB / 409.2 MB, free: 23.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.2542, allocations: 29.7 kB / 409.2 MB, free: 23.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.2543, allocations: 176.2 kB / 409.4 MB, free: 23.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/0.2544, allocations: 122.2 kB / 409.5 MB, free: 23.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.839e-05/0.2545, allocations: 70.06 kB / 409.6 MB, free: 22.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.2546, allocations: 334.8 kB / 409.9 MB, free: 22.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.2548, allocations: 108.7 kB / 410 MB, free: 22.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.255, allocations: 153.5 kB / 410.2 MB, free: 22.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/0.2554, allocations: 284 kB / 410.5 MB, free: 22.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2554, allocations: 0 / 410.5 MB, free: 22.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001328/0.2567, allocations: 0.541 MB / 411 MB, free: 21.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2568, allocations: 4 kB / 411 MB, free: 21.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2568, allocations: 4 kB / 411 MB, free: 21.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.2579, allocations: 249.4 kB / 411.2 MB, free: 21.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.2582, allocations: 55.91 kB / 411.3 MB, free: 21.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003443/0.2616, allocations: 3.733 MB / 415 MB, free: 17.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.2618, allocations: 12.02 kB / 415 MB, free: 17.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.2619, allocations: 16 kB / 415.1 MB, free: 17.15 MB / 298.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.0001133/0.262, allocations: 141.8 kB / 415.2 MB, free: 17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.262, allocations: 24 kB / 415.2 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.497e-05/0.2621, allocations: 47.02 kB / 415.3 MB, free: 16.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.2621, allocations: 7.938 kB / 415.3 MB, free: 16.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.2622, allocations: 7.938 kB / 415.3 MB, free: 16.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2622, allocations: 0 / 415.3 MB, free: 16.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.2639, allocations: 0.9821 MB / 416.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2639, allocations: 0 / 416.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.2641, allocations: 47.97 kB / 416.3 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.2651, allocations: 241.4 kB / 416.6 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.2652, allocations: 8 kB / 416.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003115/0.2683, allocations: 3.713 MB / 420.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.2683, allocations: 3.938 kB / 420.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/0.2819, allocations: 8.144 MB / 428.4 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.282, allocations: 104.8 kB / 428.5 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.282, allocations: 8 kB / 428.5 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.2822, allocations: 11.94 kB / 428.5 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.2824, allocations: 28.08 kB / 428.6 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.2824, allocations: 16 kB / 428.6 MB, free: 2.809 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.2825, allocations: 164.5 kB / 428.7 MB, free: 2.648 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2825, allocations: 0 / 428.7 MB, free: 2.648 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007191/0.2833, allocations: 152 kB / 428.9 MB, free: 2.5 MB / 298.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.0001005/0.2834, allocations: 107.2 kB / 429 MB, free: 2.383 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007827/0.2842, allocations: 0.5669 MB / 429.6 MB, free: 1.789 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2842, allocations: 4 kB / 429.6 MB, free: 1.785 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004299/0.2846, allocations: 429.5 kB / 430 MB, free: 1.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.2849, allocations: 24.42 kB / 430 MB, free: 1.312 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.2864, allocations: 1.381 MB / 431.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.2868, allocations: 0.7961 MB / 432.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.2869, allocations: 26.28 kB / 432.2 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.2869, allocations: 15.72 kB / 432.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2869, allocations: 0 / 432.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of Templates: time 0.01258/0.2995, allocations: 8.222 MB / 440.5 MB, free: 6.801 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches