Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001888/0.001888, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.002101/0.002101, allocations: 190.9 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 51.92 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1186, allocations: 46.64 MB / 328.7 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005823/0.1245, allocations: 4.197 MB / 332.9 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.1267, allocations: 0.951 MB / 333.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000299/0.127, allocations: 12 kB / 333.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.1274, allocations: 99 kB / 334 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005643/0.128, allocations: 190.3 kB / 334.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.1284, allocations: 163.7 kB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000882/0.1292, allocations: 0.7322 MB / 335.1 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004331/0.1297, allocations: 219.1 kB / 335.3 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003947/0.1301, allocations: 282.9 kB / 335.5 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000404/0.1305, allocations: 334.5 kB / 335.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.826e-05/0.1306, allocations: 64 kB / 335.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-05/0.1307, allocations: 60 kB / 336 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.1309, allocations: 143.5 kB / 336.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002881/0.1312, allocations: 334.3 kB / 336.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007173/0.1319, allocations: 0.7045 MB / 337.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.1319, allocations: 4 kB / 337.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.132, allocations: 0 / 337.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.132, allocations: 4 kB / 337.2 MB, free: 11.22 MB / 286.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.001717/0.1337, allocations: 0.9002 MB / 338.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.1338, allocations: 8.031 kB / 338.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.1339, allocations: 68.19 kB / 338.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006626/0.1346, allocations: 385.9 kB / 338.5 MB, free: 9.785 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.1346, allocations: 37.69 kB / 338.6 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.575e-05/0.1347, allocations: 60.25 kB / 338.6 MB, free: 9.691 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009752/0.1357, allocations: 0.5455 MB / 339.2 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.1357, allocations: 3.938 kB / 339.2 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.1358, allocations: 20 kB / 339.2 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.1358, allocations: 16 kB / 339.2 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008817/0.1367, allocations: 447.7 kB / 339.6 MB, free: 8.637 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/0.1398, allocations: 2.03 MB / 341.7 MB, free: 6.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.1409, allocations: 0.6376 MB / 342.3 MB, free: 5.855 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006027/0.1415, allocations: 394.2 kB / 342.7 MB, free: 5.469 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.284e-05/0.1416, allocations: 8.562 kB / 342.7 MB, free: 5.457 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.1416, allocations: 43.05 kB / 342.7 MB, free: 5.406 MB / 286.1 MB Notification: Performance of pre-optimization done (n=60): time 2.073e-06/0.1416, allocations: 0 / 342.7 MB, free: 5.406 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004416/0.146, allocations: 2.04 MB / 344.8 MB, free: 3.246 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.1461, allocations: 55.97 kB / 344.8 MB, free: 3.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.1465, allocations: 365.7 kB / 345.2 MB, free: 2.809 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.1466, allocations: 33.7 kB / 345.2 MB, free: 2.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.1468, allocations: 241.1 kB / 345.5 MB, free: 2.531 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.147, allocations: 197 kB / 345.7 MB, free: 2.336 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.1472, allocations: 90.25 kB / 345.7 MB, free: 2.242 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002534/0.1475, allocations: 358.8 kB / 346.1 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.1478, allocations: 169 kB / 346.3 MB, free: 1.719 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/0.1482, allocations: 207.8 kB / 346.5 MB, free: 1.512 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006782/0.1489, allocations: 388.8 kB / 346.8 MB, free: 1.125 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1489, allocations: 0 / 346.8 MB, free: 1.125 MB / 286.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001176/0.1501, allocations: 0.6656 MB / 347.5 MB, free: 452 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.1501, allocations: 7.938 kB / 347.5 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1501, allocations: 3.938 kB / 347.5 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007263/0.1509, allocations: 255.2 kB / 347.8 MB, free: 172 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.1512, allocations: 63.91 kB / 347.8 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007379/0.1586, allocations: 7.509 MB / 355.3 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.159, allocations: 16.11 kB / 355.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.1591, allocations: 19.94 kB / 355.4 MB, free: 8.004 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.0003178/0.1594, allocations: 169.8 kB / 355.5 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-05/0.1595, allocations: 51.5 kB / 355.6 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.1596, allocations: 68.94 kB / 355.7 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1596, allocations: 4 kB / 355.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.1597, allocations: 7.938 kB / 355.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1597, allocations: 3.984 kB / 355.7 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.1618, allocations: 1.341 MB / 357 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.1618, allocations: 0 / 357 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/0.1621, allocations: 51.91 kB / 357.1 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007016/0.1629, allocations: 255.2 kB / 357.3 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.1629, allocations: 15.98 kB / 357.3 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007012/0.1699, allocations: 7.509 MB / 364.8 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.17, allocations: 4.031 kB / 364.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.1719, allocations: 1.026 MB / 365.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/0.1722, allocations: 160.5 kB / 366 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.1723, allocations: 15.98 kB / 366 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.1725, allocations: 12 kB / 366.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.1727, allocations: 60.42 kB / 366.1 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.1728, allocations: 12 kB / 366.1 MB, free: 12.55 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002953/0.1731, allocations: 259.2 kB / 366.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1731, allocations: 0 / 366.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009222/0.174, allocations: 176 kB / 366.6 MB, free: 12.13 MB / 318.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.0001693/0.1742, allocations: 119.2 kB / 366.7 MB, free: 12.01 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.1758, allocations: 1.041 MB / 367.7 MB, free: 10.92 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1758, allocations: 0 / 367.7 MB, free: 10.92 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.1769, allocations: 0.8414 MB / 368.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.1775, allocations: 89.45 kB / 368.6 MB, free: 9.938 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.1802, allocations: 1.275 MB / 369.9 MB, free: 8.637 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.1808, allocations: 0.8754 MB / 370.8 MB, free: 7.734 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.181, allocations: 52.55 kB / 370.8 MB, free: 7.684 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.1811, allocations: 27.44 kB / 370.9 MB, free: 7.656 MB / 318.1 MB Notification: Performance of SimCode: time 1.983e-06/0.1811, allocations: 0 / 370.9 MB, free: 7.656 MB / 318.1 MB Notification: Performance of Templates: time 0.2274/0.4085, allocations: 8.964 MB / 379.8 MB, free: 52.04 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches