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.001975/0.001975, allocations: 180.7 kB / 17.01 MB, free: 5.125 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.523/1.523, allocations: 205.4 MB / 223.1 MB, free: 9.035 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.000816/0.000816, allocations: 93.16 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002695, allocations: 7.984 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2548, allocations: 47.56 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1043/0.3592, allocations: 78.99 MB / 454.8 MB, free: 1.691 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.3596, allocations: 67.97 kB / 454.9 MB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0232/0.3828, allocations: 8.816 MB / 463.7 MB, free: 8.746 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3828, allocations: 0 / 463.7 MB, free: 8.746 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.084e-05/0.3829, allocations: 12 kB / 463.7 MB, free: 8.734 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.001423/0.3843, allocations: 0.8182 MB / 464.5 MB, free: 7.867 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3844, allocations: 12.03 kB / 464.5 MB, free: 7.855 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.3845, allocations: 67.16 kB / 464.6 MB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.385, allocations: 364.9 kB / 464.9 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.385, allocations: 41.31 kB / 465 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.801e-05/0.3851, allocations: 48 kB / 465 MB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009244/0.386, allocations: 0.5492 MB / 465.6 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.3861, allocations: 0 / 465.6 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/0.3861, allocations: 20 kB / 465.6 MB, free: 6.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.3861, allocations: 12 kB / 465.6 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008779/0.387, allocations: 467.6 kB / 466.1 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0032/0.3902, allocations: 2.069 MB / 468.1 MB, free: 4.082 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.3914, allocations: 0.6317 MB / 468.8 MB, free: 3.426 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.533e-05/0.3914, allocations: 12.55 kB / 468.8 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.3915, allocations: 39.12 kB / 468.8 MB, free: 3.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=60): time 1.944e-06/0.3915, allocations: 0 / 468.8 MB, free: 3.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.004071/0.3956, allocations: 1.979 MB / 470.8 MB, free: 1.266 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3956, allocations: 67.91 kB / 470.9 MB, free: 1.188 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.396, allocations: 312.9 kB / 471.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.3961, allocations: 37.7 kB / 471.2 MB, free: 0.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.3962, allocations: 237 kB / 471.4 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.3964, allocations: 197.1 kB / 471.6 MB, free: 412 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.3964, allocations: 8 kB / 471.6 MB, free: 404 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3966, allocations: 366.7 kB / 472 MB, free: 28 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.3969, allocations: 173.1 kB / 472.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.3972, allocations: 215.8 kB / 472.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.3976, allocations: 182.2 kB / 472.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3976, allocations: 0 / 472.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001145/0.3988, allocations: 0.6812 MB / 473.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3988, allocations: 4 kB / 473.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3988, allocations: 0 / 473.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000701/0.3995, allocations: 255.2 kB / 473.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.3998, allocations: 67.89 kB / 473.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005841/0.4057, allocations: 6.841 MB / 480.4 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.4061, allocations: 24.02 kB / 480.4 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.4061, allocations: 16 kB / 480.4 MB, free: 7.02 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.0002651/0.4064, allocations: 177.9 kB / 480.6 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.253e-05/0.4065, allocations: 51.39 kB / 480.7 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.4066, allocations: 64.95 kB / 480.7 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4066, allocations: 11.98 kB / 480.7 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4066, allocations: 0 / 480.7 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4066, allocations: 0 / 480.7 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.4086, allocations: 1.346 MB / 482.1 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4086, allocations: 0 / 482.1 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.4089, allocations: 59.91 kB / 482.1 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006492/0.4096, allocations: 259.2 kB / 482.4 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.4096, allocations: 12 kB / 482.4 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005704/0.4153, allocations: 6.852 MB / 489.3 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4154, allocations: 0 / 489.3 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.4171, allocations: 1.037 MB / 490.3 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/0.4173, allocations: 164.4 kB / 490.4 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.4174, allocations: 19.98 kB / 490.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.4176, allocations: 16 kB / 490.5 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.4178, allocations: 48.48 kB / 490.5 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.4178, allocations: 19.98 kB / 490.5 MB, free: 12.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00027/0.4181, allocations: 251.2 kB / 490.8 MB, free: 11.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4181, allocations: 0 / 490.8 MB, free: 11.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008222/0.4189, allocations: 180 kB / 491 MB, free: 11.79 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.0001661/0.4191, allocations: 119.2 kB / 491.1 MB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.4207, allocations: 1.042 MB / 492.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4207, allocations: 4 kB / 492.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.4218, allocations: 0.8414 MB / 493 MB, free: 9.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.4222, allocations: 79.7 kB / 493.1 MB, free: 9.605 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.4245, allocations: 1.521 MB / 494.6 MB, free: 8.062 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.4249, allocations: 0.887 MB / 495.5 MB, free: 7.148 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.4251, allocations: 52.53 kB / 495.5 MB, free: 7.098 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.4252, allocations: 27.44 kB / 495.5 MB, free: 7.07 MB / 378.7 MB Notification: Performance of SimCode: time 2.154e-06/0.4252, allocations: 0 / 495.5 MB, free: 7.07 MB / 378.7 MB Notification: Performance of Templates: time 0.1783/0.6035, allocations: 7.877 MB / 0.4916 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/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