Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00165/0.00165, allocations: 199.9 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009246/0.0009245, allocations: 89.25 kB / 299.8 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.000342, allocations: 8 kB / 360.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2808, allocations: 51.42 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003145/0.284, allocations: 3.676 MB / 415.7 MB, free: 22.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2853, allocations: 1.18 MB / 416.9 MB, free: 20.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.2855, allocations: 11.94 kB / 416.9 MB, free: 20.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.2857, allocations: 72.25 kB / 417 MB, free: 20.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003781/0.2861, allocations: 166.7 kB / 417.2 MB, free: 20.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.2863, allocations: 143.8 kB / 417.3 MB, free: 20.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004593/0.2868, allocations: 0.7127 MB / 418 MB, free: 19.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.2871, allocations: 192.1 kB / 418.2 MB, free: 19.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.2873, allocations: 250.9 kB / 418.4 MB, free: 19.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.2876, allocations: 298.6 kB / 418.7 MB, free: 19.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.279e-05/0.2877, allocations: 36 kB / 418.8 MB, free: 19.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.826e-05/0.2878, allocations: 36 kB / 418.8 MB, free: 19.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.2879, allocations: 123.4 kB / 418.9 MB, free: 18.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.2881, allocations: 312.1 kB / 419.2 MB, free: 18.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.2885, allocations: 0.6614 MB / 419.9 MB, free: 17.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2886, allocations: 0 / 419.9 MB, free: 17.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2886, allocations: 0 / 419.9 MB, free: 17.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.2886, allocations: 0 / 419.9 MB, free: 17.96 MB / 298.7 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.001076/0.2897, allocations: 0.8263 MB / 420.7 MB, free: 17.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2897, allocations: 8.031 kB / 420.7 MB, free: 17.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000302/0.29, allocations: 104.1 kB / 420.8 MB, free: 16.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.2904, allocations: 381.9 kB / 421.2 MB, free: 16.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.2904, allocations: 37.69 kB / 421.2 MB, free: 16.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/0.2905, allocations: 52.38 kB / 421.3 MB, free: 16.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/0.2912, allocations: 0.5416 MB / 421.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.2912, allocations: 7.938 kB / 421.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.2913, allocations: 20 kB / 421.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.2913, allocations: 12 kB / 421.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006947/0.292, allocations: 459.7 kB / 422.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.2941, allocations: 2.057 MB / 424.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007029/0.2948, allocations: 0.657 MB / 425 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/0.2953, allocations: 411.5 kB / 425.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.2953, allocations: 4.562 kB / 425.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.2953, allocations: 39.12 kB / 425.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 1.503e-06/0.2954, allocations: 0 / 425.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.003551/0.2989, allocations: 2.067 MB / 427.5 MB, free: 9.941 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.299, allocations: 55.97 kB / 427.6 MB, free: 9.871 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.2992, allocations: 365.6 kB / 428 MB, free: 9.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.2993, allocations: 41.64 kB / 428 MB, free: 9.453 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.679e-05/0.2994, allocations: 233.2 kB / 428.2 MB, free: 9.223 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.624e-05/0.2995, allocations: 189.1 kB / 428.4 MB, free: 9.035 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.2995, allocations: 16 kB / 428.4 MB, free: 9.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.731e-05/0.2996, allocations: 358.8 kB / 428.8 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.2999, allocations: 173 kB / 428.9 MB, free: 8.492 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.3002, allocations: 215.8 kB / 429.2 MB, free: 8.273 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/0.3007, allocations: 396.8 kB / 429.5 MB, free: 7.883 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3008, allocations: 4 kB / 429.5 MB, free: 7.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009374/0.3017, allocations: 0.6734 MB / 430.2 MB, free: 7.184 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3017, allocations: 4 kB / 430.2 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3017, allocations: 0 / 430.2 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006022/0.3023, allocations: 255.2 kB / 430.5 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.3026, allocations: 67.89 kB / 430.5 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004583/0.3072, allocations: 6.781 MB / 437.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.3074, allocations: 23.92 kB / 437.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.3075, allocations: 16 kB / 437.4 MB, free: 15.5 MB / 314.7 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 (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 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.0002033/0.3077, allocations: 169.8 kB / 437.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.3078, allocations: 55.34 kB / 437.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.845e-05/0.3079, allocations: 64.94 kB / 437.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3079, allocations: 11.94 kB / 437.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.3079, allocations: 0 / 437.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.3079, allocations: 7.922 kB / 437.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.31, allocations: 1.345 MB / 439 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.31, allocations: 4 kB / 439 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.3103, allocations: 59.91 kB / 439.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006177/0.3109, allocations: 247.2 kB / 439.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.311, allocations: 23.92 kB / 439.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006247/0.3172, allocations: 6.777 MB / 446.1 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3172, allocations: 4.547 kB / 446.1 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.3189, allocations: 1.044 MB / 447.2 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.3191, allocations: 156.5 kB / 447.3 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.491e-05/0.3192, allocations: 12 kB / 447.3 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.3194, allocations: 23.98 kB / 447.3 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.3196, allocations: 52.48 kB / 447.4 MB, free: 4.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.3196, allocations: 15.94 kB / 447.4 MB, free: 4.758 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002937/0.3199, allocations: 259.2 kB / 447.7 MB, free: 4.508 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.553e-06/0.3199, allocations: 0 / 447.7 MB, free: 4.508 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008182/0.3207, allocations: 175.9 kB / 447.8 MB, free: 4.336 MB / 314.7 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.0001623/0.3209, allocations: 115.3 kB / 448 MB, free: 4.215 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.3224, allocations: 1.041 MB / 449 MB, free: 3.125 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3224, allocations: 4 kB / 449 MB, free: 3.121 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.3235, allocations: 0.853 MB / 449.8 MB, free: 2.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.324, allocations: 77.45 kB / 449.9 MB, free: 2.137 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.3263, allocations: 1.575 MB / 451.5 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/0.3269, allocations: 0.8753 MB / 452.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.3271, allocations: 52.5 kB / 452.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.3271, allocations: 31.42 kB / 452.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3271, allocations: 0 / 452.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of Templates: time 0.01336/0.3405, allocations: 8.121 MB / 460.6 MB, free: 7.445 MB / 330.7 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.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches