Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.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.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.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.0008551/0.000855, allocations: 179.8 kB / 17.36 MB, free: 4.199 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.247/1.247, allocations: 205.6 MB / 223.7 MB, free: 8.934 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.0007963/0.0007963, allocations: 96.77 kB / 272.1 MB, free: 8.109 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002396/0.0002394, allocations: 8 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.191, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.004744/0.1958, allocations: 5.446 MB / 382 MB, free: 41.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002887/0.1987, allocations: 2.899 MB / 384.9 MB, free: 38.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.1991, allocations: 20.53 kB / 385 MB, free: 38.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004792/0.1996, allocations: 239.2 kB / 385.2 MB, free: 38.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.201, allocations: 1.227 MB / 386.4 MB, free: 37.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007457/0.2017, allocations: 0.6636 MB / 387.1 MB, free: 36.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008582/0.2026, allocations: 1.132 MB / 388.2 MB, free: 35.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.2039, allocations: 1.419 MB / 389.6 MB, free: 34.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.2043, allocations: 387.7 kB / 390 MB, free: 34.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004363/0.2048, allocations: 483.9 kB / 390.5 MB, free: 34.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.577e-05/0.2049, allocations: 48 kB / 390.5 MB, free: 33.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.2052, allocations: 203.8 kB / 390.7 MB, free: 33.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.2054, allocations: 183.1 kB / 390.9 MB, free: 33.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.2057, allocations: 0.4989 MB / 391.4 MB, free: 33.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008155/0.2065, allocations: 1.347 MB / 392.8 MB, free: 31.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2065, allocations: 4 kB / 392.8 MB, free: 31.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2065, allocations: 0 / 392.8 MB, free: 31.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.2065, allocations: 0 / 392.8 MB, free: 31.75 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.002043/0.2086, allocations: 1.265 MB / 394 MB, free: 30.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.2086, allocations: 12.03 kB / 394 MB, free: 30.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/0.2112, allocations: 479.2 kB / 394.5 MB, free: 29.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006184/0.2119, allocations: 0.5695 MB / 395.1 MB, free: 29.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/0.2119, allocations: 78.41 kB / 395.2 MB, free: 29.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.2121, allocations: 104.4 kB / 395.3 MB, free: 29.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.2135, allocations: 1.059 MB / 396.3 MB, free: 28.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.2136, allocations: 4 kB / 396.3 MB, free: 28.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.368e-05/0.2137, allocations: 43.98 kB / 396.4 MB, free: 28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.2137, allocations: 28 kB / 396.4 MB, free: 27.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.2151, allocations: 0.9292 MB / 397.3 MB, free: 27.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003944/0.219, allocations: 3.773 MB / 401.1 MB, free: 23.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.2208, allocations: 2.494 MB / 403.6 MB, free: 20.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007104/0.2216, allocations: 480 kB / 404.1 MB, free: 19.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.031e-05/0.2217, allocations: 97.69 kB / 404.2 MB, free: 19.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006664/0.2223, allocations: 0.4969 MB / 404.6 MB, free: 19.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=86): time 2.004e-06/0.2223, allocations: 0 / 404.6 MB, free: 19.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=86): time 0.003676/0.226, allocations: 1.74 MB / 406.4 MB, free: 17.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.2261, allocations: 188.9 kB / 406.6 MB, free: 17.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.2265, allocations: 478 kB / 407 MB, free: 16.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.2266, allocations: 41.7 kB / 407.1 MB, free: 16.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.2267, allocations: 435.3 kB / 407.5 MB, free: 16.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.2269, allocations: 279.9 kB / 407.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.2269, allocations: 20 kB / 407.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.564e-05/0.227, allocations: 382.7 kB / 408.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004461/0.2274, allocations: 281.9 kB / 408.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005289/0.228, allocations: 0.5278 MB / 409 MB, free: 14.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009774/0.229, allocations: 0.8265 MB / 409.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.229, allocations: 4 kB / 409.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001555/0.2305, allocations: 1.088 MB / 410.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2306, allocations: 12.22 kB / 410.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.2306, allocations: 7.938 kB / 410.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007087/0.2313, allocations: 269.5 kB / 411.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.2318, allocations: 171.7 kB / 411.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003563/0.2354, allocations: 4.373 MB / 415.7 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/0.2359, allocations: 111.1 kB / 415.8 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/0.236, allocations: 43.94 kB / 415.9 MB, free: 7.281 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002714/0.2362, allocations: 261.5 kB / 416.1 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.2363, allocations: 67.16 kB / 416.2 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.2379, allocations: 0.9792 MB / 417.2 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.2379, allocations: 11.98 kB / 417.2 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.2379, allocations: 4 kB / 417.2 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.2379, allocations: 11.92 kB / 417.2 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.2402, allocations: 1.97 MB / 419.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2402, allocations: 0 / 419.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.2406, allocations: 99.88 kB / 419.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006248/0.2413, allocations: 265.7 kB / 419.5 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.232e-05/0.2413, allocations: 19.98 kB / 419.5 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003555/0.2449, allocations: 4.358 MB / 423.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2449, allocations: 0 / 423.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.2472, allocations: 1.415 MB / 425.3 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.2474, allocations: 212 kB / 425.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/0.2475, allocations: 28 kB / 425.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.2479, allocations: 43.97 kB / 425.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.2481, allocations: 68.89 kB / 425.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.2481, allocations: 35.98 kB / 425.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003153/0.2485, allocations: 314.9 kB / 426 MB, free: 12.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2485, allocations: 0 / 426 MB, free: 12.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009042/0.2494, allocations: 311.1 kB / 426.3 MB, free: 12.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002338/0.2496, allocations: 163.2 kB / 426.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.2514, allocations: 1.116 MB / 427.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2514, allocations: 4 kB / 427.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.2524, allocations: 0.7394 MB / 428.3 MB, free: 10.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006042/0.253, allocations: 123.5 kB / 428.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.2558, allocations: 2.16 MB / 430.6 MB, free: 8.043 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.2563, allocations: 0.9905 MB / 431.6 MB, free: 7.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003448/0.2566, allocations: 89.64 kB / 431.7 MB, free: 6.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.2568, allocations: 55.42 kB / 431.7 MB, free: 6.875 MB / 314.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2568, allocations: 0 / 431.7 MB, free: 6.875 MB / 314.7 MB Notification: Performance of Templates: time 0.01714/0.2739, allocations: 11.5 MB / 443.2 MB, free: 11.42 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches