Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 185.2 kB / 8.135 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.148/1.148, allocations: 221.4 MB / 229.9 MB, free: 3.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009612/0.0009612, allocations: 102 kB / 280.8 MB, free: 1.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.632e-06/6.742e-06, allocations: 0 / 336.5 MB, free: 9.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1968, allocations: 50.39 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08176/0.2786, allocations: 79.73 MB / 466.6 MB, free: 7.059 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001529/0.2788, allocations: 77.45 kB / 466.7 MB, free: 6.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02301/0.3018, allocations: 8.814 MB / 475.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.414e-05/0.3018, allocations: 19.98 kB / 475.5 MB, free: 14.13 MB / 362.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.001185/0.303, allocations: 0.7635 MB / 476.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3031, allocations: 8.031 kB / 476.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.3032, allocations: 67.25 kB / 476.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/0.3037, allocations: 367.4 kB / 476.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.3037, allocations: 16 kB / 476.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.24e-05/0.3038, allocations: 35.91 kB / 476.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007014/0.3045, allocations: 374.5 kB / 477.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/0.3052, allocations: 448.8 kB / 477.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3052, allocations: 4 kB / 477.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.3053, allocations: 0 / 477.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.3053, allocations: 12 kB / 477.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002458/0.3077, allocations: 1.97 MB / 479.6 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.3081, allocations: 246.9 kB / 479.8 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004495/0.3086, allocations: 354 kB / 480.2 MB, free: 9.305 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.3086, allocations: 8.5 kB / 480.2 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.3087, allocations: 43 kB / 480.2 MB, free: 9.242 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 1.763e-06/0.3087, allocations: 4 kB / 480.2 MB, free: 9.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=61): time 0.001898/0.3106, allocations: 1.132 MB / 481.4 MB, free: 8.047 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.3106, allocations: 63.91 kB / 481.4 MB, free: 7.973 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.3109, allocations: 270 kB / 481.7 MB, free: 7.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.3109, allocations: 25.7 kB / 481.7 MB, free: 7.676 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.311, allocations: 193 kB / 481.9 MB, free: 7.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.3111, allocations: 197 kB / 482.1 MB, free: 7.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/0.3112, allocations: 0 / 482.1 MB, free: 7.285 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3113, allocations: 346.8 kB / 482.4 MB, free: 6.938 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.3115, allocations: 141.3 kB / 482.6 MB, free: 6.797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.3118, allocations: 183.6 kB / 482.7 MB, free: 6.613 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.312, allocations: 151.2 kB / 482.9 MB, free: 6.465 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.312, allocations: 0 / 482.9 MB, free: 6.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009545/0.313, allocations: 0.5818 MB / 483.5 MB, free: 5.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.313, allocations: 4 kB / 483.5 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.313, allocations: 2.5 kB / 483.5 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006904/0.3137, allocations: 245.1 kB / 483.7 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.314, allocations: 67.94 kB / 483.8 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005615/0.3197, allocations: 6.406 MB / 490.2 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.32, allocations: 11.98 kB / 490.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.32, allocations: 16 kB / 490.2 MB, free: 14.64 MB / 378.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.0001233/0.3202, allocations: 113 kB / 490.3 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.3203, allocations: 51.41 kB / 490.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.3204, allocations: 56.75 kB / 490.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3204, allocations: 8.562 kB / 490.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.3204, allocations: 0 / 490.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3204, allocations: 7.984 kB / 490.4 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.3222, allocations: 1.155 MB / 491.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3222, allocations: 0 / 491.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.3225, allocations: 55.91 kB / 491.7 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006452/0.3232, allocations: 255.1 kB / 491.9 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.3232, allocations: 3.984 kB / 491.9 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005652/0.3289, allocations: 6.395 MB / 498.3 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/0.3289, allocations: 7.844 kB / 498.3 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001376/0.3303, allocations: 0.8982 MB / 499.2 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.3305, allocations: 156.5 kB / 499.4 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.108e-05/0.3306, allocations: 7.938 kB / 499.4 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.3309, allocations: 11.98 kB / 499.4 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.331, allocations: 32.45 kB / 499.4 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.331, allocations: 19.98 kB / 499.4 MB, free: 4.836 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002259/0.3313, allocations: 212.5 kB / 499.6 MB, free: 4.633 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008338/0.3321, allocations: 148 kB / 499.8 MB, free: 4.488 MB / 378.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.0001674/0.3323, allocations: 104.6 kB / 499.9 MB, free: 4.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.3335, allocations: 0.8593 MB / 0.489 GB, free: 3.484 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3336, allocations: 0 / 0.489 GB, free: 3.484 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009125/0.3345, allocations: 0.7037 MB / 0.4897 GB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.3348, allocations: 49.61 kB / 0.4897 GB, free: 2.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.3369, allocations: 0.9609 MB / 0.4907 GB, free: 1.703 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004831/0.3374, allocations: 0.9018 MB / 0.4916 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3374, allocations: 0 / 0.4916 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of Templates: time 0.1193/0.4567, allocations: 7.642 MB / 0.499 GB, free: 135.5 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches