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.001932/0.001932, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001405/0.001405, allocations: 187 kB / 18.67 MB, free: 4.402 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.491/1.491, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001356/0.001357, allocations: 47.94 kB / 328.5 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1045, allocations: 46.61 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005745/0.1103, allocations: 4.201 MB / 379.4 MB, free: 344 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2144/0.3247, allocations: 0.9451 MB / 380.3 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003103/0.325, allocations: 10.31 kB / 380.3 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.3254, allocations: 97.19 kB / 380.4 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005402/0.3259, allocations: 199.1 kB / 380.6 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.3263, allocations: 161.8 kB / 380.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008298/0.3271, allocations: 0.7344 MB / 381.5 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003633/0.3275, allocations: 227.5 kB / 381.7 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.3278, allocations: 282.5 kB / 382 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004485/0.3283, allocations: 327.1 kB / 382.3 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.3284, allocations: 61.59 kB / 382.4 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.3286, allocations: 60.22 kB / 382.4 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.3287, allocations: 146.4 kB / 382.6 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003405/0.3291, allocations: 327.4 kB / 382.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007647/0.3299, allocations: 0.7134 MB / 383.6 MB, free: 9.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3299, allocations: 0 / 383.6 MB, free: 9.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3299, allocations: 4 kB / 383.6 MB, free: 9.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.3299, allocations: 0.9375 kB / 383.6 MB, free: 9.035 MB / 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.001307/0.3312, allocations: 0.927 MB / 384.5 MB, free: 8.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3313, allocations: 9.156 kB / 384.6 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.3314, allocations: 70.48 kB / 384.6 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.3319, allocations: 389 kB / 385 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.3319, allocations: 42.73 kB / 385 MB, free: 7.984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.332, allocations: 50.16 kB / 385.1 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008737/0.3329, allocations: 0.5506 MB / 385.6 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3329, allocations: 1.5 kB / 385.6 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.3329, allocations: 24.66 kB / 385.7 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.3329, allocations: 13.38 kB / 385.7 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008377/0.3338, allocations: 444.1 kB / 386.1 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002502/0.3363, allocations: 2.031 MB / 388.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008323/0.3371, allocations: 0.6463 MB / 388.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006204/0.3378, allocations: 395.1 kB / 389.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/0.3378, allocations: 10.39 kB / 389.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.3379, allocations: 39.94 kB / 389.2 MB, free: 5.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 3.146e-06/0.3379, allocations: 6.297 kB / 389.2 MB, free: 5.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004181/0.3421, allocations: 2.034 MB / 391.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.3421, allocations: 59.02 kB / 391.3 MB, free: 4.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.3425, allocations: 362.7 kB / 391.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.3425, allocations: 40.27 kB / 391.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3426, allocations: 238.3 kB / 392 MB, free: 3.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.3427, allocations: 210.2 kB / 392.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.3429, allocations: 91.73 kB / 392.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.19e-05/0.343, allocations: 356.5 kB / 392.6 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.3433, allocations: 168 kB / 392.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.3436, allocations: 210.3 kB / 393 MB, free: 3.262 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006354/0.3442, allocations: 383.6 kB / 393.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3443, allocations: 0 / 393.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001153/0.3454, allocations: 0.6726 MB / 394 MB, free: 2.773 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3454, allocations: 9.031 kB / 394 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.3455, allocations: 5.609 kB / 394 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007323/0.3462, allocations: 257.1 kB / 394.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.3465, allocations: 65.23 kB / 394.3 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006354/0.3529, allocations: 7.504 MB / 401.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004219/0.3533, allocations: 16.89 kB / 401.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.3534, allocations: 17.94 kB / 401.9 MB, free: 11.77 MB / 334.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.0002654/0.3537, allocations: 176.8 kB / 402.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.163e-05/0.3538, allocations: 55.47 kB / 402.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.3539, allocations: 62.12 kB / 402.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3539, allocations: 5.906 kB / 402.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.3539, allocations: 5.656 kB / 402.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.3539, allocations: 4.547 kB / 402.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.3561, allocations: 1.339 MB / 403.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3561, allocations: 0 / 403.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.3564, allocations: 61.11 kB / 403.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006783/0.3571, allocations: 263.1 kB / 403.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.243e-05/0.3572, allocations: 13.58 kB / 403.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006601/0.3638, allocations: 7.5 MB / 411.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3638, allocations: 0 / 411.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.3657, allocations: 1.044 MB / 412.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.366, allocations: 162.5 kB / 412.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/0.3661, allocations: 11.22 kB / 412.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.3664, allocations: 20.47 kB / 412.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.3665, allocations: 49.73 kB / 412.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.3666, allocations: 17.31 kB / 412.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002855/0.3669, allocations: 255 kB / 412.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3669, allocations: 0 / 412.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009424/0.3678, allocations: 176.7 kB / 413.1 MB, free: 2.949 MB / 334.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.0001633/0.368, allocations: 117.6 kB / 413.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.3697, allocations: 1.044 MB / 414.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3698, allocations: 1.125 kB / 414.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.371, allocations: 0.8432 MB / 415.1 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000546/0.3716, allocations: 86.75 kB / 415.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.3745, allocations: 1.307 MB / 416.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/0.3752, allocations: 0.8774 MB / 417.3 MB, free: 4 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002715/0.3755, allocations: 55.8 kB / 417.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.755e-05/0.3756, allocations: 32.06 kB / 417.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3756, allocations: 0 / 417.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of Templates: time 0.02094/0.3965, allocations: 9.119 MB / 426.5 MB, free: 9.367 MB / 350.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 -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","/var/lib/jenkins/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