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.001262/0.001262, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.51/1.51, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0008083/0.0008087, allocations: 78.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.72e-05/3.722e-05, allocations: 0 / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1053, allocations: 47.58 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3295/0.4349, allocations: 78.88 MB / 448.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.4351, allocations: 67.72 kB / 449 MB, free: 14.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02298/0.4581, allocations: 8.845 MB / 457.8 MB, free: 6.852 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4582, allocations: 0 / 457.8 MB, free: 6.852 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.5e-05/0.4582, allocations: 12 kB / 457.8 MB, free: 6.84 MB / 330.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.001152/0.4594, allocations: 0.7578 MB / 458.6 MB, free: 6.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4594, allocations: 8.031 kB / 458.6 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.4595, allocations: 67.25 kB / 458.7 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.46, allocations: 363.2 kB / 459 MB, free: 5.641 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.46, allocations: 38.38 kB / 459 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.297e-05/0.4601, allocations: 52.69 kB / 459.1 MB, free: 5.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008172/0.461, allocations: 0.5162 MB / 459.6 MB, free: 5.125 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.461, allocations: 0 / 459.6 MB, free: 5.125 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.84e-05/0.461, allocations: 24 kB / 459.6 MB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.4611, allocations: 12 kB / 459.6 MB, free: 5.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006839/0.4617, allocations: 411.8 kB / 460 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.4644, allocations: 2.081 MB / 462.1 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007945/0.4652, allocations: 0.6026 MB / 462.7 MB, free: 1.879 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000582/0.4658, allocations: 377.8 kB / 463.1 MB, free: 1.504 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.4659, allocations: 8.562 kB / 463.1 MB, free: 1.496 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.4659, allocations: 43.11 kB / 463.2 MB, free: 1.445 MB / 330.7 MB Notification: Performance of pre-optimization done (n=60): time 2.344e-06/0.4659, allocations: 0 / 463.2 MB, free: 1.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=61): time 0.002114/0.4681, allocations: 1.252 MB / 464.4 MB, free: 128 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.4681, allocations: 63.92 kB / 464.5 MB, free: 52 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/0.4685, allocations: 307.6 kB / 464.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.4685, allocations: 37.7 kB / 464.8 MB, free: 15.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.4687, allocations: 241.1 kB / 465 MB, free: 15.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.4688, allocations: 197.1 kB / 465.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.4689, allocations: 12 kB / 465.2 MB, free: 15.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.469, allocations: 350.8 kB / 465.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.4693, allocations: 153.1 kB / 465.7 MB, free: 14.76 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.4696, allocations: 191.9 kB / 465.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.4698, allocations: 155.3 kB / 466.1 MB, free: 14.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.4698, allocations: 4 kB / 466.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001105/0.471, allocations: 0.6344 MB / 466.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.471, allocations: 4 kB / 466.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.471, allocations: 4.031 kB / 466.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007603/0.4718, allocations: 251.2 kB / 467 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.4721, allocations: 71.83 kB / 467 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006661/0.4788, allocations: 6.758 MB / 473.8 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.4792, allocations: 16.19 kB / 473.8 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/0.4793, allocations: 32.05 kB / 473.8 MB, free: 6.074 MB / 346.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.0001399/0.4794, allocations: 129.9 kB / 474 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-05/0.4795, allocations: 51.39 kB / 474 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.4797, allocations: 61.42 kB / 474.1 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.4797, allocations: 8 kB / 474.1 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.4797, allocations: 0 / 474.1 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.4797, allocations: 3.984 kB / 474.1 MB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.4816, allocations: 1.298 MB / 475.4 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4817, allocations: 3.938 kB / 475.4 MB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.4819, allocations: 63.89 kB / 475.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006325/0.4826, allocations: 251.2 kB / 475.7 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.4826, allocations: 15.95 kB / 475.7 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00603/0.4887, allocations: 6.759 MB / 482.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4887, allocations: 3.953 kB / 482.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.4901, allocations: 0.9704 MB / 483.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.4903, allocations: 156.4 kB / 483.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.4904, allocations: 15.94 kB / 483.6 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.4906, allocations: 23.98 kB / 483.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.4908, allocations: 57.08 kB / 483.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.4908, allocations: 16 kB / 483.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002775/0.4911, allocations: 254.2 kB / 484 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4911, allocations: 0 / 484 MB, free: 11.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000783/0.4919, allocations: 172 kB / 484.1 MB, free: 11.12 MB / 362.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.0001846/0.4921, allocations: 120.1 kB / 484.2 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.4935, allocations: 0.9937 MB / 485.2 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4935, allocations: 0 / 485.2 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009621/0.4945, allocations: 0.8174 MB / 486.1 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.4949, allocations: 69.3 kB / 486.1 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.4967, allocations: 0.9931 MB / 487.1 MB, free: 7.988 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.4971, allocations: 0.8907 MB / 488 MB, free: 7.066 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.4973, allocations: 44.56 kB / 488.1 MB, free: 7.023 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.4974, allocations: 31.42 kB / 488.1 MB, free: 6.992 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4974, allocations: 3.938 kB / 488.1 MB, free: 6.988 MB / 362.7 MB Notification: Performance of Templates: time 0.01308/0.5105, allocations: 7.877 MB / 496 MB, free: 15.11 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/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