Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") [: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.001611/0.001612, allocations: 179.3 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.243/1.243, allocations: 205.2 MB / 214.1 MB, free: 5.102 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.001059/0.001059, allocations: 78.05 kB / 262.1 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.502e-06/6.532e-06, allocations: 0 / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07112/0.07114, allocations: 47.58 MB / 362.5 MB, free: 9.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2287/0.2999, allocations: 78.15 MB / 440.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.3002, allocations: 68.52 kB / 440.8 MB, free: 10.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02133/0.3215, allocations: 8.519 MB / 449.3 MB, free: 9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.358e-05/0.3216, allocations: 11.56 kB / 449.3 MB, free: 9 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001064/0.3227, allocations: 0.7781 MB / 450.1 MB, free: 8.414 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.3227, allocations: 7.688 kB / 450.1 MB, free: 8.414 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.3228, allocations: 65.59 kB / 450.1 MB, free: 8.383 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.3232, allocations: 366.7 kB / 450.5 MB, free: 8.102 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3232, allocations: 19.19 kB / 450.5 MB, free: 8.098 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.008e-05/0.3233, allocations: 34.53 kB / 450.5 MB, free: 8.094 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005833/0.3239, allocations: 375.4 kB / 450.9 MB, free: 8.074 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005715/0.3245, allocations: 453.7 kB / 451.4 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3245, allocations: 0 / 451.4 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.3245, allocations: 0 / 451.4 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3246, allocations: 15.34 kB / 451.4 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.3267, allocations: 1.98 MB / 453.4 MB, free: 6.699 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.3271, allocations: 239.1 kB / 453.6 MB, free: 6.672 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003784/0.3275, allocations: 353.6 kB / 453.9 MB, free: 6.645 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.3275, allocations: 8.031 kB / 453.9 MB, free: 6.645 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.3276, allocations: 38.53 kB / 454 MB, free: 6.605 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 1.723e-06/0.3276, allocations: 0 / 454 MB, free: 6.605 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.001688/0.3293, allocations: 1.137 MB / 455.1 MB, free: 6.125 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.3293, allocations: 63.44 kB / 455.2 MB, free: 6.055 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.3295, allocations: 269.6 kB / 455.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.3296, allocations: 25.7 kB / 455.5 MB, free: 5.902 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.3296, allocations: 195.9 kB / 455.7 MB, free: 5.742 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.268e-05/0.3297, allocations: 193.8 kB / 455.8 MB, free: 5.598 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.3297, allocations: 4 kB / 455.9 MB, free: 5.594 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.3e-05/0.3298, allocations: 348.4 kB / 456.2 MB, free: 5.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.33, allocations: 148.5 kB / 456.3 MB, free: 5.262 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.3303, allocations: 180.7 kB / 456.5 MB, free: 5.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.3305, allocations: 149.2 kB / 456.7 MB, free: 5.207 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3305, allocations: 0 / 456.7 MB, free: 5.207 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008898/0.3314, allocations: 0.5766 MB / 457.2 MB, free: 5.062 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3314, allocations: 3.812 kB / 457.2 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.3314, allocations: 0 / 457.2 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006428/0.3321, allocations: 246.1 kB / 457.5 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.3324, allocations: 64.36 kB / 457.5 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004864/0.3373, allocations: 6.388 MB / 463.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.3376, allocations: 11.7 kB / 463.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.3377, allocations: 13.34 kB / 464 MB, free: 15.54 MB / 330.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: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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: 4 * 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: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.3378, allocations: 126.5 kB / 464.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-05/0.3379, allocations: 46.62 kB / 464.1 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.338, allocations: 58.23 kB / 464.2 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.338, allocations: 6.719 kB / 464.2 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.338, allocations: 1.375 kB / 464.2 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.338, allocations: 0 / 464.2 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.3399, allocations: 1.166 MB / 465.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3399, allocations: 3.938 kB / 465.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.3402, allocations: 64.61 kB / 465.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006398/0.3409, allocations: 245.4 kB / 465.7 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.3409, allocations: 1.281 kB / 465.7 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005189/0.3461, allocations: 6.406 MB / 472.1 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3461, allocations: 0 / 472.1 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001398/0.3475, allocations: 0.9109 MB / 473 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.3478, allocations: 154.3 kB / 473.1 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-05/0.3479, allocations: 1 kB / 473.1 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.3481, allocations: 11.7 kB / 473.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/0.3483, allocations: 41.78 kB / 473.2 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/0.3483, allocations: 13.94 kB / 473.2 MB, free: 8.914 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.00024/0.3485, allocations: 210.8 kB / 473.4 MB, free: 8.824 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008646/0.3494, allocations: 145.4 kB / 473.5 MB, free: 8.824 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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: 4 * 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: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001729/0.3496, allocations: 112 kB / 473.7 MB, free: 8.723 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.3511, allocations: 0.8573 MB / 474.5 MB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3511, allocations: 64 / 474.5 MB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.3522, allocations: 0.7027 MB / 475.2 MB, free: 7.812 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.3527, allocations: 58.31 kB / 475.3 MB, free: 7.793 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.3553, allocations: 0.9552 MB / 476.2 MB, free: 7.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005605/0.3558, allocations: 0.8985 MB / 477.1 MB, free: 6.488 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3558, allocations: 0 / 477.1 MB, free: 6.488 MB / 330.7 MB Notification: Performance of Templates: time 0.01436/0.3702, allocations: 7.651 MB / 484.8 MB, free: 2.492 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches