Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [: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 trunk/package.mo): time 0.001292/0.001292, allocations: 208.9 kB / 8.542 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008641/0.000864, allocations: 87.5 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.093e-06, allocations: 0 / 343.1 MB, free: 8.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08466/0.08469, allocations: 51.48 MB / 394.6 MB, free: 5.129 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.228/0.3127, allocations: 78.41 MB / 473 MB, free: 13.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/0.313, allocations: 69.94 kB / 473.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01367/0.3267, allocations: 3.036 MB / 476.1 MB, free: 11.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.3267, allocations: 0 / 476.1 MB, free: 11.74 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006724/0.3274, allocations: 442.2 kB / 476.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3274, allocations: 8.031 kB / 476.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000627/0.3281, allocations: 58.03 kB / 476.6 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.3283, allocations: 194.2 kB / 476.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.3283, allocations: 8 kB / 476.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.3283, allocations: 8 kB / 476.8 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002247/0.3286, allocations: 67.77 kB / 476.9 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.3288, allocations: 120.5 kB / 477 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3289, allocations: 3.906 kB / 477 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.3289, allocations: 0 / 477 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.3289, allocations: 4 kB / 477 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009413/0.3299, allocations: 479 kB / 477.5 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.33, allocations: 67.5 kB / 477.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.3302, allocations: 58.36 kB / 477.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3302, allocations: 0 / 477.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.3303, allocations: 34.56 kB / 477.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.3303, allocations: 0 / 477.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002845/0.3306, allocations: 82.77 kB / 477.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.3306, allocations: 102.8 kB / 477.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3308, allocations: 132.6 kB / 478 MB, free: 10.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3308, allocations: 25.7 kB / 478 MB, free: 10.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.3308, allocations: 116.5 kB / 478.1 MB, free: 9.914 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.3309, allocations: 30.64 kB / 478.1 MB, free: 9.891 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/0.3309, allocations: 0 / 478.1 MB, free: 9.891 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.723e-05/0.3309, allocations: 322.3 kB / 478.4 MB, free: 9.574 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.361e-05/0.331, allocations: 27.62 kB / 478.5 MB, free: 9.559 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.3311, allocations: 64.11 kB / 478.5 MB, free: 9.492 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.85e-05/0.3312, allocations: 30.83 kB / 478.6 MB, free: 9.477 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3312, allocations: 0 / 478.6 MB, free: 9.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002751/0.3315, allocations: 110.6 kB / 478.7 MB, free: 9.391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.3316, allocations: 8 kB / 478.7 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3316, allocations: 4 kB / 478.7 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3316, allocations: 0 / 478.7 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009055/0.3325, allocations: 88.91 kB / 478.8 MB, free: 9.316 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.3339, allocations: 1.328 MB / 480.1 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.3342, allocations: 26.67 kB / 480.1 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.3343, allocations: 11.75 kB / 480.1 MB, free: 7.906 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.812e-05/0.3343, allocations: 109 kB / 480.2 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.3344, allocations: 15.81 kB / 480.3 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000437/0.3349, allocations: 121.9 kB / 480.4 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3349, allocations: 4 kB / 480.4 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.3349, allocations: 1.062 kB / 480.4 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3349, allocations: 0 / 480.4 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007259/0.3356, allocations: 399.4 kB / 480.8 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3357, allocations: 0.8438 kB / 480.8 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.3359, allocations: 30.61 kB / 480.8 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003326/0.3362, allocations: 35.58 kB / 480.8 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.3363, allocations: 4.031 kB / 480.8 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.3373, allocations: 1.247 MB / 482.1 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3373, allocations: 0 / 482.1 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005074/0.3379, allocations: 260.2 kB / 482.3 MB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.3379, allocations: 89.61 kB / 482.4 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.338, allocations: 0 / 482.4 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.3383, allocations: 17.41 kB / 482.4 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.3383, allocations: 9.922 kB / 482.5 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.3384, allocations: 4.094 kB / 482.5 MB, free: 5.637 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.171e-05/0.3384, allocations: 124.4 kB / 482.6 MB, free: 5.527 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005224/0.339, allocations: 43.78 kB / 482.6 MB, free: 5.488 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000137/0.3391, allocations: 100.5 kB / 482.7 MB, free: 5.379 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.3405, allocations: 154.6 kB / 482.9 MB, free: 5.273 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3405, allocations: 0 / 482.9 MB, free: 5.273 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.3408, allocations: 137.5 kB / 483 MB, free: 5.145 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.341, allocations: 12.34 kB / 483 MB, free: 5.137 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.3431, allocations: 422.5 kB / 483.4 MB, free: 4.777 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.3433, allocations: 0.731 MB / 484.2 MB, free: 4.039 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3433, allocations: 0 / 484.2 MB, free: 4.039 MB / 346.7 MB Notification: Performance of Templates: time 0.00519/0.3485, allocations: 1.419 MB / 485.6 MB, free: 2.68 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches