Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001781/0.001781, allocations: 89.06 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002038/0.002038, allocations: 158.5 kB / 23.95 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 177 MB / 204.1 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/1.994e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007003/0.007023, allocations: 5.61 MB / 330.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004163/0.01119, allocations: 2.132 MB / 332.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004108/0.0116, allocations: 25.06 kB / 332.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.01346, allocations: 0.7463 MB / 333.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.01494, allocations: 0.602 MB / 334.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.01604, allocations: 0.5223 MB / 334.7 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.0174, allocations: 1.235 MB / 335.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.01851, allocations: 0.7649 MB / 336.7 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008937/0.01941, allocations: 0.6908 MB / 337.3 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005946/0.02, allocations: 411 kB / 337.7 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.02015, allocations: 110.4 kB / 337.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005848/0.02073, allocations: 288.5 kB / 338.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.02096, allocations: 252.8 kB / 338.4 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004344/0.0214, allocations: 379 kB / 338.8 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.02318, allocations: 1.523 MB / 340.3 MB, free: 5.754 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.02319, allocations: 4 kB / 340.3 MB, free: 5.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.02319, allocations: 0 / 340.3 MB, free: 5.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.115e-05/0.02321, allocations: 0 / 340.3 MB, free: 5.75 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.003534/0.02674, allocations: 1.658 MB / 341.9 MB, free: 4.043 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.02679, allocations: 15.98 kB / 342 MB, free: 4.027 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002606/0.0294, allocations: 391.9 kB / 342.3 MB, free: 3.645 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009623/0.03036, allocations: 0.5281 MB / 342.9 MB, free: 3.086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.95e-05/0.03043, allocations: 74.38 kB / 342.9 MB, free: 3.012 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.03059, allocations: 104.4 kB / 343 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.03265, allocations: 1.121 MB / 344.2 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.03268, allocations: 8.078 kB / 344.2 MB, free: 1.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.03279, allocations: 44.12 kB / 344.2 MB, free: 1.691 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.03281, allocations: 28 kB / 344.2 MB, free: 1.664 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.03462, allocations: 0.8472 MB / 345.1 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005174/0.03979, allocations: 2.947 MB / 348 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.04178, allocations: 0.8667 MB / 348.9 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009048/0.04269, allocations: 403.5 kB / 349.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.811e-05/0.04279, allocations: 24.58 kB / 349.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009688/0.04375, allocations: 0.5933 MB / 349.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.465e-06/0.04376, allocations: 0 / 349.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=84): time 0.004634/0.04839, allocations: 1.481 MB / 351.4 MB, free: 10.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.04851, allocations: 196.9 kB / 351.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/0.04905, allocations: 462 kB / 352 MB, free: 9.609 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.795e-05/0.04912, allocations: 45.7 kB / 352.1 MB, free: 9.559 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.04944, allocations: 432.7 kB / 352.5 MB, free: 9.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.04968, allocations: 285.5 kB / 352.8 MB, free: 8.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.04993, allocations: 154.6 kB / 352.9 MB, free: 8.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.05012, allocations: 374.8 kB / 353.3 MB, free: 8.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005838/0.05071, allocations: 269.9 kB / 353.6 MB, free: 8.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008434/0.05155, allocations: 0.5801 MB / 354.1 MB, free: 7.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.0529, allocations: 0.7395 MB / 354.9 MB, free: 6.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.05291, allocations: 7.938 kB / 354.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002143/0.05505, allocations: 1.01 MB / 355.9 MB, free: 5.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.05507, allocations: 8.438 kB / 355.9 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.05508, allocations: 8 kB / 355.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009759/0.05606, allocations: 261.5 kB / 356.2 MB, free: 5.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/0.05663, allocations: 143.8 kB / 356.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006048/0.06268, allocations: 4.547 MB / 360.9 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000627/0.06331, allocations: 95.38 kB / 361 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/0.06339, allocations: 40.05 kB / 361 MB, free: 232 kB / 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.0004391/0.06382, allocations: 243.2 kB / 361.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.06394, allocations: 71.58 kB / 361.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.0662, allocations: 0.9552 MB / 362.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.06621, allocations: 8 kB / 362.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.06621, allocations: 0 / 362.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.06622, allocations: 8.031 kB / 362.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00324/0.06946, allocations: 1.663 MB / 363.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.06947, allocations: 0 / 363.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/0.06992, allocations: 99.88 kB / 364 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008417/0.07076, allocations: 260.2 kB / 364.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.311e-05/0.07082, allocations: 19.98 kB / 364.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005671/0.07649, allocations: 4.498 MB / 368.8 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.07649, allocations: 4.031 kB / 368.8 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/0.0792, allocations: 1.362 MB / 370.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.07948, allocations: 139.3 kB / 370.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.823e-05/0.07958, allocations: 19.98 kB / 370.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004552/0.08004, allocations: 43.97 kB / 370.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.08021, allocations: 72.86 kB / 370.4 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/0.08026, allocations: 20 kB / 370.5 MB, free: 6.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003692/0.08063, allocations: 314.9 kB / 370.8 MB, free: 6.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08063, allocations: 0 / 370.8 MB, free: 6.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001034/0.08166, allocations: 315.3 kB / 371.1 MB, free: 5.844 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.0002782/0.08194, allocations: 155.1 kB / 371.2 MB, free: 5.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002029/0.08397, allocations: 1.056 MB / 372.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.08397, allocations: 0 / 372.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.08521, allocations: 0.7209 MB / 373 MB, free: 3.844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006127/0.08583, allocations: 106.5 kB / 373.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.0888, allocations: 1.606 MB / 374.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.08924, allocations: 412.3 kB / 375.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002781/0.08951, allocations: 77.22 kB / 375.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.08966, allocations: 52.48 kB / 375.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of SimCode: time 6.02e-07/0.08966, allocations: 0 / 375.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of Templates: time 0.02208/0.1117, allocations: 11.6 MB / 386.8 MB, free: 6.09 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.142100650817156]