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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001628/0.001628, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002068/0.002068, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2534, allocations: 50.54 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004784/0.2582, allocations: 4.259 MB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.26, allocations: 1.02 MB / 415.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.2602, allocations: 15.94 kB / 415.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.2605, allocations: 99 kB / 415.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004274/0.2609, allocations: 190.3 kB / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.2613, allocations: 187.7 kB / 415.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006608/0.2619, allocations: 0.7361 MB / 416.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.2623, allocations: 223.1 kB / 416.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003652/0.2626, allocations: 294.9 kB / 417 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003674/0.263, allocations: 326.5 kB / 417.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-05/0.2631, allocations: 60 kB / 417.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.2633, allocations: 71.94 kB / 417.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.2634, allocations: 147.4 kB / 417.6 MB, free: 9.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.2637, allocations: 330.3 kB / 417.9 MB, free: 9.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006412/0.2643, allocations: 0.7213 MB / 418.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2643, allocations: 0 / 418.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2643, allocations: 0 / 418.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.2644, allocations: 4 kB / 418.6 MB, free: 8.895 MB / 334.1 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.001394/0.2658, allocations: 0.908 MB / 419.5 MB, free: 7.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.2658, allocations: 8.031 kB / 419.5 MB, free: 7.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003588/0.2662, allocations: 96.06 kB / 419.6 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.2667, allocations: 401.9 kB / 420 MB, free: 7.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.2667, allocations: 41.69 kB / 420 MB, free: 7.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.2668, allocations: 52.28 kB / 420.1 MB, free: 7.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008589/0.2677, allocations: 0.5454 MB / 420.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.2677, allocations: 4 kB / 420.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.2678, allocations: 20 kB / 420.7 MB, free: 6.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.2678, allocations: 12 kB / 420.7 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007845/0.2686, allocations: 451.6 kB / 421.1 MB, free: 6.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.271, allocations: 2.026 MB / 423.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008581/0.2719, allocations: 0.6454 MB / 423.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/0.2725, allocations: 402.2 kB / 424.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.2725, allocations: 4.562 kB / 424.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2725, allocations: 43.12 kB / 424.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 2.235e-06/0.2725, allocations: 0 / 424.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004127/0.2767, allocations: 2.028 MB / 426.3 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.2767, allocations: 59.95 kB / 426.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.2771, allocations: 373.6 kB / 426.7 MB, free: 436 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.2771, allocations: 33.7 kB / 426.7 MB, free: 396 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.2773, allocations: 241 kB / 426.9 MB, free: 148 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.2774, allocations: 201.3 kB / 427.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.2776, allocations: 94.23 kB / 427.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.2777, allocations: 354.8 kB / 427.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.278, allocations: 165 kB / 427.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.2784, allocations: 215.8 kB / 428 MB, free: 15.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/0.2791, allocations: 380.9 kB / 428.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2791, allocations: 0 / 428.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001175/0.2803, allocations: 0.6695 MB / 429 MB, free: 14.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.2803, allocations: 7.938 kB / 429 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2803, allocations: 3.938 kB / 429 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007062/0.281, allocations: 255.2 kB / 429.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.2813, allocations: 63.95 kB / 429.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006505/0.2879, allocations: 7.502 MB / 436.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.2882, allocations: 16.12 kB / 436.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.2882, allocations: 15.94 kB / 436.9 MB, free: 5.617 MB / 350.1 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 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002355/0.2885, allocations: 181.3 kB / 437 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.2886, allocations: 51.44 kB / 437.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.2887, allocations: 69.02 kB / 437.1 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2887, allocations: 8 kB / 437.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.2888, allocations: 3.938 kB / 437.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2888, allocations: 3.984 kB / 437.2 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.2909, allocations: 1.341 MB / 438.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2909, allocations: 0 / 438.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.2912, allocations: 59.89 kB / 438.6 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006615/0.2919, allocations: 259.1 kB / 438.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.292, allocations: 12 kB / 438.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006267/0.2982, allocations: 7.497 MB / 446.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.2983, allocations: 3.938 kB / 446.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.2999, allocations: 1.037 MB / 447.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.3002, allocations: 164.4 kB / 447.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.232e-05/0.3003, allocations: 12 kB / 447.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.3006, allocations: 19.98 kB / 447.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.3007, allocations: 48.48 kB / 447.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.3008, allocations: 16 kB / 447.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002726/0.3011, allocations: 267.1 kB / 447.9 MB, free: 9.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3011, allocations: 0 / 447.9 MB, free: 9.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008921/0.302, allocations: 172 kB / 448 MB, free: 9.734 MB / 366.1 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001508/0.3021, allocations: 111.2 kB / 448.2 MB, free: 9.613 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.3037, allocations: 1.041 MB / 449.2 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3037, allocations: 3.938 kB / 449.2 MB, free: 8.516 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.3048, allocations: 0.8375 MB / 450 MB, free: 7.629 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.3053, allocations: 105.5 kB / 450.1 MB, free: 7.527 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.3075, allocations: 1.293 MB / 451.4 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.308, allocations: 0.8832 MB / 452.3 MB, free: 5.301 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.3081, allocations: 31.44 kB / 452.4 MB, free: 5.27 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3081, allocations: 0 / 452.4 MB, free: 5.27 MB / 366.1 MB Notification: Performance of Templates: time 0.01597/0.324, allocations: 14.05 MB / 466.4 MB, free: 7.234 MB / 382.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches