Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") [: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.001025/0.001025, allocations: 176.1 kB / 8.478 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.219/1.219, allocations: 205.2 MB / 214.1 MB, free: 5.082 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.0008441/0.000844, allocations: 90.25 kB / 262.1 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.116e-05/1.12e-05, allocations: 4 kB / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07609/0.07612, allocations: 47.57 MB / 362.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2386/0.3147, allocations: 77.22 MB / 439.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.315, allocations: 69.88 kB / 439.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01003/0.325, allocations: 3.64 MB / 443.5 MB, free: 10.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.3251, allocations: 3.844 kB / 443.5 MB, free: 10.42 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005629/0.3256, allocations: 494.1 kB / 444 MB, free: 10.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.3257, allocations: 7.719 kB / 444 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.3258, allocations: 24.2 kB / 444 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.326, allocations: 229.8 kB / 444.2 MB, free: 9.781 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.326, allocations: 3.844 kB / 444.2 MB, free: 9.781 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.3261, allocations: 15.5 kB / 444.2 MB, free: 9.781 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002452/0.3263, allocations: 127.4 kB / 444.3 MB, free: 9.777 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.3266, allocations: 150.9 kB / 444.5 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3266, allocations: 0.5625 kB / 444.5 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.3266, allocations: 4 kB / 444.5 MB, free: 9.734 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3266, allocations: 7.656 kB / 444.5 MB, free: 9.734 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.3278, allocations: 0.8107 MB / 445.3 MB, free: 9.258 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.328, allocations: 92.48 kB / 445.4 MB, free: 9.238 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.3282, allocations: 85.19 kB / 445.5 MB, free: 9.227 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.3282, allocations: 7.781 kB / 445.5 MB, free: 9.223 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.3282, allocations: 42.67 kB / 445.5 MB, free: 9.176 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.3282, allocations: 0 / 445.5 MB, free: 9.176 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006115/0.3288, allocations: 200 kB / 445.7 MB, free: 9.125 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.3289, allocations: 51.41 kB / 445.8 MB, free: 9.062 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.329, allocations: 151.7 kB / 445.9 MB, free: 8.965 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.329, allocations: 25.7 kB / 446 MB, free: 8.934 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.3291, allocations: 138.8 kB / 446.1 MB, free: 8.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.3291, allocations: 59.3 kB / 446.2 MB, free: 8.781 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.3291, allocations: 0 / 446.2 MB, free: 8.781 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.3292, allocations: 329.5 kB / 446.5 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.799e-05/0.3293, allocations: 40.12 kB / 446.5 MB, free: 8.469 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.29e-05/0.3294, allocations: 64.25 kB / 446.6 MB, free: 8.449 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.3296, allocations: 72.67 kB / 446.6 MB, free: 8.438 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3296, allocations: 3.938 kB / 446.7 MB, free: 8.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00045/0.33, allocations: 206.8 kB / 446.9 MB, free: 8.383 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3301, allocations: 4.547 kB / 446.9 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3301, allocations: 0 / 446.9 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005624/0.3306, allocations: 97.02 kB / 447 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.3308, allocations: 40.42 kB / 447 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000493/0.3313, allocations: 0.6307 MB / 447.6 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.3315, allocations: 17.12 kB / 447.6 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.3315, allocations: 8.531 kB / 447.6 MB, free: 7.836 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 7.255e-05/0.3316, allocations: 110.6 kB / 447.8 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.3316, allocations: 16.3 kB / 447.8 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004463/0.3321, allocations: 211.7 kB / 448 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3321, allocations: 4.625 kB / 448 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3321, allocations: 0 / 448 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3321, allocations: 0.75 kB / 448 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007878/0.3329, allocations: 0.548 MB / 448.5 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3329, allocations: 0 / 448.5 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.3331, allocations: 27.8 kB / 448.6 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004501/0.3335, allocations: 112.9 kB / 448.7 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3335, allocations: 0.5156 kB / 448.7 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000444/0.334, allocations: 0.646 MB / 449.3 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.334, allocations: 3.875 kB / 449.3 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005252/0.3345, allocations: 387.6 kB / 449.7 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.3346, allocations: 93.94 kB / 449.8 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.3346, allocations: 3.906 kB / 449.8 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.3348, allocations: 14 kB / 449.8 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.3348, allocations: 8.016 kB / 449.8 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.3349, allocations: 7.938 kB / 449.8 MB, free: 6.523 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.673e-05/0.3349, allocations: 124.1 kB / 449.9 MB, free: 6.445 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002902/0.3352, allocations: 54.77 kB / 450 MB, free: 6.434 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.000158/0.3354, allocations: 112.8 kB / 450.1 MB, free: 6.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.3357, allocations: 128.8 kB / 450.2 MB, free: 6.328 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3357, allocations: 0 / 450.2 MB, free: 6.328 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.3358, allocations: 75.56 kB / 450.3 MB, free: 6.324 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.3361, allocations: 17.39 kB / 450.3 MB, free: 6.324 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006932/0.3368, allocations: 367 kB / 450.7 MB, free: 6.109 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.337, allocations: 0.7609 MB / 451.4 MB, free: 5.406 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.337, allocations: 0 / 451.4 MB, free: 5.406 MB / 314.7 MB Notification: Performance of Templates: time 0.005379/0.3424, allocations: 2.289 MB / 453.7 MB, free: 4.355 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches