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.00158/0.001579, allocations: 113.2 kB / 17.73 MB, free: 5.344 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.001489/0.001489, allocations: 188.2 kB / 18.66 MB, free: 4.418 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.557/1.557, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001156/0.001156, allocations: 47.92 kB / 328.5 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09705/0.09822, allocations: 46.61 MB / 375.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005519/0.1038, allocations: 4.197 MB / 379.4 MB, free: 344 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2063/0.3101, allocations: 0.9495 MB / 380.3 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.3104, allocations: 11.06 kB / 380.3 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.3107, allocations: 101.3 kB / 380.4 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004697/0.3112, allocations: 190.9 kB / 380.6 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.3115, allocations: 164 kB / 380.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00069/0.3122, allocations: 0.7329 MB / 381.5 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003643/0.3126, allocations: 230.4 kB / 381.7 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003341/0.313, allocations: 285.1 kB / 382 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004076/0.3134, allocations: 332.1 kB / 382.3 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.3135, allocations: 61.38 kB / 382.4 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.3137, allocations: 60.31 kB / 382.4 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.3138, allocations: 144.7 kB / 382.6 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.3141, allocations: 329.2 kB / 382.9 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007344/0.3149, allocations: 0.706 MB / 383.6 MB, free: 9.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3149, allocations: 0 / 383.6 MB, free: 9.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3149, allocations: 5.344 kB / 383.6 MB, free: 9.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.3149, allocations: 0 / 383.6 MB, free: 9.027 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.001376/0.3163, allocations: 0.9053 MB / 384.5 MB, free: 8.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3164, allocations: 9.562 kB / 384.5 MB, free: 8.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.3165, allocations: 70.31 kB / 384.6 MB, free: 8.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004886/0.317, allocations: 388.3 kB / 385 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.317, allocations: 42.44 kB / 385 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/0.3171, allocations: 48.91 kB / 385.1 MB, free: 7.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008697/0.318, allocations: 0.5399 MB / 385.6 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.318, allocations: 3.938 kB / 385.6 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.566e-05/0.318, allocations: 25.5 kB / 385.6 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.3181, allocations: 14.44 kB / 385.6 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008538/0.3189, allocations: 448.6 kB / 386.1 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.3214, allocations: 2.03 MB / 388.1 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008523/0.3223, allocations: 0.6421 MB / 388.8 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006582/0.323, allocations: 398 kB / 389.1 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.323, allocations: 6.5 kB / 389.2 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.3231, allocations: 39.64 kB / 389.2 MB, free: 5.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 2.235e-06/0.3231, allocations: 4 kB / 389.2 MB, free: 5.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004685/0.3278, allocations: 2.032 MB / 391.2 MB, free: 4.461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.3278, allocations: 58.44 kB / 391.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.3282, allocations: 363.8 kB / 391.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.3282, allocations: 36.45 kB / 391.7 MB, free: 4.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.3284, allocations: 235.3 kB / 391.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.3285, allocations: 195.1 kB / 392.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.3286, allocations: 95.27 kB / 392.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.888e-05/0.3287, allocations: 354.4 kB / 392.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.3291, allocations: 172.3 kB / 392.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.3294, allocations: 215 kB / 392.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00059/0.33, allocations: 383 kB / 393.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.33, allocations: 0 / 393.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001116/0.3311, allocations: 0.667 MB / 394 MB, free: 2.816 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3311, allocations: 9.156 kB / 394 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3312, allocations: 0.75 kB / 394 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006935/0.3319, allocations: 258.3 kB / 394.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.3322, allocations: 64.41 kB / 394.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006897/0.3391, allocations: 7.498 MB / 401.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003986/0.3395, allocations: 17.22 kB / 401.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.3395, allocations: 15.97 kB / 401.8 MB, free: 11.82 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.0003302/0.3399, allocations: 172.2 kB / 402 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.34, allocations: 52.58 kB / 402 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.3401, allocations: 66.66 kB / 402.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.3402, allocations: 6.344 kB / 402.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.42e-05/0.3402, allocations: 7.078 kB / 402.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.3402, allocations: 5.203 kB / 402.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/0.3427, allocations: 1.34 MB / 403.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.3428, allocations: 0.7031 kB / 403.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.3431, allocations: 60.98 kB / 403.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008068/0.3439, allocations: 259.1 kB / 403.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.293e-05/0.344, allocations: 16.88 kB / 403.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00815/0.3521, allocations: 7.495 MB / 411.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3522, allocations: 0.5156 kB / 411.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.3543, allocations: 1.034 MB / 412.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/0.3547, allocations: 162.8 kB / 412.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.3548, allocations: 10.28 kB / 412.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.3551, allocations: 26.31 kB / 412.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.3553, allocations: 49.23 kB / 412.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.3553, allocations: 16.42 kB / 412.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003383/0.3557, allocations: 254.6 kB / 412.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3557, allocations: 1.094 kB / 412.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001042/0.3567, allocations: 175.9 kB / 413 MB, free: 3.008 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.0001787/0.3569, allocations: 120.2 kB / 413.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.3589, allocations: 1.04 MB / 414.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.3589, allocations: 0 / 414.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.3601, allocations: 0.8321 MB / 415 MB, free: 1.609 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005521/0.3607, allocations: 90.59 kB / 415.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.3636, allocations: 1.282 MB / 416.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.3642, allocations: 0.8784 MB / 417.2 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000206/0.3644, allocations: 55.72 kB / 417.3 MB, free: 64 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.838e-05/0.3645, allocations: 32.09 kB / 417.3 MB, free: 52 kB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3645, allocations: 0 / 417.3 MB, free: 52 kB / 334.1 MB Notification: Performance of Templates: time 0.01795/0.3825, allocations: 9.111 MB / 426.4 MB, free: 9.465 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