Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001232/0.001232, allocations: 115.5 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 214.8 kB / 19.41 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.396/1.396, allocations: 227.7 MB / 247.9 MB, free: 10.27 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 68.08 kB / 359.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2428, allocations: 50.55 MB / 410.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005869/0.2487, allocations: 4.281 MB / 414.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.2505, allocations: 1.024 MB / 415.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.2507, allocations: 8 kB / 415.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.251, allocations: 99 kB / 415.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004537/0.2514, allocations: 198.2 kB / 415.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.2518, allocations: 187.7 kB / 416 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007689/0.2526, allocations: 0.7361 MB / 416.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000274/0.2528, allocations: 167.1 kB / 416.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003579/0.2532, allocations: 282.9 kB / 417.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003831/0.2536, allocations: 334.5 kB / 417.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.283e-05/0.2537, allocations: 60 kB / 417.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.2538, allocations: 68 kB / 417.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.254, allocations: 147.4 kB / 417.8 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.2543, allocations: 330.3 kB / 418.1 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007558/0.255, allocations: 0.7235 MB / 418.8 MB, free: 8.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.255, allocations: 0 / 418.8 MB, free: 8.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.255, allocations: 0 / 418.8 MB, free: 8.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.255, allocations: 0 / 418.8 MB, free: 8.84 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.001516/0.2566, allocations: 0.9386 MB / 419.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2566, allocations: 8.031 kB / 419.8 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003603/0.2569, allocations: 96.48 kB / 419.9 MB, free: 7.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005639/0.2575, allocations: 406.1 kB / 420.3 MB, free: 7.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.2575, allocations: 41.69 kB / 420.3 MB, free: 7.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.061e-05/0.2576, allocations: 60.33 kB / 420.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008924/0.2585, allocations: 0.5415 MB / 420.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.2585, allocations: 0 / 420.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.502e-05/0.2586, allocations: 31.98 kB / 420.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.2586, allocations: 15.94 kB / 421 MB, free: 6.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008631/0.2595, allocations: 443.7 kB / 421.4 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00276/0.2622, allocations: 2.031 MB / 423.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009795/0.2632, allocations: 0.5908 MB / 424 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006175/0.2638, allocations: 362.2 kB / 424.4 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.2639, allocations: 8.562 kB / 424.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.2639, allocations: 35.12 kB / 424.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 1.953e-06/0.2639, allocations: 11.94 kB / 424.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004613/0.2685, allocations: 2.025 MB / 426.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.2686, allocations: 59.97 kB / 426.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004069/0.269, allocations: 369.6 kB / 426.9 MB, free: 428 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.269, allocations: 33.7 kB / 426.9 MB, free: 388 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.2692, allocations: 237.5 kB / 427.1 MB, free: 144 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.2694, allocations: 214.1 kB / 427.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.2695, allocations: 90.2 kB / 427.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.2697, allocations: 358.8 kB / 427.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.2701, allocations: 173 kB / 428 MB, free: 15.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.2705, allocations: 211.8 kB / 428.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/0.2712, allocations: 376.9 kB / 428.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2712, allocations: 0 / 428.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001268/0.2725, allocations: 0.6619 MB / 429.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2725, allocations: 7.938 kB / 429.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.2725, allocations: 0 / 429.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007469/0.2732, allocations: 263.2 kB / 429.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.2735, allocations: 55.97 kB / 429.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007426/0.281, allocations: 7.511 MB / 437 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.2813, allocations: 20.02 kB / 437 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.2813, allocations: 16 kB / 437.1 MB, free: 5.605 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.000246/0.2816, allocations: 173.8 kB / 437.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.1e-05/0.2816, allocations: 51.67 kB / 437.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.2818, allocations: 65.02 kB / 437.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.2818, allocations: 8 kB / 437.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.2818, allocations: 3.938 kB / 437.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2818, allocations: 3.984 kB / 437.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.284, allocations: 1.325 MB / 438.7 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.284, allocations: 0 / 438.7 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.2843, allocations: 51.97 kB / 438.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006895/0.285, allocations: 267.1 kB / 439 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.285, allocations: 15.98 kB / 439 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007193/0.2922, allocations: 7.518 MB / 446.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2922, allocations: 0 / 446.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.294, allocations: 1.026 MB / 447.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.2943, allocations: 160.8 kB / 447.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.2943, allocations: 8 kB / 447.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.2946, allocations: 16 kB / 447.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.2947, allocations: 56.48 kB / 447.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.2947, allocations: 19.98 kB / 447.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002909/0.295, allocations: 255.2 kB / 448.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.295, allocations: 0 / 448.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00087/0.2959, allocations: 176 kB / 448.2 MB, free: 9.746 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.0001628/0.2961, allocations: 119.2 kB / 448.3 MB, free: 9.617 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.2977, allocations: 1.01 MB / 449.4 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2977, allocations: 0 / 449.4 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.2989, allocations: 0.8334 MB / 450.2 MB, free: 7.668 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.2994, allocations: 85.5 kB / 450.3 MB, free: 7.586 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.3017, allocations: 1.281 MB / 451.5 MB, free: 6.281 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.3022, allocations: 0.8754 MB / 452.4 MB, free: 5.379 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.3024, allocations: 56.53 kB / 452.5 MB, free: 5.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.898e-05/0.3024, allocations: 31.44 kB / 452.5 MB, free: 5.289 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3024, allocations: 0 / 452.5 MB, free: 5.289 MB / 366.1 MB Notification: Performance of Templates: time 0.0168/0.3192, allocations: 9.184 MB / 461.7 MB, free: 12.18 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches