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.001666/0.001666, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001903/0.001903, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.607/1.607, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003341/0.003341, allocations: 67.48 kB / 307 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1548, allocations: 50.54 MB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.008019/0.1628, allocations: 4.273 MB / 361.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003535/0.1664, allocations: 1.024 MB / 362.8 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008503/0.1673, allocations: 11.94 kB / 362.8 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004697/0.1679, allocations: 99 kB / 362.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007684/0.1687, allocations: 186.3 kB / 363.1 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006319/0.1693, allocations: 187.7 kB / 363.3 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009588/0.1703, allocations: 0.74 MB / 364 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004138/0.1707, allocations: 219.1 kB / 364.3 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.1712, allocations: 294.9 kB / 364.5 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004726/0.1717, allocations: 338.5 kB / 364.9 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.655e-05/0.1718, allocations: 63.94 kB / 364.9 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.172, allocations: 64 kB / 365 MB, free: 6.531 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.1721, allocations: 147.4 kB / 365.1 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003389/0.1725, allocations: 330.3 kB / 365.5 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008137/0.1733, allocations: 0.7084 MB / 366.2 MB, free: 5.352 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.1733, allocations: 7.984 kB / 366.2 MB, free: 5.344 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1733, allocations: 0 / 366.2 MB, free: 5.344 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.1734, allocations: 0 / 366.2 MB, free: 5.344 MB / 302.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.001761/0.1751, allocations: 0.9157 MB / 367.1 MB, free: 4.379 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.1752, allocations: 8.031 kB / 367.1 MB, free: 4.371 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004261/0.1756, allocations: 92.16 kB / 367.2 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.1762, allocations: 405.8 kB / 367.6 MB, free: 3.848 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.1763, allocations: 37.69 kB / 367.6 MB, free: 3.812 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.506e-05/0.1764, allocations: 52.38 kB / 367.7 MB, free: 3.762 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.1774, allocations: 0.5415 MB / 368.2 MB, free: 3.188 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.1774, allocations: 4 kB / 368.2 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.674e-05/0.1775, allocations: 20 kB / 368.2 MB, free: 3.164 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.1775, allocations: 12 kB / 368.3 MB, free: 3.152 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009453/0.1785, allocations: 455.6 kB / 368.7 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003003/0.1815, allocations: 2.034 MB / 370.7 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2907/0.4722, allocations: 0.6457 MB / 371.4 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.4737, allocations: 394.1 kB / 371.8 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.901e-05/0.4738, allocations: 7.406 kB / 371.8 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.4738, allocations: 40.41 kB / 371.8 MB, free: 20.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 4.107e-06/0.4738, allocations: 0.875 kB / 371.8 MB, free: 20.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006559/0.4804, allocations: 2.045 MB / 373.9 MB, free: 19.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.4805, allocations: 59.09 kB / 373.9 MB, free: 19.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.4812, allocations: 364.9 kB / 374.3 MB, free: 19.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.4812, allocations: 36.58 kB / 374.3 MB, free: 19.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.4814, allocations: 237.8 kB / 374.5 MB, free: 18.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.4816, allocations: 200.2 kB / 374.7 MB, free: 18.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.4819, allocations: 87.61 kB / 374.8 MB, free: 18.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.482, allocations: 359.8 kB / 375.2 MB, free: 18.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.4825, allocations: 168.6 kB / 375.3 MB, free: 18.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/0.4831, allocations: 209.6 kB / 375.5 MB, free: 18.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000934/0.484, allocations: 386.2 kB / 375.9 MB, free: 17.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.484, allocations: 0 / 375.9 MB, free: 17.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001792/0.4858, allocations: 0.6651 MB / 376.6 MB, free: 17.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.4859, allocations: 8.125 kB / 376.6 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.4859, allocations: 0.7031 kB / 376.6 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.4869, allocations: 258.3 kB / 376.8 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.4874, allocations: 69.39 kB / 376.9 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007125/0.4945, allocations: 7.497 MB / 384.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/0.4951, allocations: 17.42 kB / 384.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.4952, allocations: 22.12 kB / 384.5 MB, free: 10.7 MB / 302.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.0003236/0.4955, allocations: 175.7 kB / 384.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.243e-05/0.4956, allocations: 48.17 kB / 384.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.4957, allocations: 64.67 kB / 384.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4957, allocations: 6.281 kB / 384.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.4957, allocations: 2.906 kB / 384.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.4958, allocations: 3.281 kB / 384.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.4978, allocations: 1.351 MB / 386.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4979, allocations: 2.219 kB / 386.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.4981, allocations: 55.2 kB / 386.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000633/0.4988, allocations: 269.5 kB / 386.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.4988, allocations: 11.72 kB / 386.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005537/0.5044, allocations: 7.506 MB / 393.9 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5044, allocations: 2.062 kB / 393.9 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.5065, allocations: 1.03 MB / 395 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.5068, allocations: 158.6 kB / 395.1 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/0.5069, allocations: 15.34 kB / 395.1 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.5071, allocations: 17.88 kB / 395.2 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.5073, allocations: 57.45 kB / 395.2 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.5074, allocations: 18.62 kB / 395.2 MB, free: 2.027 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003789/0.5078, allocations: 260 kB / 395.5 MB, free: 1.898 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.5078, allocations: 0 / 395.5 MB, free: 1.898 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001073/0.5089, allocations: 176.6 kB / 395.7 MB, free: 1.875 MB / 302.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.0002125/0.5091, allocations: 114.3 kB / 395.8 MB, free: 1.773 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002065/0.5112, allocations: 1.051 MB / 396.8 MB, free: 1.102 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5112, allocations: 4 kB / 396.8 MB, free: 1.098 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.5124, allocations: 0.8437 MB / 397.7 MB, free: 496 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006614/0.5131, allocations: 86.5 kB / 397.7 MB, free: 452 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.516, allocations: 1.277 MB / 399 MB, free: 15.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006574/0.5166, allocations: 0.8813 MB / 399.9 MB, free: 15.01 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002269/0.5169, allocations: 55.08 kB / 400 MB, free: 15 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.148e-05/0.517, allocations: 33.34 kB / 400 MB, free: 14.98 MB / 318.1 MB Notification: Performance of SimCode: time 9.52e-07/0.517, allocations: 0 / 400 MB, free: 14.98 MB / 318.1 MB Notification: Performance of Templates: time 0.01822/0.5352, allocations: 8.972 MB / 409 MB, free: 10.28 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches