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.001014/0.001014, allocations: 90.78 kB / 16.65 MB, free: 6.586 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.001197/0.001197, allocations: 180.2 kB / 17.56 MB, free: 6.203 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.524/1.524, allocations: 223.3 MB / 241.6 MB, free: 14.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002823, allocations: 11.94 kB / 301.4 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 50.41 MB / 351.8 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004503/0.1472, allocations: 3.865 MB / 355.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.1489, allocations: 0.9152 MB / 356.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000267/0.1492, allocations: 8 kB / 356.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.1494, allocations: 75.38 kB / 356.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004995/0.1499, allocations: 166.7 kB / 356.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.1502, allocations: 147.8 kB / 357 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006693/0.1509, allocations: 0.7166 MB / 357.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003448/0.1513, allocations: 188.1 kB / 357.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003007/0.1516, allocations: 246.9 kB / 358.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.1519, allocations: 294.6 kB / 358.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.372e-05/0.152, allocations: 32 kB / 358.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.559e-05/0.1521, allocations: 36 kB / 358.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.1522, allocations: 123.4 kB / 358.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.1525, allocations: 320 kB / 358.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005663/0.1531, allocations: 0.6536 MB / 359.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1531, allocations: 0 / 359.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1531, allocations: 0 / 359.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1531, allocations: 0 / 359.6 MB, free: 11.67 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.001322/0.1544, allocations: 0.8224 MB / 360.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1545, allocations: 8.031 kB / 360.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.1546, allocations: 68.19 kB / 360.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.155, allocations: 378 kB / 360.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.1551, allocations: 37.69 kB / 360.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.9e-05/0.1552, allocations: 48.38 kB / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009125/0.1561, allocations: 0.5571 MB / 361.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1561, allocations: 0 / 361.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.1562, allocations: 20 kB / 361.5 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.1562, allocations: 16 kB / 361.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008337/0.157, allocations: 459.7 kB / 362 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002659/0.1597, allocations: 2.081 MB / 364.1 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008752/0.1606, allocations: 0.6448 MB / 364.7 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005929/0.1612, allocations: 411 kB / 365.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/0.1613, allocations: 4.562 kB / 365.1 MB, free: 5.914 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.1613, allocations: 39.12 kB / 365.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 4.929e-06/0.1613, allocations: 0 / 365.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004467/0.1658, allocations: 2.087 MB / 367.2 MB, free: 3.664 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.1659, allocations: 59.97 kB / 367.3 MB, free: 3.594 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/0.1663, allocations: 361.7 kB / 367.6 MB, free: 3.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.1664, allocations: 33.7 kB / 367.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.1666, allocations: 237.1 kB / 367.9 MB, free: 2.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.1668, allocations: 197.1 kB / 368.1 MB, free: 2.762 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.1669, allocations: 49.69 kB / 368.1 MB, free: 2.707 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.1671, allocations: 358.8 kB / 368.5 MB, free: 2.348 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.1674, allocations: 173 kB / 368.7 MB, free: 2.176 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.1678, allocations: 215.8 kB / 368.9 MB, free: 1.961 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007312/0.1686, allocations: 396.9 kB / 369.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1686, allocations: 0 / 369.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001323/0.1699, allocations: 0.6773 MB / 369.9 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.1699, allocations: 11.94 kB / 370 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.17, allocations: 8.016 kB / 370 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008292/0.1708, allocations: 255.1 kB / 370.2 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.1711, allocations: 59.91 kB / 370.3 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2488/0.42, allocations: 6.787 MB / 377.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.4203, allocations: 19.61 kB / 377.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.4204, allocations: 16.08 kB / 377.1 MB, free: 19.39 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.0002639/0.4207, allocations: 174 kB / 377.3 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.925e-05/0.4208, allocations: 49.06 kB / 377.3 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.4209, allocations: 67.58 kB / 377.4 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.4209, allocations: 8.688 kB / 377.4 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.4209, allocations: 2.891 kB / 377.4 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.421, allocations: 3 kB / 377.4 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.4232, allocations: 1.356 MB / 378.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.4233, allocations: 4.75 kB / 378.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.4235, allocations: 58.78 kB / 378.8 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006772/0.4242, allocations: 259.9 kB / 379.1 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.4243, allocations: 11.5 kB / 379.1 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005196/0.4295, allocations: 6.81 MB / 385.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4295, allocations: 0 / 385.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.4312, allocations: 1.04 MB / 386.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.4314, allocations: 168.9 kB / 387.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.4315, allocations: 11.75 kB / 387.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.4317, allocations: 20.48 kB / 387.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.4319, allocations: 53.83 kB / 387.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.4319, allocations: 15.55 kB / 387.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002926/0.4322, allocations: 259.8 kB / 387.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4322, allocations: 1.75 kB / 387.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009822/0.4332, allocations: 178.8 kB / 387.6 MB, free: 11.53 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.0001651/0.4334, allocations: 111.1 kB / 387.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.4351, allocations: 1.047 MB / 388.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4351, allocations: 0 / 388.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.4361, allocations: 0.8459 MB / 389.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.4367, allocations: 84.55 kB / 389.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.4392, allocations: 1.559 MB / 391.3 MB, free: 9.121 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.4398, allocations: 0.876 MB / 392.1 MB, free: 8.414 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002076/0.44, allocations: 49.91 kB / 392.2 MB, free: 8.406 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.448e-05/0.4401, allocations: 28.89 kB / 392.2 MB, free: 8.398 MB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4401, allocations: 0 / 392.2 MB, free: 8.398 MB / 302.1 MB Notification: Performance of Templates: time 0.01746/0.4575, allocations: 8.123 MB / 400.3 MB, free: 5.496 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/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