Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_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_trunk_cpp_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 195 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 226.6 MB / 244.3 MB, free: 8.316 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008863/0.0008863, allocations: 109.5 kB / 296.4 MB, free: 7.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002385/0.0002386, allocations: 15.92 kB / 356.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2437, allocations: 51.29 MB / 407.5 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.002991/0.2467, allocations: 3.667 MB / 411.2 MB, free: 24.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.2482, allocations: 0.9355 MB / 412.1 MB, free: 23.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002456/0.2484, allocations: 8 kB / 412.1 MB, free: 23.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.2486, allocations: 75.38 kB / 412.2 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00044/0.2491, allocations: 166.5 kB / 412.3 MB, free: 23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.2494, allocations: 122.6 kB / 412.5 MB, free: 22.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004494/0.2498, allocations: 0.6815 MB / 413.1 MB, free: 22.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.2501, allocations: 166.6 kB / 413.3 MB, free: 22.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.2504, allocations: 243 kB / 413.5 MB, free: 21.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.2506, allocations: 282.8 kB / 413.8 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.682e-05/0.2507, allocations: 39.94 kB / 413.9 MB, free: 21.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.2508, allocations: 40 kB / 413.9 MB, free: 21.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.045e-05/0.2509, allocations: 119.4 kB / 414 MB, free: 21.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.894e-05/0.251, allocations: 133.4 kB / 414.1 MB, free: 21.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.2513, allocations: 0.5063 MB / 414.6 MB, free: 20.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2514, allocations: 0 / 414.6 MB, free: 20.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2514, allocations: 0 / 414.6 MB, free: 20.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.2514, allocations: 0 / 414.6 MB, free: 20.68 MB / 298.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.001101/0.2525, allocations: 0.8262 MB / 415.5 MB, free: 19.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.154e-05/0.2526, allocations: 12.03 kB / 415.5 MB, free: 19.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003104/0.2529, allocations: 103.1 kB / 415.6 MB, free: 19.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.2532, allocations: 364.9 kB / 415.9 MB, free: 19.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.2533, allocations: 37.31 kB / 416 MB, free: 19.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.2534, allocations: 63.98 kB / 416 MB, free: 19.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.2541, allocations: 0.5452 MB / 416.6 MB, free: 18.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.2541, allocations: 4 kB / 416.6 MB, free: 18.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.2542, allocations: 20 kB / 416.6 MB, free: 18.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.2542, allocations: 12 kB / 416.6 MB, free: 18.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006883/0.2549, allocations: 459.6 kB / 417.1 MB, free: 18.13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.257, allocations: 2.058 MB / 419.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007097/0.2578, allocations: 0.6492 MB / 419.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004799/0.2582, allocations: 402.2 kB / 420.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.2583, allocations: 8.562 kB / 420.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.2583, allocations: 43.06 kB / 420.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 2.104e-06/0.2583, allocations: 0 / 420.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.003738/0.2621, allocations: 2.059 MB / 422.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.2621, allocations: 59.97 kB / 422.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.2624, allocations: 353.7 kB / 422.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.2624, allocations: 41.64 kB / 422.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.2625, allocations: 237 kB / 423 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.985e-05/0.2626, allocations: 201.1 kB / 423.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.2627, allocations: 8 kB / 423.2 MB, free: 11.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.729e-05/0.2627, allocations: 362.8 kB / 423.5 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.263, allocations: 169 kB / 423.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.2633, allocations: 215.8 kB / 423.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.2636, allocations: 182.2 kB / 424.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2636, allocations: 3.984 kB / 424.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009737/0.2646, allocations: 0.6695 MB / 424.7 MB, free: 10.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2646, allocations: 4 kB / 424.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2646, allocations: 0 / 424.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/0.2652, allocations: 259.2 kB / 425 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.2655, allocations: 71.89 kB / 425.1 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004303/0.2698, allocations: 6.765 MB / 431.8 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.2702, allocations: 16.22 kB / 431.8 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.2702, allocations: 23.98 kB / 431.9 MB, free: 2.457 MB / 298.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.0002018/0.2704, allocations: 173.9 kB / 432 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.2705, allocations: 47.44 kB / 432.1 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.29e-05/0.2706, allocations: 64.95 kB / 432.2 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2706, allocations: 15.94 kB / 432.2 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.2706, allocations: 0 / 432.2 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2706, allocations: 7.984 kB / 432.2 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.2723, allocations: 1.349 MB / 433.5 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2723, allocations: 480 / 433.5 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.2726, allocations: 67.89 kB / 433.6 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005619/0.2732, allocations: 251.1 kB / 433.8 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.2732, allocations: 12 kB / 433.8 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005903/0.2791, allocations: 6.777 MB / 440.6 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2791, allocations: 0 / 440.6 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.2809, allocations: 1.044 MB / 441.7 MB, free: 8.004 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.2811, allocations: 160.4 kB / 441.8 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.277e-05/0.2812, allocations: 15.95 kB / 441.8 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.2815, allocations: 16 kB / 441.9 MB, free: 7.797 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.2816, allocations: 60.55 kB / 441.9 MB, free: 7.738 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.2817, allocations: 19.98 kB / 441.9 MB, free: 7.719 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002775/0.282, allocations: 251.2 kB / 442.2 MB, free: 7.473 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.282, allocations: 0 / 442.2 MB, free: 7.473 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008384/0.2828, allocations: 176 kB / 442.4 MB, free: 7.301 MB / 314.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.0001917/0.283, allocations: 115.7 kB / 442.5 MB, free: 7.176 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.2848, allocations: 1.041 MB / 443.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2848, allocations: 0 / 443.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.286, allocations: 0.8531 MB / 444.4 MB, free: 5.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.2866, allocations: 85.42 kB / 444.4 MB, free: 5.098 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.2891, allocations: 1.548 MB / 446 MB, free: 3.527 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.2896, allocations: 0.8754 MB / 446.9 MB, free: 2.625 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.967e-05/0.2897, allocations: 31.42 kB / 446.9 MB, free: 2.594 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2897, allocations: 0 / 446.9 MB, free: 2.594 MB / 314.7 MB Notification: Performance of Templates: time 0.01645/0.3062, allocations: 13.76 MB / 460.7 MB, free: 4.84 MB / 330.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Rectifier --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches