Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001631/0.001631, allocations: 179.5 kB / 8.479 MB, free: 1.891 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.2 MB / 214.1 MB, free: 5.16 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009059/0.0009058, allocations: 90.23 kB / 262.1 MB, free: 5.195 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.801e-06/5.841e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06818/0.0682, allocations: 47.58 MB / 362.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2475/0.3157, allocations: 78.42 MB / 441 MB, free: 10.64 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.3159, allocations: 71.75 kB / 441 MB, free: 10.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01673/0.3327, allocations: 6.551 MB / 447.6 MB, free: 9.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3327, allocations: 11.66 kB / 447.6 MB, free: 9.676 MB / 314.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.0006388/0.3334, allocations: 0.5284 MB / 448.1 MB, free: 9.219 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3334, allocations: 7.688 kB / 448.1 MB, free: 9.219 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.3335, allocations: 38.75 kB / 448.2 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.3338, allocations: 268.2 kB / 448.4 MB, free: 8.953 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.3338, allocations: 7.5 kB / 448.4 MB, free: 8.953 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.3338, allocations: 18.81 kB / 448.5 MB, free: 8.949 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003017/0.3341, allocations: 169.3 kB / 448.6 MB, free: 8.945 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.3345, allocations: 198.3 kB / 448.8 MB, free: 8.879 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3345, allocations: 0 / 448.8 MB, free: 8.879 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.3345, allocations: 4 kB / 448.8 MB, free: 8.875 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3345, allocations: 7.562 kB / 448.8 MB, free: 8.875 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.3358, allocations: 0.9633 MB / 449.8 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.336, allocations: 130.3 kB / 449.9 MB, free: 8.207 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.3361, allocations: 97.19 kB / 450 MB, free: 8.195 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.3362, allocations: 3.844 kB / 450 MB, free: 8.195 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.3362, allocations: 42.48 kB / 450.1 MB, free: 8.148 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.243e-06/0.3362, allocations: 0 / 450.1 MB, free: 8.148 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.003226/0.3394, allocations: 1.101 MB / 451.2 MB, free: 7.633 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.3395, allocations: 59.31 kB / 451.2 MB, free: 7.566 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3396, allocations: 181.6 kB / 451.4 MB, free: 7.457 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.3396, allocations: 25.7 kB / 451.4 MB, free: 7.426 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.3397, allocations: 165.6 kB / 451.6 MB, free: 7.281 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.3398, allocations: 116 kB / 451.7 MB, free: 7.195 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-05/0.3398, allocations: 0 / 451.7 MB, free: 7.195 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.375e-05/0.3398, allocations: 335.7 kB / 452 MB, free: 6.871 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.34, allocations: 93.73 kB / 452.1 MB, free: 6.867 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.3402, allocations: 142.8 kB / 452.2 MB, free: 6.805 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.3403, allocations: 110.9 kB / 452.4 MB, free: 6.789 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3403, allocations: 0 / 452.4 MB, free: 6.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001369/0.3417, allocations: 494.3 kB / 452.8 MB, free: 6.633 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3417, allocations: 11.36 kB / 452.9 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3417, allocations: 0 / 452.9 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007778/0.3425, allocations: 187.8 kB / 453 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.3428, allocations: 54.28 kB / 453.1 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/0.3462, allocations: 3.573 MB / 456.7 MB, free: 3.797 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.3465, allocations: 7.734 kB / 456.7 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.3465, allocations: 11.75 kB / 456.7 MB, free: 3.793 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 7.542e-05/0.3466, allocations: 109 kB / 456.8 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.3467, allocations: 30.88 kB / 456.8 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.388e-05/0.3467, allocations: 36.45 kB / 456.9 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3467, allocations: 3.844 kB / 456.9 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3467, allocations: 4 kB / 456.9 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3468, allocations: 0 / 456.9 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.3485, allocations: 0.8623 MB / 457.7 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3485, allocations: 0 / 457.7 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.3487, allocations: 48.84 kB / 457.8 MB, free: 3.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007335/0.3494, allocations: 182.8 kB / 457.9 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.3495, allocations: 3.719 kB / 458 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003711/0.3532, allocations: 3.577 MB / 461.5 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3532, allocations: 4.062 kB / 461.5 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001502/0.3547, allocations: 0.6802 MB / 462.2 MB, free: 16.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.3548, allocations: 100.4 kB / 462.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.3548, allocations: 4 kB / 462.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.3551, allocations: 15.73 kB / 462.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.3551, allocations: 15.42 kB / 462.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.3551, allocations: 15.61 kB / 462.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001031/0.3553, allocations: 151.1 kB / 462.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005214/0.3558, allocations: 84.56 kB / 462.6 MB, free: 15.85 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001528/0.3559, allocations: 114 kB / 462.7 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006066/0.3566, allocations: 472 kB / 463.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3566, allocations: 1.281 kB / 463.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004157/0.357, allocations: 358.3 kB / 463.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.3572, allocations: 16.11 kB / 463.5 MB, free: 15.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.3582, allocations: 472 kB / 464 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/0.3586, allocations: 0.7973 MB / 464.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3586, allocations: 3.844 kB / 464.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of Templates: time 0.009403/0.368, allocations: 5.504 MB / 470.3 MB, free: 11.57 MB / 330.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