Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001528, allocations: 178.1 kB / 17.36 MB, free: 4.324 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007922/0.000792, allocations: 86.36 kB / 272.1 MB, free: 8.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002693, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2781, allocations: 47.57 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004614/0.2828, allocations: 3.63 MB / 380.2 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.2846, allocations: 0.9354 MB / 381.2 MB, free: 41.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003481/0.285, allocations: 12.88 kB / 381.2 MB, free: 41.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.2852, allocations: 71.31 kB / 381.2 MB, free: 41.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.2857, allocations: 161.4 kB / 381.4 MB, free: 41.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.286, allocations: 139.7 kB / 381.5 MB, free: 41.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006834/0.2867, allocations: 0.7149 MB / 382.3 MB, free: 41.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003157/0.287, allocations: 184.5 kB / 382.4 MB, free: 41.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.2873, allocations: 254 kB / 382.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.2876, allocations: 293.6 kB / 383 MB, free: 40.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.802e-05/0.2877, allocations: 38.19 kB / 383 MB, free: 40.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.171e-05/0.2878, allocations: 34.84 kB / 383 MB, free: 40.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.2879, allocations: 122.4 kB / 383.2 MB, free: 40.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.2882, allocations: 319.2 kB / 383.5 MB, free: 40.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004958/0.2887, allocations: 0.6575 MB / 384.1 MB, free: 39.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2887, allocations: 1.406 kB / 384.1 MB, free: 39.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2887, allocations: 0 / 384.1 MB, free: 39.92 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.2887, allocations: 4 kB / 384.1 MB, free: 39.91 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.001268/0.29, allocations: 0.8135 MB / 384.9 MB, free: 39.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.2901, allocations: 9.031 kB / 385 MB, free: 39.26 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.2902, allocations: 74.16 kB / 385 MB, free: 39.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.2906, allocations: 379.2 kB / 385.4 MB, free: 38.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.2907, allocations: 42.59 kB / 385.4 MB, free: 38.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.2908, allocations: 49.34 kB / 385.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008482/0.2916, allocations: 0.5483 MB / 386 MB, free: 38.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.2917, allocations: 5.312 kB / 386 MB, free: 38.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.2917, allocations: 20.81 kB / 386.1 MB, free: 38.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.2917, allocations: 12.47 kB / 386.1 MB, free: 38.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008632/0.2926, allocations: 449.1 kB / 386.5 MB, free: 38.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/0.295, allocations: 2.071 MB / 388.6 MB, free: 36.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007607/0.2958, allocations: 0.6454 MB / 389.2 MB, free: 35.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004922/0.2963, allocations: 406.2 kB / 389.6 MB, free: 35.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-05/0.2963, allocations: 8.562 kB / 389.6 MB, free: 35.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.2964, allocations: 47.12 kB / 389.7 MB, free: 35.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 2.625e-06/0.2964, allocations: 3.938 kB / 389.7 MB, free: 35.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.003866/0.3002, allocations: 2.067 MB / 391.8 MB, free: 32.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.3003, allocations: 63.97 kB / 391.8 MB, free: 32.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.3006, allocations: 357.6 kB / 392.2 MB, free: 32.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.3006, allocations: 33.7 kB / 392.2 MB, free: 32.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.627e-05/0.3007, allocations: 233.2 kB / 392.4 MB, free: 32.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.276e-05/0.3008, allocations: 197.1 kB / 392.6 MB, free: 32.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.3008, allocations: 12 kB / 392.6 MB, free: 32.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.3009, allocations: 354.8 kB / 393 MB, free: 31.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.3012, allocations: 173 kB / 393.1 MB, free: 31.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.3015, allocations: 211.8 kB / 393.4 MB, free: 31.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000569/0.3021, allocations: 396.8 kB / 393.7 MB, free: 30.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3021, allocations: 0 / 393.7 MB, free: 30.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001026/0.3031, allocations: 0.6773 MB / 394.4 MB, free: 30.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.3032, allocations: 8 kB / 394.4 MB, free: 30.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3032, allocations: 0 / 394.4 MB, free: 30.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006449/0.3038, allocations: 259.1 kB / 394.7 MB, free: 29.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.3041, allocations: 67.94 kB / 394.7 MB, free: 29.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004597/0.3087, allocations: 6.773 MB / 401.5 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.3091, allocations: 23.95 kB / 401.5 MB, free: 22.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.3091, allocations: 16 kB / 401.6 MB, free: 22.52 MB / 298.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.0002219/0.3094, allocations: 173.8 kB / 401.7 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.3094, allocations: 47.44 kB / 401.8 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.884e-05/0.3096, allocations: 69.02 kB / 401.8 MB, free: 22.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3096, allocations: 4 kB / 401.8 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.3096, allocations: 4 kB / 401.8 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3096, allocations: 7.922 kB / 401.9 MB, free: 22.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.3113, allocations: 1.349 MB / 403.2 MB, free: 20.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3113, allocations: 4.469 kB / 403.2 MB, free: 20.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.3116, allocations: 59.91 kB / 403.3 MB, free: 20.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005791/0.3122, allocations: 267 kB / 403.5 MB, free: 20.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.3122, allocations: 12 kB / 403.5 MB, free: 20.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004591/0.3168, allocations: 6.784 MB / 410.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3168, allocations: 4 kB / 410.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.3183, allocations: 1.041 MB / 411.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.3186, allocations: 156.4 kB / 411.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.3186, allocations: 8 kB / 411.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.3189, allocations: 23.98 kB / 411.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.319, allocations: 52.48 kB / 411.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.3191, allocations: 19.94 kB / 411.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002126/0.3193, allocations: 259.2 kB / 411.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3193, allocations: 0 / 411.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007851/0.3201, allocations: 172 kB / 412 MB, free: 11.35 MB / 298.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.0001457/0.3202, allocations: 115.7 kB / 412.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.3215, allocations: 1.045 MB / 413.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3216, allocations: 3.938 kB / 413.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008866/0.3224, allocations: 0.8376 MB / 414 MB, free: 9.234 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005264/0.323, allocations: 85.39 kB / 414.1 MB, free: 9.152 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.325, allocations: 1.586 MB / 415.7 MB, free: 7.551 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.3253, allocations: 0.8792 MB / 416.6 MB, free: 6.645 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.3255, allocations: 56.53 kB / 416.6 MB, free: 6.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.994e-05/0.3256, allocations: 23.44 kB / 416.7 MB, free: 6.566 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3256, allocations: 4 kB / 416.7 MB, free: 6.562 MB / 298.7 MB Notification: Performance of Templates: time 0.01463/0.3402, allocations: 8.127 MB / 424.8 MB, free: 14.45 MB / 314.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches