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.00134/0.00134, allocations: 108.9 kB / 17.06 MB, free: 5.824 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.001559/0.00156, allocations: 192 kB / 18 MB, free: 4.977 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.652/1.652, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009838/0.0009838, allocations: 51.92 kB / 351.3 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2851, allocations: 49.43 MB / 400.8 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.00497/0.2901, allocations: 4.247 MB / 405 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.2918, allocations: 0.924 MB / 405.9 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.292, allocations: 8 kB / 405.9 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.2922, allocations: 99 kB / 406 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.2928, allocations: 198.3 kB / 406.2 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.2931, allocations: 171.7 kB / 406.4 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006618/0.2937, allocations: 0.7283 MB / 407.1 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/0.2941, allocations: 215.1 kB / 407.3 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.2944, allocations: 282.9 kB / 407.6 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003699/0.2947, allocations: 338.5 kB / 407.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.84e-05/0.2948, allocations: 60 kB / 408 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.452e-05/0.2949, allocations: 60 kB / 408.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.2951, allocations: 143.5 kB / 408.2 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.2953, allocations: 326.4 kB / 408.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006048/0.296, allocations: 0.7084 MB / 409.2 MB, free: 344 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.296, allocations: 4 kB / 409.2 MB, free: 340 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.296, allocations: 4 kB / 409.2 MB, free: 336 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.607e-06/0.296, allocations: 0 / 409.2 MB, free: 336 kB / 318.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.001446/0.2974, allocations: 0.908 MB / 410.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2975, allocations: 8.031 kB / 410.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.2976, allocations: 72.19 kB / 410.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.2981, allocations: 385.9 kB / 410.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.2982, allocations: 41.69 kB / 410.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.919e-05/0.2983, allocations: 48.38 kB / 410.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000936/0.2992, allocations: 0.5493 MB / 411.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.2992, allocations: 0 / 411.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/0.2993, allocations: 24 kB / 411.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.2993, allocations: 12 kB / 411.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008475/0.3002, allocations: 451.6 kB / 411.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002714/0.3029, allocations: 2.03 MB / 413.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009078/0.3038, allocations: 0.6454 MB / 414.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/0.3044, allocations: 394.2 kB / 414.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.3044, allocations: 4.562 kB / 414.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3045, allocations: 39.12 kB / 414.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 1.783e-06/0.3045, allocations: 7.938 kB / 414.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.00442/0.3089, allocations: 2.032 MB / 416.8 MB, free: 8.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.309, allocations: 55.97 kB / 416.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.3094, allocations: 361.7 kB / 417.3 MB, free: 7.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.3094, allocations: 37.64 kB / 417.3 MB, free: 7.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.3096, allocations: 241.1 kB / 417.5 MB, free: 7.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.3098, allocations: 197.1 kB / 417.7 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.3099, allocations: 94.16 kB / 417.8 MB, free: 7.332 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3101, allocations: 350.8 kB / 418.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.3104, allocations: 169 kB / 418.3 MB, free: 6.816 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.3108, allocations: 215.8 kB / 418.5 MB, free: 6.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006608/0.3115, allocations: 380.9 kB / 418.9 MB, free: 6.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3115, allocations: 0 / 418.9 MB, free: 6.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001195/0.3127, allocations: 0.6695 MB / 419.6 MB, free: 5.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.3127, allocations: 7.938 kB / 419.6 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3127, allocations: 0 / 419.6 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007182/0.3134, allocations: 255.2 kB / 419.8 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.3138, allocations: 67.89 kB / 419.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007011/0.3208, allocations: 7.497 MB / 427.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.3212, allocations: 15.94 kB / 427.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.3212, allocations: 19.98 kB / 427.4 MB, free: 13.11 MB / 350.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.0002936/0.3215, allocations: 177.8 kB / 427.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.968e-05/0.3216, allocations: 51.34 kB / 427.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.3218, allocations: 64.95 kB / 427.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3218, allocations: 4 kB / 427.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/0.3218, allocations: 7.938 kB / 427.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3218, allocations: 3.984 kB / 427.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.3239, allocations: 1.333 MB / 429.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.324, allocations: 4 kB / 429.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.3242, allocations: 55.89 kB / 429.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006566/0.3249, allocations: 255.2 kB / 429.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.3249, allocations: 12 kB / 429.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006981/0.3319, allocations: 7.513 MB / 436.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.332, allocations: 96 / 436.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.3339, allocations: 1.03 MB / 437.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.3342, allocations: 160.4 kB / 438.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/0.3343, allocations: 8 kB / 438.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.3346, allocations: 23.98 kB / 438.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.3347, allocations: 52.42 kB / 438.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.3348, allocations: 19.94 kB / 438.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003244/0.3351, allocations: 263.2 kB / 438.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3351, allocations: 0 / 438.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009715/0.3361, allocations: 172 kB / 438.6 MB, free: 1.234 MB / 350.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.000196/0.3363, allocations: 113.5 kB / 438.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.3381, allocations: 1.037 MB / 439.8 MB, free: 24 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3381, allocations: 4 kB / 439.8 MB, free: 20 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.3393, allocations: 0.8492 MB / 440.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.3398, allocations: 89.47 kB / 440.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.3422, allocations: 1.261 MB / 442 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/0.3427, allocations: 0.8754 MB / 442.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.3429, allocations: 56.53 kB / 442.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.343, allocations: 27.44 kB / 442.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.343, allocations: 0 / 442.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Templates: time 0.01566/0.3587, allocations: 9.114 MB / 452 MB, free: 3.719 MB / 366.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