Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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.001389/0.001389, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001362/0.001362, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.0_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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 51.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2406, allocations: 52.13 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008165/0.2487, allocations: 6.291 MB / 427.2 MB, free: 8.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00399/0.2527, allocations: 2.145 MB / 429.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003787/0.2531, allocations: 19.94 kB / 429.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.255, allocations: 0.7578 MB / 430.1 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.2565, allocations: 0.765 MB / 430.8 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009102/0.2574, allocations: 0.4909 MB / 431.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.2587, allocations: 1.176 MB / 432.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.2597, allocations: 0.6675 MB / 433.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005333/0.2602, allocations: 462.3 kB / 433.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006869/0.2609, allocations: 0.5367 MB / 434.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.2611, allocations: 108 kB / 434.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/0.2616, allocations: 271.8 kB / 434.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.2618, allocations: 247.1 kB / 434.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004992/0.2623, allocations: 0.5364 MB / 435.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.264, allocations: 1.459 MB / 436.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.264, allocations: 4 kB / 436.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.264, allocations: 0 / 436.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.264, allocations: 0 / 436.8 MB, free: 15.12 MB / 350.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.002966/0.2669, allocations: 1.45 MB / 438.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.267, allocations: 8.031 kB / 438.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/0.2691, allocations: 375.9 kB / 438.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000926/0.2701, allocations: 0.5698 MB / 439.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.656e-05/0.2701, allocations: 74.38 kB / 439.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.2703, allocations: 100.4 kB / 439.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.2721, allocations: 1.024 MB / 440.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.2721, allocations: 0 / 440.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.36e-05/0.2722, allocations: 40 kB / 440.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.2723, allocations: 24 kB / 440.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.274, allocations: 0.8645 MB / 441.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005198/0.2792, allocations: 3.508 MB / 444.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002375/0.2815, allocations: 1.832 MB / 446.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009048/0.2824, allocations: 427.4 kB / 447.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.2826, allocations: 89.75 kB / 447.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008715/0.2834, allocations: 496.8 kB / 447.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.564e-06/0.2834, allocations: 0 / 447.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.00444/0.2879, allocations: 1.674 MB / 449.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.288, allocations: 196.9 kB / 449.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005181/0.2885, allocations: 458 kB / 449.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.437e-05/0.2886, allocations: 41.7 kB / 450 MB, free: 1.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.2889, allocations: 420.7 kB / 450.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.2891, allocations: 297.5 kB / 450.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.2893, allocations: 154.6 kB / 450.8 MB, free: 372 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.2895, allocations: 370.8 kB / 451.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.2901, allocations: 269.9 kB / 451.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007144/0.2908, allocations: 491.2 kB / 451.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.292, allocations: 0.7357 MB / 452.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.292, allocations: 7.938 kB / 452.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001898/0.2939, allocations: 1.018 MB / 453.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.2939, allocations: 7.938 kB / 453.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.2939, allocations: 11.94 kB / 453.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008301/0.2948, allocations: 264.8 kB / 454 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.2953, allocations: 151.7 kB / 454.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005559/0.3009, allocations: 4.862 MB / 459 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000611/0.3015, allocations: 103.4 kB / 459.1 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.257e-05/0.3016, allocations: 32 kB / 459.1 MB, free: 7.609 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.0004521/0.302, allocations: 241.7 kB / 459.4 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.3021, allocations: 71.52 kB / 459.4 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/0.3041, allocations: 0.9514 MB / 460.4 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3041, allocations: 11.94 kB / 460.4 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.3041, allocations: 0 / 460.4 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.3041, allocations: 3.984 kB / 460.4 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/0.3073, allocations: 1.898 MB / 462.3 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3073, allocations: 4.188 kB / 462.3 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.3077, allocations: 99.81 kB / 462.4 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007549/0.3085, allocations: 261.4 kB / 462.6 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/0.3085, allocations: 19.98 kB / 462.7 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005637/0.3142, allocations: 4.812 MB / 467.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.3142, allocations: 8 kB / 467.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/0.3168, allocations: 1.358 MB / 468.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/0.3172, allocations: 216.4 kB / 469.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-05/0.3173, allocations: 20 kB / 469.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004536/0.3177, allocations: 47.97 kB / 469.1 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.3179, allocations: 68.78 kB / 469.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-05/0.318, allocations: 35.92 kB / 469.2 MB, free: 13.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004106/0.3184, allocations: 310.9 kB / 469.5 MB, free: 12.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3184, allocations: 0 / 469.5 MB, free: 12.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001172/0.3195, allocations: 303.4 kB / 469.8 MB, free: 12.48 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.0003133/0.3199, allocations: 160.5 kB / 470 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00209/0.3219, allocations: 1.052 MB / 471 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3219, allocations: 192 / 471 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.3231, allocations: 0.7053 MB / 471.7 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/0.3237, allocations: 126.1 kB / 471.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.3268, allocations: 1.66 MB / 473.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/0.3274, allocations: 0.9943 MB / 474.5 MB, free: 7.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003153/0.3277, allocations: 81.33 kB / 474.6 MB, free: 7.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.3278, allocations: 51.42 kB / 474.6 MB, free: 7.543 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3278, allocations: 0 / 474.6 MB, free: 7.543 MB / 382.1 MB Notification: Performance of Templates: time 0.02288/0.3507, allocations: 12.99 MB / 487.6 MB, free: 10.69 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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: 4.92802407220006]