Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008771/0.0008772, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007593/0.0007593, allocations: 94.3 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002603, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2286, allocations: 47.57 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.002625/0.2313, allocations: 2.264 MB / 378.9 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.2329, allocations: 0.8216 MB / 379.7 MB, free: 43.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.233, allocations: 4.406 kB / 379.7 MB, free: 43.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.2333, allocations: 49.75 kB / 379.7 MB, free: 43.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.2335, allocations: 95.39 kB / 379.8 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.2338, allocations: 91.31 kB / 379.9 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.2341, allocations: 334 kB / 380.2 MB, free: 42.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.2343, allocations: 94.55 kB / 380.3 MB, free: 42.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.2345, allocations: 120 kB / 380.4 MB, free: 42.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.2347, allocations: 132.4 kB / 380.6 MB, free: 42.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.2348, allocations: 16.03 kB / 380.6 MB, free: 42.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.227e-05/0.2348, allocations: 15.38 kB / 380.6 MB, free: 42.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.2349, allocations: 55.88 kB / 380.7 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.235, allocations: 170.3 kB / 380.8 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.2353, allocations: 330.3 kB / 381.2 MB, free: 42.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2353, allocations: 3.344 kB / 381.2 MB, free: 42.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2353, allocations: 0 / 381.2 MB, free: 42.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.2353, allocations: 0 / 381.2 MB, free: 42.16 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.0008811/0.2362, allocations: 0.5526 MB / 381.7 MB, free: 41.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2363, allocations: 9.344 kB / 381.7 MB, free: 41.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.846e-05/0.2364, allocations: 36.34 kB / 381.8 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.2366, allocations: 260.5 kB / 382 MB, free: 41.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.2367, allocations: 24.23 kB / 382 MB, free: 41.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.2367, allocations: 29.06 kB / 382.1 MB, free: 41.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.2372, allocations: 255.3 kB / 382.3 MB, free: 41.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.2373, allocations: 5.219 kB / 382.3 MB, free: 41.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.2373, allocations: 10.66 kB / 382.3 MB, free: 41.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.2373, allocations: 5.656 kB / 382.3 MB, free: 41.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.2378, allocations: 219.9 kB / 382.5 MB, free: 41.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.2394, allocations: 1.004 MB / 383.5 MB, free: 40.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004645/0.2399, allocations: 210.4 kB / 383.8 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.2402, allocations: 109.6 kB / 383.9 MB, free: 40.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.2402, allocations: 6.953 kB / 383.9 MB, free: 40.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.2403, allocations: 35.38 kB / 383.9 MB, free: 40 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.164e-06/0.2403, allocations: 1.406 kB / 383.9 MB, free: 40 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.00575/0.246, allocations: 1.55 MB / 385.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.2461, allocations: 58.78 kB / 385.5 MB, free: 38.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.2464, allocations: 235.1 kB / 385.7 MB, free: 38.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.2464, allocations: 35.08 kB / 385.8 MB, free: 38.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.2465, allocations: 184.2 kB / 386 MB, free: 38.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.175e-05/0.2466, allocations: 119.3 kB / 386.1 MB, free: 38.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/0.2466, allocations: 10.88 kB / 386.1 MB, free: 38.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.2466, allocations: 335.4 kB / 386.4 MB, free: 38.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.2469, allocations: 105.9 kB / 386.5 MB, free: 38.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.2472, allocations: 172.3 kB / 386.7 MB, free: 37.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/0.2476, allocations: 283.8 kB / 387 MB, free: 37.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2476, allocations: 4 kB / 387 MB, free: 37.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001347/0.249, allocations: 0.537 MB / 387.5 MB, free: 37.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.249, allocations: 10.8 kB / 387.5 MB, free: 37.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.249, allocations: 0 / 387.5 MB, free: 37.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.2503, allocations: 261.4 kB / 387.8 MB, free: 36.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.2506, allocations: 55.91 kB / 387.8 MB, free: 36.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003666/0.2543, allocations: 3.74 MB / 391.6 MB, free: 32.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.2545, allocations: 16.09 kB / 391.6 MB, free: 32.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.2546, allocations: 15.98 kB / 391.6 MB, free: 32.84 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.000141/0.2547, allocations: 145.8 kB / 391.7 MB, free: 32.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.2548, allocations: 27.72 kB / 391.8 MB, free: 32.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.027e-05/0.2548, allocations: 38.95 kB / 391.8 MB, free: 32.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2548, allocations: 7.938 kB / 391.8 MB, free: 32.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.2549, allocations: 0 / 391.8 MB, free: 32.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2549, allocations: 4 kB / 391.8 MB, free: 32.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.2567, allocations: 0.996 MB / 392.8 MB, free: 31.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2567, allocations: 4 kB / 392.8 MB, free: 31.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.2569, allocations: 48.03 kB / 392.9 MB, free: 31.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/0.2581, allocations: 257.3 kB / 393.1 MB, free: 31.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.2582, allocations: 4 kB / 393.1 MB, free: 31.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003222/0.2614, allocations: 3.728 MB / 396.8 MB, free: 27.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2614, allocations: 8.031 kB / 396.8 MB, free: 27.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.263, allocations: 0.7327 MB / 397.6 MB, free: 26.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.2631, allocations: 104.9 kB / 397.7 MB, free: 26.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.2631, allocations: 11.94 kB / 397.7 MB, free: 26.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.2633, allocations: 12 kB / 397.7 MB, free: 26.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/0.2634, allocations: 27.95 kB / 397.7 MB, free: 26.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.2634, allocations: 15.98 kB / 397.8 MB, free: 26.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.2636, allocations: 156.5 kB / 397.9 MB, free: 26.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2636, allocations: 0 / 397.9 MB, free: 26.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005756/0.2642, allocations: 108 kB / 398 MB, free: 26.03 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.000124/0.2643, allocations: 111.2 kB / 398.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008167/0.2651, allocations: 0.5633 MB / 398.7 MB, free: 25.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2651, allocations: 0 / 398.7 MB, free: 25.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004341/0.2656, allocations: 429.4 kB / 399.1 MB, free: 24.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.2659, allocations: 28.38 kB / 399.1 MB, free: 24.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.267, allocations: 0.8851 MB / 400 MB, free: 23.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.2671, allocations: 0.776 MB / 400.8 MB, free: 23.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.648e-05/0.2672, allocations: 18.3 kB / 400.8 MB, free: 23.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.2673, allocations: 23.42 kB / 400.8 MB, free: 23.08 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2673, allocations: 0 / 400.8 MB, free: 23.08 MB / 298.7 MB Notification: Performance of Templates: time 0.007586/0.2749, allocations: 5.232 MB / 406.1 MB, free: 17.85 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches