Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002396/0.002396, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.2 MB / 219.4 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.00107/0.001069, allocations: 78.78 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.817e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/0.09522, allocations: 47.58 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4575/0.5528, allocations: 78.88 MB / 448 MB, free: 14.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.5531, allocations: 66.66 kB / 448 MB, free: 14.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03965/0.5928, allocations: 8.851 MB / 456.9 MB, free: 6.746 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5929, allocations: 0 / 456.9 MB, free: 6.746 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.693e-05/0.5929, allocations: 12 kB / 456.9 MB, free: 6.734 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.001894/0.5948, allocations: 0.7571 MB / 457.7 MB, free: 5.969 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.5949, allocations: 8.031 kB / 457.7 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.5951, allocations: 67.25 kB / 457.7 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006853/0.5958, allocations: 366 kB / 458.1 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.5959, allocations: 39.88 kB / 458.1 MB, free: 5.512 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.596, allocations: 46.62 kB / 458.2 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.5972, allocations: 0.5161 MB / 458.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.5973, allocations: 0 / 458.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-05/0.5974, allocations: 21.69 kB / 458.7 MB, free: 5.098 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.5974, allocations: 16 kB / 458.7 MB, free: 5.082 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.5985, allocations: 411.2 kB / 459.1 MB, free: 4.816 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004611/0.6032, allocations: 2.075 MB / 461.2 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.6046, allocations: 0.6066 MB / 461.8 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008568/0.6055, allocations: 377.8 kB / 462.2 MB, free: 1.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.74e-05/0.6056, allocations: 12.55 kB / 462.2 MB, free: 1.809 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.6056, allocations: 35.12 kB / 462.2 MB, free: 1.766 MB / 330.7 MB Notification: Performance of pre-optimization done (n=60): time 3.046e-06/0.6056, allocations: 0 / 462.2 MB, free: 1.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=61): time 0.003436/0.6091, allocations: 1.256 MB / 463.5 MB, free: 452 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.6092, allocations: 63.92 kB / 463.5 MB, free: 376 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005508/0.6097, allocations: 311.6 kB / 463.8 MB, free: 60 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/0.6098, allocations: 37.7 kB / 463.9 MB, free: 16 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.61, allocations: 283.5 kB / 464.2 MB, free: 15.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.6103, allocations: 193.1 kB / 464.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.6104, allocations: 12 kB / 464.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6105, allocations: 330.8 kB / 464.7 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/0.611, allocations: 145.1 kB / 464.8 MB, free: 15.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.6115, allocations: 191.9 kB / 465 MB, free: 14.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.612, allocations: 167.2 kB / 465.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.612, allocations: 0 / 465.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001779/0.6138, allocations: 0.6073 MB / 465.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.6139, allocations: 4 kB / 465.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.6139, allocations: 4 kB / 465.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.6151, allocations: 255.2 kB / 466 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/0.6157, allocations: 63.91 kB / 466.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009426/0.6252, allocations: 6.763 MB / 472.9 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005771/0.6258, allocations: 16.03 kB / 472.9 MB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.6259, allocations: 16.56 kB / 472.9 MB, free: 6.414 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.0002012/0.6261, allocations: 137.8 kB / 473 MB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.6263, allocations: 55.38 kB / 473.1 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.6265, allocations: 68.95 kB / 473.1 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.6265, allocations: 4 kB / 473.2 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.6265, allocations: 4 kB / 473.2 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.6265, allocations: 7.922 kB / 473.2 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.6298, allocations: 1.29 MB / 474.5 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.6299, allocations: 8 kB / 474.5 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005618/0.6305, allocations: 59.97 kB / 474.5 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.6316, allocations: 251.2 kB / 474.8 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.849e-05/0.6317, allocations: 11.95 kB / 474.8 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009291/0.641, allocations: 6.757 MB / 481.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.6411, allocations: 3.953 kB / 481.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.6437, allocations: 0.9705 MB / 482.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/0.6441, allocations: 161.1 kB / 482.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.6442, allocations: 12 kB / 482.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/0.6447, allocations: 23.92 kB / 482.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.6449, allocations: 52.48 kB / 482.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.645, allocations: 16 kB / 482.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004266/0.6454, allocations: 250.2 kB / 483 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6454, allocations: 3.938 kB / 483 MB, free: 11.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001199/0.6467, allocations: 180 kB / 483.2 MB, free: 11.44 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.0002307/0.6469, allocations: 116.1 kB / 483.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002269/0.6492, allocations: 0.9898 MB / 484.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6493, allocations: 0 / 484.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001738/0.651, allocations: 0.8096 MB / 485.1 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000711/0.6518, allocations: 73.92 kB / 485.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.6551, allocations: 1.034 MB / 486.2 MB, free: 8.277 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/0.6557, allocations: 0.8868 MB / 487.1 MB, free: 7.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.6559, allocations: 27.44 kB / 487.1 MB, free: 7.332 MB / 362.7 MB Notification: Performance of SimCode: time 1.372e-06/0.656, allocations: 0 / 487.1 MB, free: 7.332 MB / 362.7 MB Notification: Performance of Templates: time 0.02539/0.6814, allocations: 13.28 MB / 0.4887 GB, free: 10.03 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.Rectifier --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches