Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.00139/0.00139, allocations: 82.58 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001547/0.001547, allocations: 163.3 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 3.938 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.626e-05, allocations: 5.516 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007413/0.00744, allocations: 5.602 MB / 330.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004777/0.01222, allocations: 2.137 MB / 332.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000664/0.01288, allocations: 25.31 kB / 332.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002182/0.01506, allocations: 0.7383 MB / 333.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.01698, allocations: 0.6092 MB / 334.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.01827, allocations: 0.5081 MB / 334.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00172/0.01999, allocations: 1.233 MB / 335.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.0212, allocations: 0.7557 MB / 336.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009572/0.02216, allocations: 0.6937 MB / 337.4 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006152/0.02277, allocations: 407.2 kB / 337.8 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.02293, allocations: 111.3 kB / 337.9 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006616/0.02359, allocations: 279.8 kB / 338.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002329/0.02382, allocations: 256.5 kB / 338.4 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004331/0.02426, allocations: 383.8 kB / 338.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.02604, allocations: 1.523 MB / 340.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.02605, allocations: 0 / 340.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.02605, allocations: 7.984 kB / 340.3 MB, free: 5.859 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.02606, allocations: 0 / 340.3 MB, free: 5.859 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.003522/0.02959, allocations: 1.658 MB / 342 MB, free: 4.152 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.02963, allocations: 8.031 kB / 342 MB, free: 4.145 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002599/0.03223, allocations: 395.8 kB / 342.4 MB, free: 3.758 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009791/0.03321, allocations: 0.5204 MB / 342.9 MB, free: 3.211 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.817e-05/0.03328, allocations: 74.38 kB / 343 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.03344, allocations: 104.4 kB / 343.1 MB, free: 3.031 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.0354, allocations: 1.124 MB / 344.2 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.03543, allocations: 8.141 kB / 344.2 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.99e-05/0.03553, allocations: 48.12 kB / 344.2 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.03556, allocations: 24 kB / 344.3 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.03726, allocations: 0.8472 MB / 345.1 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005179/0.04244, allocations: 2.95 MB / 348.1 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.04451, allocations: 0.8551 MB / 348.9 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009226/0.04544, allocations: 407.4 kB / 349.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.04555, allocations: 24.7 kB / 349.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009694/0.04652, allocations: 0.5934 MB / 349.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.555e-06/0.04652, allocations: 0 / 349.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=84): time 0.004716/0.05123, allocations: 1.485 MB / 351.4 MB, free: 10.42 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.05135, allocations: 192.9 kB / 351.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005775/0.05193, allocations: 465.8 kB / 352.1 MB, free: 9.727 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.82e-05/0.052, allocations: 41.7 kB / 352.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.05237, allocations: 428.7 kB / 352.5 MB, free: 9.254 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.05263, allocations: 289.5 kB / 352.8 MB, free: 8.969 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.05289, allocations: 154.6 kB / 353 MB, free: 8.812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.05308, allocations: 378.8 kB / 353.3 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005851/0.05366, allocations: 273.8 kB / 353.6 MB, free: 8.164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008232/0.05448, allocations: 0.5762 MB / 354.2 MB, free: 7.477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.05583, allocations: 0.7356 MB / 354.9 MB, free: 6.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.05585, allocations: 7.938 kB / 354.9 MB, free: 6.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002161/0.05801, allocations: 1.01 MB / 355.9 MB, free: 5.637 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.05803, allocations: 11.94 kB / 355.9 MB, free: 5.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.05804, allocations: 7.984 kB / 355.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009469/0.05899, allocations: 264.6 kB / 356.2 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/0.05958, allocations: 147.7 kB / 356.3 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005984/0.06556, allocations: 4.545 MB / 360.9 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007306/0.0663, allocations: 95.44 kB / 361 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.437e-05/0.06637, allocations: 35.98 kB / 361 MB, free: 352 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.0004603/0.06683, allocations: 242.9 kB / 361.3 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.06696, allocations: 71.75 kB / 361.3 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.0692, allocations: 0.9553 MB / 362.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.06921, allocations: 11.94 kB / 362.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.06921, allocations: 0 / 362.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.06922, allocations: 3.984 kB / 362.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.07261, allocations: 1.655 MB / 363.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.07261, allocations: 0 / 363.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/0.07308, allocations: 99.91 kB / 364 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008475/0.07393, allocations: 257.4 kB / 364.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.637e-05/0.07398, allocations: 23.98 kB / 364.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005741/0.07972, allocations: 4.509 MB / 368.8 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.07973, allocations: 4.031 kB / 368.8 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.08249, allocations: 1.358 MB / 370.2 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.0828, allocations: 135.5 kB / 370.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.0829, allocations: 23.98 kB / 370.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.08336, allocations: 39.97 kB / 370.4 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.08355, allocations: 80.78 kB / 370.5 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/0.0836, allocations: 23.98 kB / 370.5 MB, free: 6.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003841/0.08399, allocations: 314.9 kB / 370.8 MB, free: 6.266 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.08399, allocations: 0 / 370.8 MB, free: 6.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001158/0.08514, allocations: 311.3 kB / 371.1 MB, free: 5.961 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.0003101/0.08545, allocations: 155.3 kB / 371.3 MB, free: 5.797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.08757, allocations: 1.057 MB / 372.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.08758, allocations: 0 / 372.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.08883, allocations: 0.7238 MB / 373 MB, free: 3.953 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006245/0.08946, allocations: 102.1 kB / 373.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.09252, allocations: 1.61 MB / 374.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.09296, allocations: 408.3 kB / 375.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000283/0.09325, allocations: 81.2 kB / 375.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.09339, allocations: 52.48 kB / 375.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.09339, allocations: 0 / 375.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of Templates: time 0.02222/0.1156, allocations: 11.58 MB / 386.9 MB, free: 6.258 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.894914146512747]