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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009635/0.0009635, allocations: 85.95 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009678/0.0009678, allocations: 162.7 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8804/0.8804, allocations: 158.6 MB / 187.5 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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=10000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.172e-05, allocations: 2.312 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.005301/0.005322, allocations: 5.99 MB / 257.5 MB, free: 1.219 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002992/0.008314, allocations: 2.115 MB / 259.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004389/0.008753, allocations: 23.88 kB / 259.6 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.009863, allocations: 0.777 MB / 260.4 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.0109, allocations: 0.6247 MB / 261 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000754/0.01166, allocations: 494.6 kB / 261.5 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.01284, allocations: 1.237 MB / 262.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009009/0.01374, allocations: 0.7532 MB / 263.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007028/0.01444, allocations: 0.6977 MB / 264.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005349/0.01497, allocations: 430.8 kB / 264.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004087/0.01538, allocations: 112 kB / 264.7 MB, free: 9.926 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005086/0.01589, allocations: 267.6 kB / 265 MB, free: 9.664 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.01606, allocations: 259 kB / 265.2 MB, free: 9.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.01639, allocations: 383 kB / 265.6 MB, free: 9.035 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.01751, allocations: 0.973 MB / 266.6 MB, free: 8.059 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.01752, allocations: 0 / 266.6 MB, free: 8.059 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01752, allocations: 0 / 266.6 MB, free: 8.059 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.01753, allocations: 0 / 266.6 MB, free: 8.059 MB / 250.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.002445/0.01997, allocations: 1.836 MB / 268.4 MB, free: 6.164 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.02001, allocations: 11.98 kB / 268.4 MB, free: 6.152 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002319/0.02233, allocations: 0.6207 MB / 269 MB, free: 5.531 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/0.02296, allocations: 0.4938 MB / 269.5 MB, free: 5.008 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-05/0.02302, allocations: 82.41 kB / 269.6 MB, free: 4.926 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.02316, allocations: 104.4 kB / 269.7 MB, free: 4.824 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.02421, allocations: 0.8452 MB / 270.6 MB, free: 3.895 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.02424, allocations: 12.09 kB / 270.6 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.47e-05/0.02432, allocations: 47.94 kB / 270.6 MB, free: 3.836 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.02434, allocations: 24 kB / 270.6 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006528/0.02499, allocations: 401.5 kB / 271 MB, free: 3.422 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003981/0.02897, allocations: 3.155 MB / 274.2 MB, free: 140 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.03019, allocations: 0.8044 MB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000405/0.0306, allocations: 261.1 kB / 275.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.538e-05/0.03066, allocations: 20.66 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004882/0.03115, allocations: 478.2 kB / 275.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=86): time 4.288e-06/0.03115, allocations: 0 / 275.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=86): time 0.002426/0.03358, allocations: 1.077 MB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/0.03366, allocations: 196.9 kB / 277 MB, free: 13.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.03404, allocations: 474.1 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.03409, allocations: 45.7 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.03437, allocations: 495.2 kB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.03457, allocations: 297.4 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.0348, allocations: 180.1 kB / 278.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004429/0.03525, allocations: 0.5506 MB / 279 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.03543, allocations: 105.9 kB / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/0.03583, allocations: 0.558 MB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005942/0.03643, allocations: 0.5891 MB / 280.3 MB, free: 9.586 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.03643, allocations: 4 kB / 280.3 MB, free: 9.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001059/0.03749, allocations: 0.7457 MB / 281 MB, free: 8.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.03751, allocations: 8 kB / 281 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.03752, allocations: 7.938 kB / 281 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006654/0.03819, allocations: 259.4 kB / 281.3 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.03859, allocations: 155.7 kB / 281.4 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004088/0.04268, allocations: 5.01 MB / 286.4 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.04309, allocations: 99.45 kB / 286.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.04313, allocations: 35.98 kB / 286.6 MB, free: 3.027 MB / 266.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.mean1.y,$PRE.iAC.mean1.y,iAC.mean2.y,$PRE.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.0002377/0.04337, allocations: 208.4 kB / 286.8 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.04349, allocations: 107.5 kB / 286.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.04451, allocations: 0.6603 MB / 287.5 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.04452, allocations: 8 kB / 287.5 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.04452, allocations: 3.938 kB / 287.6 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-06/0.04453, allocations: 3.984 kB / 287.6 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.04629, allocations: 1.289 MB / 288.8 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.04629, allocations: 7.984 kB / 288.9 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.04657, allocations: 95.83 kB / 288.9 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005923/0.04717, allocations: 239.1 kB / 289.2 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.0472, allocations: 15.98 kB / 289.2 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003741/0.05095, allocations: 4.988 MB / 294.2 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.05095, allocations: 3.984 kB / 294.2 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.05213, allocations: 0.9044 MB / 295.1 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/0.05234, allocations: 139.3 kB / 295.2 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-05/0.0524, allocations: 20 kB / 295.2 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.05267, allocations: 35.98 kB / 295.3 MB, free: 9.973 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.05281, allocations: 84.78 kB / 295.4 MB, free: 9.891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.05284, allocations: 16 kB / 295.4 MB, free: 9.875 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002027/0.05305, allocations: 287 kB / 295.7 MB, free: 9.594 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05305, allocations: 3.938 kB / 295.7 MB, free: 9.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009695/0.05402, allocations: 315.4 kB / 296 MB, free: 9.281 MB / 282.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,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y,iAC.mean1.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.0002237/0.05424, allocations: 163 kB / 296.1 MB, free: 9.113 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.05528, allocations: 0.9221 MB / 297.1 MB, free: 8.156 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.05528, allocations: 0 / 297.1 MB, free: 8.156 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006712/0.05595, allocations: 0.7205 MB / 297.8 MB, free: 7.395 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.05646, allocations: 114.1 kB / 297.9 MB, free: 7.285 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.05905, allocations: 1.577 MB / 299.5 MB, free: 5.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.05922, allocations: 188.7 kB / 299.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002532/0.05948, allocations: 81.33 kB / 299.7 MB, free: 5.375 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/0.0598, allocations: 202.1 kB / 299.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.0598, allocations: 0 / 299.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of Templates: time 0.01987/0.07967, allocations: 12.56 MB / 312.5 MB, free: 8.652 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.96760376682505]