Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 109.5 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 50.86 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1318, allocations: 49.44 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.007404/0.1393, allocations: 4.244 MB / 355.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.1421, allocations: 0.919 MB / 356.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/0.1424, allocations: 8 kB / 356.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.1428, allocations: 99 kB / 356.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006419/0.1435, allocations: 194.3 kB / 357 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.144, allocations: 163.7 kB / 357.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.1451, allocations: 0.7322 MB / 357.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005387/0.1457, allocations: 223 kB / 358.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006231/0.1463, allocations: 282.9 kB / 358.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004125/0.1467, allocations: 326.6 kB / 358.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.022e-05/0.1468, allocations: 60 kB / 358.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1469, allocations: 60 kB / 358.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.1471, allocations: 147.4 kB / 358.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003483/0.1475, allocations: 330.3 kB / 359.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008728/0.1484, allocations: 0.7084 MB / 359.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.1484, allocations: 0 / 359.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.1484, allocations: 4 kB / 360 MB, free: 11.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.1484, allocations: 0 / 360 MB, free: 11.19 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.001895/0.1503, allocations: 0.908 MB / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.1504, allocations: 12.03 kB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.1505, allocations: 72.08 kB / 360.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007608/0.1513, allocations: 385.8 kB / 361.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.1514, allocations: 41.69 kB / 361.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.1515, allocations: 56.36 kB / 361.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.1527, allocations: 0.5376 MB / 362 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1527, allocations: 0 / 362 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.1528, allocations: 24 kB / 362 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.1528, allocations: 16 kB / 362 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008955/0.1537, allocations: 447.7 kB / 362.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003105/0.1568, allocations: 2.018 MB / 364.4 MB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.1578, allocations: 0.6453 MB / 365.1 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007405/0.1586, allocations: 410 kB / 365.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.77e-05/0.1586, allocations: 8.562 kB / 365.5 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.1587, allocations: 39.12 kB / 365.5 MB, free: 5.355 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 2.755e-06/0.1587, allocations: 7.938 kB / 365.5 MB, free: 5.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004932/0.1636, allocations: 2.032 MB / 367.6 MB, free: 3.195 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.1637, allocations: 59.97 kB / 367.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/0.1641, allocations: 357.7 kB / 368 MB, free: 2.766 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.1642, allocations: 37.7 kB / 368 MB, free: 2.723 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.1644, allocations: 233.1 kB / 368.3 MB, free: 2.492 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.1645, allocations: 201.1 kB / 368.4 MB, free: 2.293 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.1647, allocations: 90.25 kB / 368.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000279/0.165, allocations: 358.8 kB / 368.9 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.1654, allocations: 165 kB / 369 MB, free: 1.676 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.1658, allocations: 211.8 kB / 369.3 MB, free: 1.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007968/0.1666, allocations: 384.8 kB / 369.6 MB, free: 1.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1666, allocations: 0 / 369.6 MB, free: 1.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00138/0.168, allocations: 0.6695 MB / 370.3 MB, free: 404 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.168, allocations: 7.938 kB / 370.3 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.168, allocations: 4 kB / 370.3 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008235/0.1689, allocations: 263.2 kB / 370.6 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.1692, allocations: 55.91 kB / 370.6 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2251/0.3944, allocations: 7.49 MB / 378.1 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.3947, allocations: 21.16 kB / 378.1 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.3948, allocations: 16.97 kB / 378.2 MB, free: 19.44 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.0002557/0.395, allocations: 171 kB / 378.3 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.281e-05/0.3951, allocations: 49.58 kB / 378.4 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.3952, allocations: 63.03 kB / 378.4 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3953, allocations: 7.469 kB / 378.4 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.3953, allocations: 6 kB / 378.4 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3953, allocations: 3.734 kB / 378.4 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.3975, allocations: 1.348 MB / 379.8 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3975, allocations: 2.078 kB / 379.8 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.3978, allocations: 54.77 kB / 379.8 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006363/0.3984, allocations: 260.8 kB / 380.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.3985, allocations: 12.39 kB / 380.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005314/0.4038, allocations: 7.511 MB / 387.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4038, allocations: 0 / 387.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.4061, allocations: 1.025 MB / 388.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.4064, allocations: 161.2 kB / 388.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.4064, allocations: 11.08 kB / 388.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.4067, allocations: 17.31 kB / 388.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.4069, allocations: 57.02 kB / 388.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.407, allocations: 15.19 kB / 388.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003779/0.4074, allocations: 260.2 kB / 389.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4074, allocations: 1.438 kB / 389.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001022/0.4084, allocations: 170.5 kB / 389.3 MB, free: 10.73 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.0001865/0.4086, allocations: 115.5 kB / 389.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.4103, allocations: 1.045 MB / 390.5 MB, free: 9.961 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4103, allocations: 0 / 390.5 MB, free: 9.961 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.4114, allocations: 0.8394 MB / 391.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.4119, allocations: 91.47 kB / 391.4 MB, free: 9.309 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.4145, allocations: 1.255 MB / 392.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.415, allocations: 0.8755 MB / 393.5 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002137/0.4152, allocations: 54.67 kB / 393.6 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.823e-05/0.4153, allocations: 28.55 kB / 393.6 MB, free: 7.879 MB / 302.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4153, allocations: 0 / 393.6 MB, free: 7.879 MB / 302.1 MB Notification: Performance of Templates: time 0.01608/0.4314, allocations: 8.975 MB / 402.6 MB, free: 4.551 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches