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.001211/0.001211, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 63.88 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4397, allocations: 50.54 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.01037/0.4501, allocations: 4.263 MB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003679/0.4539, allocations: 1.02 MB / 415.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000605/0.4545, allocations: 11.94 kB / 415.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.4551, allocations: 99 kB / 415.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.4565, allocations: 194.3 kB / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009491/0.4575, allocations: 187.7 kB / 415.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.4592, allocations: 0.7361 MB / 416.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007401/0.46, allocations: 223.1 kB / 416.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008743/0.4609, allocations: 294.9 kB / 417 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009234/0.4618, allocations: 330.5 kB / 417.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002341/0.4621, allocations: 60 kB / 417.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.4624, allocations: 64 kB / 417.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002634/0.4627, allocations: 147.5 kB / 417.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005105/0.4632, allocations: 330.3 kB / 417.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.4645, allocations: 0.7291 MB / 418.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.4646, allocations: 0 / 418.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4646, allocations: 0 / 418.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.4646, allocations: 0 / 418.6 MB, free: 8.898 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.002586/0.4672, allocations: 0.908 MB / 419.5 MB, free: 7.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.4673, allocations: 8.031 kB / 419.5 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005931/0.4679, allocations: 100.1 kB / 419.6 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009209/0.4688, allocations: 393.9 kB / 420 MB, free: 7.406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.451e-05/0.4689, allocations: 37.69 kB / 420 MB, free: 7.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.4691, allocations: 56.22 kB / 420.1 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.4707, allocations: 0.5455 MB / 420.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.4708, allocations: 3.938 kB / 420.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-05/0.4709, allocations: 20 kB / 420.7 MB, free: 6.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.4709, allocations: 12 kB / 420.7 MB, free: 6.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.4726, allocations: 447.7 kB / 421.1 MB, free: 6.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005266/0.4779, allocations: 2.034 MB / 423.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.4799, allocations: 0.6415 MB / 423.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.4811, allocations: 402.2 kB / 424.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.36e-05/0.4812, allocations: 8.562 kB / 424.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.285e-05/0.4813, allocations: 47.06 kB / 424.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 5.951e-06/0.4813, allocations: 0 / 424.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.009186/0.4905, allocations: 2.028 MB / 426.3 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.05e-05/0.4906, allocations: 63.97 kB / 426.3 MB, free: 0.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008405/0.4915, allocations: 365.7 kB / 426.7 MB, free: 440 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.584e-05/0.4916, allocations: 37.7 kB / 426.7 MB, free: 396 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.4919, allocations: 237.1 kB / 426.9 MB, free: 152 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003286/0.4922, allocations: 193.3 kB / 427.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/0.4925, allocations: 90.25 kB / 427.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002648/0.4928, allocations: 358.8 kB / 427.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006686/0.4935, allocations: 169 kB / 427.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007327/0.4942, allocations: 207.8 kB / 427.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.4956, allocations: 384.8 kB / 428.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.4957, allocations: 4 kB / 428.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002434/0.4981, allocations: 0.6656 MB / 429 MB, free: 14.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.4982, allocations: 18.84 kB / 429 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.4982, allocations: 3.938 kB / 429 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.4997, allocations: 251.2 kB / 429.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/0.5003, allocations: 63.94 kB / 429.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/0.5132, allocations: 7.498 MB / 436.8 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.5139, allocations: 24.08 kB / 436.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.849e-05/0.5139, allocations: 16 kB / 436.9 MB, free: 5.621 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.000445/0.5144, allocations: 173.8 kB / 437 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.5146, allocations: 51.42 kB / 437.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.5148, allocations: 65.03 kB / 437.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.5148, allocations: 4 kB / 437.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/0.5149, allocations: 11.94 kB / 437.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.5149, allocations: 7.969 kB / 437.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/0.5189, allocations: 1.341 MB / 438.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.5189, allocations: 0 / 438.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.5195, allocations: 52.03 kB / 438.6 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.5209, allocations: 263.1 kB / 438.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.309e-05/0.521, allocations: 16 kB / 438.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/0.5339, allocations: 7.501 MB / 446.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/0.534, allocations: 8.047 kB / 446.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003685/0.5377, allocations: 1.033 MB / 447.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003838/0.5381, allocations: 160.4 kB / 447.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.5382, allocations: 12 kB / 447.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005184/0.5387, allocations: 15.98 kB / 447.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.539, allocations: 56.44 kB / 447.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/0.5391, allocations: 15.98 kB / 447.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005085/0.5396, allocations: 259.2 kB / 447.9 MB, free: 9.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5396, allocations: 4 kB / 447.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001717/0.5413, allocations: 180 kB / 448.1 MB, free: 9.73 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.0002562/0.5416, allocations: 111.2 kB / 448.2 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003114/0.5448, allocations: 1.033 MB / 449.2 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5448, allocations: 0 / 449.2 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002269/0.5471, allocations: 0.8453 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.001017/0.5481, allocations: 97.58 kB / 450.1 MB, free: 7.535 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/0.5528, allocations: 1.299 MB / 451.4 MB, free: 6.207 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008102/0.5536, allocations: 0.8793 MB / 452.3 MB, free: 5.301 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.5539, allocations: 31.42 kB / 452.3 MB, free: 5.27 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5539, allocations: 3.938 kB / 452.4 MB, free: 5.266 MB / 366.1 MB Notification: Performance of Templates: time 0.03322/0.5871, allocations: 14.11 MB / 466.5 MB, free: 7.176 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