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.001136/0.001136, allocations: 111.8 kB / 16.62 MB, free: 6.812 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.001246/0.001247, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.419/1.419, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 51.08 kB / 300.1 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1486, allocations: 49.45 MB / 349.6 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005204/0.1538, allocations: 4.262 MB / 353.8 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1558, allocations: 0.9269 MB / 354.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.1561, allocations: 8 kB / 354.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.1564, allocations: 75.38 kB / 354.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006013/0.157, allocations: 166.6 kB / 355 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.1574, allocations: 139.9 kB / 355.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008987/0.1584, allocations: 0.7283 MB / 355.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.1587, allocations: 219.1 kB / 356.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003241/0.1591, allocations: 286.9 kB / 356.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.1594, allocations: 330.5 kB / 356.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.105e-05/0.1595, allocations: 64 kB / 356.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.275e-05/0.1596, allocations: 64 kB / 356.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.1598, allocations: 143.5 kB / 357 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.1601, allocations: 322.3 kB / 357.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006115/0.1607, allocations: 0.7006 MB / 358 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1607, allocations: 0 / 358 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1607, allocations: 3.938 kB / 358 MB, free: 12.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.1607, allocations: 0 / 358 MB, free: 12.32 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.001439/0.1622, allocations: 0.908 MB / 358.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1622, allocations: 12.03 kB / 358.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.1623, allocations: 76.03 kB / 359 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.1628, allocations: 382 kB / 359.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.1628, allocations: 37.69 kB / 359.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.891e-05/0.1629, allocations: 48.38 kB / 359.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008812/0.1638, allocations: 0.5493 MB / 360 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.1638, allocations: 4 kB / 360 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-05/0.1639, allocations: 20 kB / 360 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.1639, allocations: 12 kB / 360 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008145/0.1647, allocations: 447.7 kB / 360.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.1673, allocations: 2.046 MB / 362.5 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008649/0.1682, allocations: 0.6375 MB / 363.1 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005602/0.1688, allocations: 398.1 kB / 363.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.131e-05/0.1688, allocations: 8.562 kB / 363.5 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1688, allocations: 39.12 kB / 363.6 MB, free: 6.484 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 2.996e-06/0.1688, allocations: 7.984 kB / 363.6 MB, free: 6.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004245/0.1731, allocations: 2.028 MB / 365.6 MB, free: 4.332 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.1731, allocations: 63.91 kB / 365.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.1735, allocations: 357.7 kB / 366 MB, free: 3.898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.1736, allocations: 41.7 kB / 366.1 MB, free: 3.852 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.1737, allocations: 237.1 kB / 366.3 MB, free: 3.617 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.1739, allocations: 201 kB / 366.5 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.174, allocations: 90.23 kB / 366.6 MB, free: 3.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1742, allocations: 354.8 kB / 366.9 MB, free: 2.965 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000371/0.1746, allocations: 169 kB / 367.1 MB, free: 2.801 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/0.175, allocations: 215.8 kB / 367.3 MB, free: 2.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006757/0.1756, allocations: 372.9 kB / 367.7 MB, free: 2.215 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1756, allocations: 0 / 367.7 MB, free: 2.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001222/0.1769, allocations: 0.6695 MB / 368.3 MB, free: 1.523 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.1769, allocations: 11.92 kB / 368.3 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.1769, allocations: 4 kB / 368.3 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007479/0.1777, allocations: 263.1 kB / 368.6 MB, free: 1.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.178, allocations: 59.95 kB / 368.7 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2086/0.3867, allocations: 7.491 MB / 376.1 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.387, allocations: 21.36 kB / 376.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.3871, allocations: 16.38 kB / 376.2 MB, free: 19.98 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.0002101/0.3873, allocations: 174.9 kB / 376.4 MB, free: 19.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.08e-05/0.3874, allocations: 48.59 kB / 376.4 MB, free: 19.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.3875, allocations: 71.36 kB / 376.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3875, allocations: 5.844 kB / 376.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.3875, allocations: 2.844 kB / 376.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.3875, allocations: 2.156 kB / 376.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.3895, allocations: 1.346 MB / 377.8 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3895, allocations: 1.094 kB / 377.8 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.3898, allocations: 59.89 kB / 377.9 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006418/0.3905, allocations: 264.5 kB / 378.1 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.3905, allocations: 12.3 kB / 378.2 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004873/0.3954, allocations: 7.507 MB / 385.7 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3954, allocations: 4.859 kB / 385.7 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.397, allocations: 1.029 MB / 386.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.3972, allocations: 162.1 kB / 386.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.3973, allocations: 11.33 kB / 386.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.3975, allocations: 17.36 kB / 386.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.3977, allocations: 57.88 kB / 386.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.3977, allocations: 11.34 kB / 387 MB, free: 11.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002589/0.398, allocations: 259.8 kB / 387.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.398, allocations: 5.188 kB / 387.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009172/0.3989, allocations: 171.6 kB / 387.4 MB, free: 11.27 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.0001355/0.3991, allocations: 113 kB / 387.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.4006, allocations: 1.061 MB / 388.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4007, allocations: 5.109 kB / 388.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000958/0.4016, allocations: 0.8396 MB / 389.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000552/0.4022, allocations: 91 kB / 389.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.4044, allocations: 1.481 MB / 391 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.4049, allocations: 0.8805 MB / 391.8 MB, free: 8.199 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.4051, allocations: 49.52 kB / 391.9 MB, free: 8.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.861e-05/0.4052, allocations: 34.05 kB / 391.9 MB, free: 8.176 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4052, allocations: 0 / 391.9 MB, free: 8.176 MB / 302.1 MB Notification: Performance of Templates: time 0.0147/0.4199, allocations: 8.772 MB / 400.7 MB, free: 4.992 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