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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 104.5 kB / 21.18 MB, free: 0.5586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 189.2 kB / 24.47 MB, free: 3.93 MB / 14.72 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 1.401/1.401, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.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: 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.00172/0.00172, allocations: 59.91 kB / 347.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2483, allocations: 49.15 MB / 396.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.006522/0.2548, allocations: 6.316 MB / 403.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003926/0.2588, allocations: 2.196 MB / 405.3 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005442/0.2593, allocations: 25.03 kB / 405.4 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.2611, allocations: 0.7671 MB / 406.1 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.2629, allocations: 0.7928 MB / 406.9 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.2639, allocations: 0.4938 MB / 407.4 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.2652, allocations: 1.19 MB / 408.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009197/0.2661, allocations: 0.6712 MB / 409.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005114/0.2666, allocations: 483.4 kB / 409.7 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006073/0.2672, allocations: 0.5488 MB / 410.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.2674, allocations: 111.4 kB / 410.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005576/0.2679, allocations: 272.2 kB / 410.7 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.2681, allocations: 258.5 kB / 410.9 MB, free: 332 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000441/0.2686, allocations: 0.5489 MB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.2705, allocations: 1.473 MB / 412.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2705, allocations: 0 / 412.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2705, allocations: 1.125 kB / 412.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.2705, allocations: 0 / 412.9 MB, free: 15.07 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003759/0.2743, allocations: 1.673 MB / 414.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.2743, allocations: 13.33 kB / 414.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/0.2775, allocations: 481.1 kB / 415.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.2785, allocations: 0.5063 MB / 415.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.433e-05/0.2786, allocations: 80.47 kB / 415.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.2787, allocations: 101.2 kB / 415.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/0.2807, allocations: 1.059 MB / 416.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.2807, allocations: 5.234 kB / 416.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.344e-05/0.2808, allocations: 44.94 kB / 416.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.2809, allocations: 24.91 kB / 416.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.2828, allocations: 0.9165 MB / 417.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006139/0.2889, allocations: 3.464 MB / 421.3 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/0.2912, allocations: 0.9204 MB / 422.2 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.2922, allocations: 404.2 kB / 422.6 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.901e-05/0.2923, allocations: 16.64 kB / 422.6 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.2933, allocations: 0.4902 MB / 423.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=86): time 2.765e-06/0.2933, allocations: 0 / 423.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=86): time 0.004421/0.2977, allocations: 1.505 MB / 424.6 MB, free: 7.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.2979, allocations: 192.9 kB / 424.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000598/0.2985, allocations: 470 kB / 425.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/0.2985, allocations: 49.7 kB / 425.3 MB, free: 6.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.2989, allocations: 436.6 kB / 425.7 MB, free: 6.078 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.2992, allocations: 305.4 kB / 426 MB, free: 5.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.2994, allocations: 166.6 kB / 426.2 MB, free: 5.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.2996, allocations: 378.8 kB / 426.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005758/0.3002, allocations: 269.9 kB / 426.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007918/0.301, allocations: 0.52 MB / 427.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.3024, allocations: 0.7991 MB / 428.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3024, allocations: 0 / 428.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002125/0.3045, allocations: 1.068 MB / 429.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3045, allocations: 8 kB / 429.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3045, allocations: 7.938 kB / 429.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008828/0.3054, allocations: 277.6 kB / 429.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/0.306, allocations: 159.7 kB / 429.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006114/0.3121, allocations: 4.639 MB / 434.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006984/0.3128, allocations: 107.4 kB / 434.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.236e-05/0.3129, allocations: 36 kB / 434.4 MB, free: 12.91 MB / 350.1 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.0004751/0.3134, allocations: 261.6 kB / 434.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.3135, allocations: 75.53 kB / 434.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.3157, allocations: 0.9791 MB / 435.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.3157, allocations: 8 kB / 435.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.3157, allocations: 0 / 435.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.3157, allocations: 3.984 kB / 435.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003345/0.3191, allocations: 1.889 MB / 437.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3191, allocations: 4.125 kB / 437.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/0.3195, allocations: 103.9 kB / 437.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000796/0.3203, allocations: 265.4 kB / 438 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.3204, allocations: 19.98 kB / 438 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005647/0.326, allocations: 4.607 MB / 442.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.326, allocations: 7.969 kB / 442.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.3286, allocations: 1.377 MB / 444 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003215/0.3289, allocations: 143.3 kB / 444.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.329, allocations: 16 kB / 444.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/0.3295, allocations: 43.97 kB / 444.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.3297, allocations: 76.8 kB / 444.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.3297, allocations: 27.98 kB / 444.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004094/0.3301, allocations: 322.9 kB / 444.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3301, allocations: 0 / 444.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001122/0.3312, allocations: 307.4 kB / 444.9 MB, free: 2.07 MB / 350.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,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.0002842/0.3315, allocations: 167 kB / 445.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.3335, allocations: 1.065 MB / 446.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3335, allocations: 192 / 446.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.3347, allocations: 0.7087 MB / 446.9 MB, free: 72 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006705/0.3354, allocations: 126.4 kB / 447 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.3386, allocations: 1.724 MB / 448.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.3393, allocations: 0.9944 MB / 449.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003433/0.3396, allocations: 85.64 kB / 449.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.3398, allocations: 55.42 kB / 449.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3398, allocations: 0 / 449.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Templates: time 0.0258/0.3656, allocations: 13.42 MB / 463.3 MB, free: 15.57 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.065534967929125]