Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.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_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.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_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001527/0.001527, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.39/1.39, allocations: 227.7 MB / 247.2 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 63.91 kB / 359 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2546, allocations: 50.55 MB / 409.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008113/0.2627, allocations: 6.292 MB / 415.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004947/0.2677, allocations: 2.223 MB / 418.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007771/0.2686, allocations: 19.94 kB / 418.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.2706, allocations: 0.7538 MB / 418.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.2723, allocations: 0.6017 MB / 419.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.2735, allocations: 0.5221 MB / 420 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.2749, allocations: 1.191 MB / 421.2 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.2762, allocations: 0.8315 MB / 422 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006648/0.2769, allocations: 474.2 kB / 422.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006745/0.2776, allocations: 0.5445 MB / 423 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.2778, allocations: 112 kB / 423.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006154/0.2784, allocations: 283.8 kB / 423.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.2786, allocations: 255.1 kB / 423.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005603/0.2792, allocations: 0.5518 MB / 424.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.2811, allocations: 1.486 MB / 425.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2811, allocations: 4 kB / 425.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2811, allocations: 0 / 425.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.2811, allocations: 0 / 425.7 MB, free: 1.219 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003037/0.2841, allocations: 1.477 MB / 427.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2842, allocations: 11.97 kB / 427.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002415/0.2866, allocations: 391.9 kB / 427.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009068/0.2875, allocations: 0.5893 MB / 428.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-05/0.2876, allocations: 78.38 kB / 428.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.2878, allocations: 96.38 kB / 428.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.2896, allocations: 1.02 MB / 429.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.2896, allocations: 11.89 kB / 429.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.634e-05/0.2897, allocations: 43.98 kB / 429.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.2897, allocations: 24 kB / 429.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.2914, allocations: 0.8511 MB / 430.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007421/0.2989, allocations: 3.606 MB / 433.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003219/0.3021, allocations: 1.896 MB / 435.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009998/0.3031, allocations: 471.4 kB / 436.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.3033, allocations: 174.9 kB / 436.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008933/0.3043, allocations: 496.8 kB / 436.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.515e-06/0.3043, allocations: 4 kB / 436.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.004706/0.309, allocations: 1.69 MB / 438.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.3091, allocations: 192.9 kB / 438.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005708/0.3097, allocations: 478 kB / 439.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/0.3098, allocations: 41.7 kB / 439.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/0.3101, allocations: 432.7 kB / 439.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.3103, allocations: 285.5 kB / 440 MB, free: 2.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/0.3106, allocations: 162.6 kB / 440.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.3108, allocations: 378.8 kB / 440.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000562/0.3113, allocations: 261.9 kB / 440.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007482/0.3121, allocations: 491.2 kB / 441.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.3134, allocations: 0.7474 MB / 442 MB, free: 15.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3134, allocations: 4 kB / 442 MB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002064/0.3155, allocations: 1.037 MB / 443 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3155, allocations: 11.94 kB / 443 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.3155, allocations: 8 kB / 443.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008874/0.3164, allocations: 267.4 kB / 443.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005442/0.317, allocations: 143.8 kB / 443.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005865/0.3229, allocations: 4.863 MB / 448.3 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005959/0.3235, allocations: 107.4 kB / 448.4 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.668e-05/0.3235, allocations: 35.92 kB / 448.5 MB, free: 9.242 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,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 (82): * Single equations (assignments): 80 * 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.0004633/0.324, allocations: 258.4 kB / 448.7 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.3241, allocations: 71.58 kB / 448.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.3262, allocations: 0.9633 MB / 449.7 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.3263, allocations: 12 kB / 449.8 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.3263, allocations: 4 kB / 449.8 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.3263, allocations: 3.984 kB / 449.8 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/0.3296, allocations: 1.917 MB / 451.7 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3296, allocations: 0 / 451.7 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.3301, allocations: 95.88 kB / 451.8 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008349/0.3309, allocations: 257.6 kB / 452 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.155e-05/0.331, allocations: 23.98 kB / 452 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00567/0.3367, allocations: 4.812 MB / 456.9 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.3367, allocations: 3.938 kB / 456.9 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002691/0.3394, allocations: 1.377 MB / 458.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.3397, allocations: 220.4 kB / 458.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.112e-05/0.3398, allocations: 16 kB / 458.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.3403, allocations: 51.95 kB / 458.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.3404, allocations: 68.91 kB / 458.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.3405, allocations: 27.92 kB / 458.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004193/0.3409, allocations: 326.9 kB / 458.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3409, allocations: 0 / 458.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001022/0.342, allocations: 311.3 kB / 459.2 MB, free: 14.04 MB / 382.1 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_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y_last) * 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 (57): * Single equations (assignments): 52 * 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.0003074/0.3423, allocations: 175 kB / 459.4 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002065/0.3444, allocations: 1.088 MB / 460.5 MB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3444, allocations: 1.25 kB / 460.5 MB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.3457, allocations: 0.747 MB / 461.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/0.3463, allocations: 115.4 kB / 461.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.3493, allocations: 1.67 MB / 463 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/0.35, allocations: 0.9904 MB / 464 MB, free: 9.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002984/0.3503, allocations: 85.47 kB / 464.1 MB, free: 9.055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.3504, allocations: 55.42 kB / 464.2 MB, free: 9 MB / 382.1 MB Notification: Performance of SimCode: time 2.495e-06/0.3504, allocations: 4 kB / 464.2 MB, free: 8.996 MB / 382.1 MB Notification: Performance of Templates: time 0.03219/0.3826, allocations: 12.6 MB / 476.8 MB, free: 12.53 MB / 398.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches