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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 178.3 kB / 18.04 MB, free: 3.652 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.4 MB / 224.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007982/0.0007981, allocations: 79.92 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003066, allocations: 12 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2193, allocations: 47.56 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09346/0.3128, allocations: 79.03 MB / 456 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.3131, allocations: 75.95 kB / 456.1 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02326/0.3364, allocations: 8.828 MB / 464.9 MB, free: 8.547 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3364, allocations: 0 / 464.9 MB, free: 8.547 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.411e-05/0.3365, allocations: 15.98 kB / 465 MB, free: 8.531 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001552/0.338, allocations: 0.8145 MB / 465.8 MB, free: 7.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3381, allocations: 8.031 kB / 465.8 MB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.3382, allocations: 72.09 kB / 465.9 MB, free: 7.582 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005822/0.3388, allocations: 378 kB / 466.2 MB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.3389, allocations: 37.69 kB / 466.3 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-05/0.339, allocations: 52.38 kB / 466.3 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009577/0.3399, allocations: 0.5419 MB / 466.9 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.34, allocations: 192 / 466.9 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.34, allocations: 27.94 kB / 466.9 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.3401, allocations: 12 kB / 466.9 MB, free: 6.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008984/0.341, allocations: 463.6 kB / 467.3 MB, free: 6.027 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003003/0.344, allocations: 2.081 MB / 469.4 MB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009856/0.345, allocations: 0.6292 MB / 470.1 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006317/0.3456, allocations: 405.7 kB / 470.5 MB, free: 2.801 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.3457, allocations: 8.562 kB / 470.5 MB, free: 2.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.3457, allocations: 39.12 kB / 470.5 MB, free: 2.746 MB / 346.7 MB Notification: Performance of pre-optimization done (n=60): time 2.444e-06/0.3457, allocations: 3.938 kB / 470.5 MB, free: 2.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.00438/0.3501, allocations: 1.998 MB / 472.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.3502, allocations: 59.97 kB / 472.6 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.3506, allocations: 353.6 kB / 472.9 MB, free: 208 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.3507, allocations: 37.7 kB / 472.9 MB, free: 164 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.3509, allocations: 237.1 kB / 473.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.3511, allocations: 193.1 kB / 473.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.3511, allocations: 12 kB / 473.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3513, allocations: 362.7 kB / 473.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.3516, allocations: 173 kB / 473.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.352, allocations: 215.8 kB / 474.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006812/0.3526, allocations: 392.8 kB / 474.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3527, allocations: 4 kB / 474.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001201/0.3539, allocations: 0.6773 MB / 475.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3539, allocations: 8 kB / 475.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3539, allocations: 0 / 475.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007893/0.3547, allocations: 263.2 kB / 475.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.355, allocations: 63.91 kB / 475.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006204/0.3613, allocations: 6.777 MB / 482.3 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.3616, allocations: 24.02 kB / 482.3 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.3617, allocations: 16 kB / 482.3 MB, free: 6.18 MB / 362.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 () * Number of clocked 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.0002772/0.362, allocations: 177.9 kB / 482.5 MB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.3621, allocations: 55.28 kB / 482.5 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.3622, allocations: 60.95 kB / 482.6 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.3622, allocations: 8 kB / 482.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.3622, allocations: 0 / 482.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3623, allocations: 3.984 kB / 482.6 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.3647, allocations: 1.35 MB / 484 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3647, allocations: 4 kB / 484 MB, free: 4.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.365, allocations: 59.89 kB / 484 MB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006548/0.3657, allocations: 263.1 kB / 484.3 MB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.3657, allocations: 12 kB / 484.3 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006264/0.372, allocations: 6.796 MB / 491.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3721, allocations: 0 / 491.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.3738, allocations: 1.041 MB / 492.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.3741, allocations: 156.5 kB / 492.3 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.349e-05/0.3742, allocations: 8 kB / 492.3 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.3745, allocations: 23.98 kB / 492.3 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.3746, allocations: 60.36 kB / 492.4 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.3747, allocations: 16 kB / 492.4 MB, free: 11.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003038/0.375, allocations: 255.2 kB / 492.6 MB, free: 11.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.375, allocations: 0 / 492.6 MB, free: 11.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008955/0.3759, allocations: 172.5 kB / 492.8 MB, free: 11.01 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 () * Number of clocked 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.0001961/0.3761, allocations: 117.9 kB / 492.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.3777, allocations: 1.049 MB / 494 MB, free: 9.781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3778, allocations: 0 / 494 MB, free: 9.781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.3789, allocations: 0.8492 MB / 494.8 MB, free: 8.883 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.3795, allocations: 77.45 kB / 494.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.3821, allocations: 1.53 MB / 496.4 MB, free: 7.258 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.3826, allocations: 0.8714 MB / 497.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002141/0.3828, allocations: 52.53 kB / 497.4 MB, free: 6.305 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.3829, allocations: 27.44 kB / 497.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.3829, allocations: 0 / 497.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of Templates: time 0.1901/0.573, allocations: 7.933 MB / 0.4935 GB, free: 108.6 MB / 378.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/jenkins1/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