Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 198.7 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 227.2 MB / 245 MB, free: 7.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008567/0.0008567, allocations: 109.3 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002027/0.0002028, allocations: 8 kB / 357.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1914, allocations: 51.49 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09031/0.2817, allocations: 81.34 MB / 490.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.282, allocations: 75.89 kB / 490.8 MB, free: 9.195 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02247/0.3045, allocations: 9.166 MB / 500 MB, free: 15.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.3045, allocations: 0 / 500 MB, free: 15.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.3045, allocations: 15.94 kB / 0.4883 GB, free: 15.95 MB / 378.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.001254/0.3058, allocations: 0.8105 MB / 0.4891 GB, free: 15.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3059, allocations: 12.03 kB / 0.4891 GB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003496/0.3062, allocations: 99.22 kB / 0.4892 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.3066, allocations: 372.8 kB / 0.4895 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.3067, allocations: 37.31 kB / 0.4896 GB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.1e-05/0.3068, allocations: 56 kB / 0.4896 GB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008047/0.3076, allocations: 0.542 MB / 0.4902 GB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3076, allocations: 0 / 0.4902 GB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.3076, allocations: 20 kB / 0.4902 GB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.3077, allocations: 12 kB / 0.4902 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007571/0.3084, allocations: 463.7 kB / 0.4906 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.3109, allocations: 2.081 MB / 0.4927 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008047/0.3117, allocations: 0.6336 MB / 0.4933 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.3118, allocations: 8.562 kB / 0.4933 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.3118, allocations: 35.12 kB / 0.4933 GB, free: 10.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 1.733e-06/0.3118, allocations: 0 / 0.4933 GB, free: 10.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.003631/0.3154, allocations: 1.987 MB / 0.4953 GB, free: 8.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3155, allocations: 59.97 kB / 0.4953 GB, free: 8.371 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.3158, allocations: 324.7 kB / 0.4956 GB, free: 8.047 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.3158, allocations: 37.7 kB / 0.4957 GB, free: 8.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.316, allocations: 229.2 kB / 0.4959 GB, free: 7.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.3161, allocations: 201.1 kB / 0.4961 GB, free: 7.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.3161, allocations: 8 kB / 0.4961 GB, free: 7.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3163, allocations: 358.7 kB / 0.4964 GB, free: 7.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002975/0.3166, allocations: 177 kB / 0.4966 GB, free: 7.039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.3169, allocations: 215.8 kB / 0.4968 GB, free: 6.824 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.3172, allocations: 178.2 kB / 0.497 GB, free: 6.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3172, allocations: 0 / 0.497 GB, free: 6.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001091/0.3183, allocations: 0.6812 MB / 0.4976 GB, free: 5.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3183, allocations: 7.984 kB / 0.4976 GB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3183, allocations: 0 / 0.4976 GB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006619/0.319, allocations: 259.1 kB / 0.4979 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.3193, allocations: 59.95 kB / 0.498 GB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1785/0.4979, allocations: 6.826 MB / 0.5046 GB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.4984, allocations: 24.09 kB / 0.5046 GB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.583e-05/0.4985, allocations: 17.84 kB / 0.5047 GB, free: 91.96 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 () * 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.0003333/0.4988, allocations: 169.8 kB / 0.5048 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.499, allocations: 51.23 kB / 0.5049 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.4992, allocations: 68.55 kB / 0.5049 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4992, allocations: 6.75 kB / 0.5049 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.4992, allocations: 4.312 kB / 0.5049 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/0.4992, allocations: 3.141 kB / 0.5049 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.5025, allocations: 1.346 MB / 0.5063 GB, free: 91.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.5025, allocations: 2.453 kB / 0.5063 GB, free: 91.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.503, allocations: 62.61 kB / 0.5063 GB, free: 91.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.504, allocations: 256.9 kB / 0.5066 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.5041, allocations: 16.84 kB / 0.5066 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007655/0.5118, allocations: 6.841 MB / 0.5133 GB, free: 86.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.5118, allocations: 4.516 kB / 0.5133 GB, free: 86.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/0.5144, allocations: 1.042 MB / 0.5143 GB, free: 85.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.5147, allocations: 153.9 kB / 0.5144 GB, free: 85.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.5148, allocations: 13.69 kB / 0.5144 GB, free: 85.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.5152, allocations: 20.48 kB / 0.5145 GB, free: 85.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.5155, allocations: 58.67 kB / 0.5145 GB, free: 85.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.5155, allocations: 21.94 kB / 0.5145 GB, free: 85.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003901/0.5159, allocations: 250.8 kB / 0.5148 GB, free: 85.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5159, allocations: 3.188 kB / 0.5148 GB, free: 85.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001423/0.5174, allocations: 178.2 kB / 0.515 GB, free: 85.42 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.0001897/0.5176, allocations: 108.2 kB / 0.5151 GB, free: 85.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.5194, allocations: 1.049 MB / 0.5161 GB, free: 84.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5194, allocations: 6.578 kB / 0.5161 GB, free: 84.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.5207, allocations: 0.8394 MB / 0.5169 GB, free: 84.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005588/0.5213, allocations: 81.06 kB / 0.517 GB, free: 84.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.5241, allocations: 1.522 MB / 0.5185 GB, free: 83.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.5245, allocations: 0.8827 MB / 0.5193 GB, free: 82.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002435/0.5248, allocations: 61.56 kB / 0.5194 GB, free: 82.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.203e-05/0.5249, allocations: 24.56 kB / 0.5194 GB, free: 82.41 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5249, allocations: 0 / 0.5194 GB, free: 82.41 MB / 378.7 MB Notification: Performance of Templates: time 0.01567/0.5406, allocations: 7.881 MB / 0.5271 GB, free: 79.84 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches