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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 80.8 kB / 22.29 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009335/0.0009335, allocations: 163 kB / 25.69 MB, free: 8.418 MB / 18.57 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 0.8493/0.8493, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.813e-05, allocations: 6.25 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.004759/0.004778, allocations: 5.998 MB / 257.5 MB, free: 1.23 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.007292, allocations: 2.196 MB / 259.7 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002568/0.007549, allocations: 27.88 kB / 259.8 MB, free: 15 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009743/0.008524, allocations: 0.7886 MB / 260.5 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007958/0.009319, allocations: 0.6325 MB / 261.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.009855, allocations: 0.4946 MB / 261.7 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007779/0.01063, allocations: 1.237 MB / 262.9 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006788/0.01131, allocations: 0.7961 MB / 263.7 MB, free: 11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005037/0.01182, allocations: 0.6937 MB / 264.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004076/0.01222, allocations: 438.8 kB / 264.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.917e-05/0.01232, allocations: 112 kB / 264.9 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.01261, allocations: 263.6 kB / 265.2 MB, free: 9.508 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.01275, allocations: 259 kB / 265.4 MB, free: 9.254 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.013, allocations: 387 kB / 265.8 MB, free: 8.875 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007145/0.01371, allocations: 0.973 MB / 266.8 MB, free: 7.898 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.01372, allocations: 4 kB / 266.8 MB, free: 7.895 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.01372, allocations: 0 / 266.8 MB, free: 7.895 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.01372, allocations: 0 / 266.8 MB, free: 7.895 MB / 250.7 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.001511/0.01523, allocations: 1.381 MB / 268.2 MB, free: 6.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.01526, allocations: 15.98 kB / 268.2 MB, free: 6.465 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.01679, allocations: 0.6407 MB / 268.8 MB, free: 5.824 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.01721, allocations: 375.1 kB / 269.2 MB, free: 5.43 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.01725, allocations: 78.41 kB / 269.3 MB, free: 5.352 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.711e-05/0.01735, allocations: 108.4 kB / 269.4 MB, free: 5.246 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007089/0.01806, allocations: 0.848 MB / 270.2 MB, free: 4.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.01808, allocations: 192 / 270.2 MB, free: 4.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.656e-05/0.01814, allocations: 51.92 kB / 270.3 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.01815, allocations: 24 kB / 270.3 MB, free: 4.246 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004185/0.01857, allocations: 353.6 kB / 270.7 MB, free: 3.902 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/0.02108, allocations: 2.465 MB / 273.1 MB, free: 1.324 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008391/0.02192, allocations: 0.7263 MB / 273.8 MB, free: 0.582 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.02223, allocations: 263.4 kB / 274.1 MB, free: 328 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.398e-05/0.02229, allocations: 28.64 kB / 274.1 MB, free: 300 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003444/0.02263, allocations: 463.5 kB / 274.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=86): time 1.894e-06/0.02264, allocations: 0 / 274.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=86): time 0.001619/0.02425, allocations: 0.9677 MB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.02432, allocations: 192.9 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.02455, allocations: 415 kB / 276.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.02459, allocations: 45.64 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.02475, allocations: 397.5 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.0249, allocations: 297.4 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.02504, allocations: 170.5 kB / 277 MB, free: 13.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.02514, allocations: 382.6 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.02525, allocations: 93.98 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.0255, allocations: 455.3 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.0259, allocations: 0.501 MB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.0259, allocations: 0 / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0006228/0.02652, allocations: 0.5963 MB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.02654, allocations: 8 kB / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.02655, allocations: 8 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004755/0.02702, allocations: 245.4 kB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.02731, allocations: 159.7 kB / 279.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.02968, allocations: 3.584 MB / 283 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.02994, allocations: 99.39 kB / 283.1 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.02998, allocations: 28.06 kB / 283.2 MB, free: 6.699 MB / 266.7 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.mean2.y,$PRE.iAC.mean2.y,iAC.mean1.y,$PRE.iAC.mean1.y,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 (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.0001683/0.03014, allocations: 180.4 kB / 283.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-05/0.03022, allocations: 71.94 kB / 283.4 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006195/0.03084, allocations: 0.5278 MB / 283.9 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.03084, allocations: 15.98 kB / 284 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.03085, allocations: 3.938 kB / 284 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.03085, allocations: 3.984 kB / 284 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.03194, allocations: 0.9862 MB / 284.9 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.03195, allocations: 3.938 kB / 285 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.03215, allocations: 91.88 kB / 285 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000418/0.03256, allocations: 233.4 kB / 285.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.03259, allocations: 19.98 kB / 285.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/0.03469, allocations: 3.56 MB / 288.9 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.03469, allocations: 4 kB / 288.9 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.03542, allocations: 0.7339 MB / 289.6 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.0356, allocations: 87.38 kB / 289.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-05/0.03568, allocations: 16 kB / 289.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.03597, allocations: 39.97 kB / 289.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.03611, allocations: 80.8 kB / 289.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.03615, allocations: 16 kB / 289.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.03633, allocations: 168.7 kB / 290 MB, free: 15.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.03633, allocations: 0 / 290 MB, free: 15.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009069/0.03724, allocations: 327.3 kB / 290.3 MB, free: 15.29 MB / 282.7 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,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.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.0002146/0.03745, allocations: 132.3 kB / 290.4 MB, free: 15.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008025/0.03825, allocations: 0.7765 MB / 291.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.03826, allocations: 4 kB / 291.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004725/0.03873, allocations: 0.5788 MB / 291.8 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.03904, allocations: 122.2 kB / 291.9 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.04091, allocations: 1.581 MB / 293.5 MB, free: 12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.04102, allocations: 184.7 kB / 293.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.0412, allocations: 77.34 kB / 293.8 MB, free: 11.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.04143, allocations: 173.3 kB / 293.9 MB, free: 11.55 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.04143, allocations: 0 / 293.9 MB, free: 11.55 MB / 282.7 MB Notification: Performance of Templates: time 0.01434/0.05577, allocations: 12.36 MB / 306.3 MB, free: 15.21 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.916896468028426]