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.001318/0.001318, allocations: 78.88 kB / 20.68 MB, free: 1.039 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.001419/0.001419, allocations: 149.6 kB / 23.94 MB, free: 4.176 MB / 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.396/1.396, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 179] 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 1.973e-06/1.973e-06, allocations: 0 / 318.9 MB, free: 3.602 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.483e-05, allocations: 7.5 kB / 318.9 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.005623/0.005648, allocations: 5.542 MB / 324.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004248/0.009897, allocations: 2.017 MB / 326.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003907/0.01029, allocations: 20.75 kB / 326.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.01227, allocations: 0.7464 MB / 327.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.0141, allocations: 0.746 MB / 328 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.01518, allocations: 492.7 kB / 328.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001608/0.01679, allocations: 1.224 MB / 329.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.01812, allocations: 0.7505 MB / 330.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.01915, allocations: 0.6748 MB / 331.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000655/0.01981, allocations: 411.5 kB / 331.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.01997, allocations: 110.7 kB / 331.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006222/0.0206, allocations: 258.3 kB / 331.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.02087, allocations: 259 kB / 332.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005198/0.02139, allocations: 375.9 kB / 332.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.02332, allocations: 1.493 MB / 334 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.02333, allocations: 3.938 kB / 334 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.02333, allocations: 3.938 kB / 334 MB, free: 10.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.02334, allocations: 1.125 kB / 334 MB, free: 10.26 MB / 302.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.003647/0.02699, allocations: 1.634 MB / 335.6 MB, free: 9.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.02703, allocations: 10.3 kB / 335.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.02935, allocations: 381.4 kB / 336 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009521/0.03031, allocations: 0.4964 MB / 336.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-05/0.03038, allocations: 75.62 kB / 336.6 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.03053, allocations: 98.38 kB / 336.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.03249, allocations: 1.121 MB / 337.8 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.03253, allocations: 5.516 kB / 337.8 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.03264, allocations: 45.75 kB / 337.9 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.03266, allocations: 23.38 kB / 337.9 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.03453, allocations: 0.8519 MB / 338.7 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005575/0.0401, allocations: 2.926 MB / 341.7 MB, free: 4.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.04217, allocations: 0.8555 MB / 342.5 MB, free: 3.816 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009672/0.04313, allocations: 407.4 kB / 342.9 MB, free: 3.414 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.562e-05/0.04322, allocations: 16.59 kB / 342.9 MB, free: 3.395 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.04424, allocations: 0.5894 MB / 343.5 MB, free: 2.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 2.725e-06/0.04424, allocations: 0 / 343.5 MB, free: 2.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=84): time 0.004683/0.04892, allocations: 1.489 MB / 345 MB, free: 1.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.04906, allocations: 188.9 kB / 345.2 MB, free: 1.023 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/0.04962, allocations: 437.7 kB / 345.6 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.755e-05/0.04969, allocations: 41.7 kB / 345.7 MB, free: 0.543 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.05003, allocations: 424.6 kB / 346.1 MB, free: 124 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.0503, allocations: 289.7 kB / 346.4 MB, free: 15.83 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/0.05057, allocations: 158.6 kB / 346.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.05078, allocations: 374.8 kB / 346.9 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005911/0.05137, allocations: 265.9 kB / 347.1 MB, free: 15.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008359/0.05221, allocations: 0.5723 MB / 347.7 MB, free: 14.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.05357, allocations: 0.7395 MB / 348.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.05358, allocations: 3.75 kB / 348.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002157/0.05574, allocations: 1.01 MB / 349.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.05575, allocations: 8 kB / 349.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.05576, allocations: 4 kB / 349.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009438/0.05671, allocations: 269.5 kB / 349.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/0.05731, allocations: 147.7 kB / 349.9 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006103/0.06341, allocations: 4.537 MB / 354.4 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006471/0.06406, allocations: 103.4 kB / 354.5 MB, free: 7.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.06412, allocations: 35.98 kB / 354.6 MB, free: 7.215 MB / 318.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.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,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 (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.0004149/0.06454, allocations: 237.6 kB / 354.8 MB, free: 6.973 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.06466, allocations: 67.58 kB / 354.9 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.06688, allocations: 0.9589 MB / 355.8 MB, free: 5.934 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.06689, allocations: 8 kB / 355.8 MB, free: 5.926 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.0669, allocations: 4.062 kB / 355.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.06691, allocations: 7.984 kB / 355.8 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/0.07008, allocations: 1.644 MB / 357.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.07008, allocations: 0 / 357.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004786/0.07056, allocations: 95.88 kB / 357.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008233/0.07139, allocations: 261.6 kB / 357.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-05/0.07144, allocations: 19.98 kB / 357.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005821/0.07726, allocations: 4.517 MB / 362.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.07726, allocations: 0 / 362.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/0.08009, allocations: 1.366 MB / 363.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.08041, allocations: 131.4 kB / 363.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.701e-05/0.08051, allocations: 20 kB / 363.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004739/0.08099, allocations: 39.97 kB / 363.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/0.08117, allocations: 76.8 kB / 364 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.217e-05/0.08124, allocations: 23.98 kB / 364 MB, free: 13.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003814/0.08162, allocations: 295.1 kB / 364.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.08162, allocations: 0 / 364.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001115/0.08273, allocations: 311.3 kB / 364.6 MB, free: 12.86 MB / 334.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_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y_last,iAC.mean1.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.000296/0.08303, allocations: 159.1 kB / 364.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00206/0.08509, allocations: 1.042 MB / 365.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.08509, allocations: 4.438 kB / 365.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.08639, allocations: 0.7081 MB / 366.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/0.087, allocations: 110.9 kB / 366.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.09001, allocations: 1.597 MB / 368.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.09045, allocations: 407.8 kB / 368.6 MB, free: 8.734 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000294/0.09075, allocations: 77.14 kB / 368.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.09089, allocations: 52.42 kB / 368.8 MB, free: 8.605 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.09089, allocations: 0 / 368.8 MB, free: 8.605 MB / 334.1 MB Notification: Performance of Templates: time 0.02232/0.1132, allocations: 11.37 MB / 380.1 MB, free: 13.42 MB / 350.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.784284111112356]