Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009871/0.0009872, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009/0.0009, allocations: 102 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007501/0.0007502, allocations: 39.94 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2069, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.006309/0.2132, allocations: 6.248 MB / 380.1 MB, free: 40.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003462/0.2167, allocations: 2.157 MB / 382.2 MB, free: 39.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009525/0.2177, allocations: 21.22 kB / 382.2 MB, free: 39.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.2195, allocations: 0.6789 MB / 382.9 MB, free: 38.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.2215, allocations: 0.7332 MB / 383.7 MB, free: 38.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.2226, allocations: 451 kB / 384.1 MB, free: 37.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.2242, allocations: 1.139 MB / 385.2 MB, free: 37.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.2254, allocations: 0.6834 MB / 385.9 MB, free: 36.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006696/0.2261, allocations: 422.6 kB / 386.3 MB, free: 36.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000814/0.2269, allocations: 0.5263 MB / 386.9 MB, free: 35.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.227, allocations: 67.94 kB / 386.9 MB, free: 35.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.2276, allocations: 219.2 kB / 387.1 MB, free: 35.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.2277, allocations: 210.2 kB / 387.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004526/0.2282, allocations: 0.5092 MB / 387.9 MB, free: 35.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009186/0.2291, allocations: 1.396 MB / 389.3 MB, free: 34.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2291, allocations: 0 / 389.3 MB, free: 34.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.2291, allocations: 0 / 389.3 MB, free: 34.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.2292, allocations: 0 / 389.3 MB, free: 34.02 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.002389/0.2316, allocations: 1.44 MB / 390.7 MB, free: 32.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2316, allocations: 12.03 kB / 390.7 MB, free: 32.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002484/0.2341, allocations: 475.2 kB / 391.2 MB, free: 32.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006254/0.2347, allocations: 0.5732 MB / 391.7 MB, free: 31.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.2348, allocations: 78.41 kB / 391.8 MB, free: 31.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.2349, allocations: 104.4 kB / 391.9 MB, free: 31.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.2363, allocations: 1.051 MB / 393 MB, free: 30.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.2363, allocations: 7.984 kB / 393 MB, free: 30.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.479e-05/0.2364, allocations: 40 kB / 393 MB, free: 30.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.2364, allocations: 24 kB / 393 MB, free: 30.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.2378, allocations: 0.9174 MB / 394 MB, free: 29.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004001/0.2418, allocations: 3.746 MB / 397.7 MB, free: 25.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.2437, allocations: 2.498 MB / 400.2 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000719/0.2444, allocations: 467.5 kB / 400.7 MB, free: 21.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.701e-05/0.2445, allocations: 89.75 kB / 400.7 MB, free: 21.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006702/0.2452, allocations: 0.493 MB / 401.2 MB, free: 21.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=86): time 2.825e-06/0.2452, allocations: 0 / 401.2 MB, free: 21.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=86): time 0.00376/0.249, allocations: 1.705 MB / 402.9 MB, free: 19.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.249, allocations: 196.9 kB / 403.1 MB, free: 19.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.2494, allocations: 474 kB / 403.6 MB, free: 18.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.2495, allocations: 45.7 kB / 403.6 MB, free: 18.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.2496, allocations: 431.4 kB / 404.1 MB, free: 18.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.2498, allocations: 279.9 kB / 404.3 MB, free: 18.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.25, allocations: 170.5 kB / 404.5 MB, free: 17.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.2501, allocations: 374.7 kB / 404.9 MB, free: 17.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/0.2505, allocations: 281.9 kB / 405.1 MB, free: 17.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.2511, allocations: 0.5161 MB / 405.7 MB, free: 16.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.2521, allocations: 0.7992 MB / 406.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2521, allocations: 4 kB / 406.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001557/0.2537, allocations: 1.076 MB / 407.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2537, allocations: 10.03 kB / 407.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.2537, allocations: 8 kB / 407.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007469/0.2545, allocations: 273.6 kB / 407.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/0.255, allocations: 159.7 kB / 408 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003812/0.2588, allocations: 4.39 MB / 412.4 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/0.2594, allocations: 111.1 kB / 412.5 MB, free: 9.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.2595, allocations: 39.94 kB / 412.5 MB, free: 9.367 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,iDC2.mean.y,$PRE.iDC2.mean.y,iAC.mean2.y,$PRE.iAC.mean2.y,iAC.mean1.y,$PRE.iAC.mean1.y,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.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.0003105/0.2598, allocations: 257.5 kB / 412.8 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.288e-05/0.2599, allocations: 71.25 kB / 412.8 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.2615, allocations: 0.9636 MB / 413.8 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2615, allocations: 8 kB / 413.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.2615, allocations: 0 / 413.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.2615, allocations: 11.92 kB / 413.8 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/0.2639, allocations: 1.943 MB / 415.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2639, allocations: 3.938 kB / 415.8 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/0.2643, allocations: 99.88 kB / 415.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006191/0.2649, allocations: 265.5 kB / 416.1 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/0.265, allocations: 15.94 kB / 416.1 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003467/0.2684, allocations: 4.361 MB / 420.5 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2685, allocations: 160 / 420.5 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009143/0.2776, allocations: 6.97 MB / 427.5 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.2779, allocations: 216 kB / 427.7 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.094e-05/0.278, allocations: 20 kB / 427.7 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.2784, allocations: 47.97 kB / 427.8 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.2786, allocations: 76.83 kB / 427.8 MB, free: 9.379 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.2787, allocations: 23.98 kB / 427.9 MB, free: 9.355 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003133/0.279, allocations: 318.9 kB / 428.2 MB, free: 9.047 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.279, allocations: 0 / 428.2 MB, free: 9.047 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001139/0.2801, allocations: 379.1 kB / 428.5 MB, free: 8.676 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.0002427/0.2804, allocations: 159.9 kB / 428.7 MB, free: 8.512 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.2822, allocations: 1.092 MB / 429.8 MB, free: 7.391 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.2822, allocations: 4 kB / 429.8 MB, free: 7.387 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.2833, allocations: 0.7404 MB / 430.5 MB, free: 6.621 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006079/0.2839, allocations: 118.2 kB / 430.6 MB, free: 6.512 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.2875, allocations: 2.772 MB / 433.4 MB, free: 3.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.288, allocations: 1.018 MB / 434.4 MB, free: 2.629 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003585/0.2883, allocations: 89.64 kB / 434.5 MB, free: 2.539 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.2885, allocations: 51.44 kB / 434.6 MB, free: 2.488 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2885, allocations: 0 / 434.6 MB, free: 2.488 MB / 314.7 MB Notification: Performance of Templates: time 0.02014/0.3086, allocations: 13.42 MB / 448 MB, free: 5.082 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@2/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