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.001396/0.001396, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001485/0.001485, allocations: 166.9 kB / 25.02 MB, free: 8.949 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 1.444/1.444, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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 2.003e-06/2.003e-06, allocations: 0 / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.896e-05/4.097e-05, allocations: 2.312 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.008873/0.008914, allocations: 5.577 MB / 255.9 MB, free: 2.227 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005691/0.0146, allocations: 2.083 MB / 258 MB, free: 136 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.01565, allocations: 23.88 kB / 258 MB, free: 112 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002498/0.01815, allocations: 0.738 MB / 258.8 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002503/0.02065, allocations: 0.6248 MB / 259.4 MB, free: 14.74 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.02214, allocations: 0.4985 MB / 259.9 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002051/0.02419, allocations: 1.233 MB / 261.1 MB, free: 13 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.02569, allocations: 0.7492 MB / 261.9 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.02688, allocations: 0.6938 MB / 262.6 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008295/0.02771, allocations: 418.7 kB / 263 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.0279, allocations: 112 kB / 263.1 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.02894, allocations: 255.7 kB / 263.3 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.02928, allocations: 255.1 kB / 263.6 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006377/0.02992, allocations: 387 kB / 264 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002525/0.03244, allocations: 1.511 MB / 265.5 MB, free: 8.617 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.03245, allocations: 0 / 265.5 MB, free: 8.617 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.03245, allocations: 0 / 265.5 MB, free: 8.617 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.03247, allocations: 0 / 265.5 MB, free: 8.617 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.004119/0.03659, allocations: 1.658 MB / 267.1 MB, free: 6.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.03665, allocations: 19.97 kB / 267.2 MB, free: 6.891 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003364/0.04001, allocations: 0.6051 MB / 267.8 MB, free: 6.285 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.04128, allocations: 0.5282 MB / 268.3 MB, free: 5.727 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.65e-05/0.04137, allocations: 78.41 kB / 268.4 MB, free: 5.648 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.04156, allocations: 112.3 kB / 268.5 MB, free: 5.539 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/0.04389, allocations: 1.148 MB / 269.6 MB, free: 4.316 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/0.04393, allocations: 16.09 kB / 269.6 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.04406, allocations: 47.94 kB / 269.7 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.04408, allocations: 24 kB / 269.7 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.04646, allocations: 0.9096 MB / 270.6 MB, free: 3.324 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006572/0.05304, allocations: 3.091 MB / 273.7 MB, free: 108 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.05546, allocations: 0.9154 MB / 274.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.05679, allocations: 407.4 kB / 275 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.05691, allocations: 24.64 kB / 275.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/0.05807, allocations: 0.5972 MB / 275.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=86): time 3.106e-06/0.05808, allocations: 0 / 275.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=86): time 0.005015/0.06309, allocations: 1.52 MB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/0.06327, allocations: 197 kB / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009475/0.06421, allocations: 449.8 kB / 277.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/0.0643, allocations: 49.62 kB / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/0.06474, allocations: 440.5 kB / 278.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/0.06509, allocations: 297.5 kB / 278.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000295/0.06539, allocations: 166.6 kB / 278.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002464/0.06564, allocations: 370.7 kB / 279.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006502/0.06629, allocations: 277.9 kB / 279.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009764/0.06726, allocations: 0.6204 MB / 280 MB, free: 9.562 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.0689, allocations: 0.7914 MB / 280.8 MB, free: 8.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.06892, allocations: 4 kB / 280.8 MB, free: 8.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002565/0.07148, allocations: 1.1 MB / 281.9 MB, free: 7.559 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.07152, allocations: 8 kB / 281.9 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.07153, allocations: 8 kB / 281.9 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.0728, allocations: 321.7 kB / 282.2 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006595/0.07346, allocations: 159.7 kB / 282.4 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007115/0.08057, allocations: 4.572 MB / 286.9 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008742/0.08145, allocations: 99.44 kB / 287 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.152e-05/0.08153, allocations: 43.98 kB / 287.1 MB, free: 2.156 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.mean1.y,$PRE.iAC.mean1.y,iAC.mean2.y,$PRE.iAC.mean2.y,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 (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.000535/0.08206, allocations: 253.6 kB / 287.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.08226, allocations: 103.5 kB / 287.4 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.08466, allocations: 0.9672 MB / 288.4 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.08467, allocations: 12 kB / 288.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.08468, allocations: 0 / 288.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.08469, allocations: 3.984 kB / 288.4 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003573/0.08826, allocations: 1.663 MB / 290.1 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.08827, allocations: 0 / 290.1 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/0.08875, allocations: 103.9 kB / 290.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.08988, allocations: 313.3 kB / 290.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.754e-05/0.08994, allocations: 16 kB / 290.5 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006814/0.09676, allocations: 4.53 MB / 295 MB, free: 9.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.09676, allocations: 4 kB / 295 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/0.09993, allocations: 1.401 MB / 296.4 MB, free: 8.496 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/0.1003, allocations: 139.3 kB / 296.6 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.1004, allocations: 19.94 kB / 296.6 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.1009, allocations: 39.97 kB / 296.6 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/0.1012, allocations: 76.8 kB / 296.7 MB, free: 8.227 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.426e-05/0.1012, allocations: 31.98 kB / 296.7 MB, free: 8.195 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004329/0.1017, allocations: 303.1 kB / 297 MB, free: 7.898 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1017, allocations: 4 kB / 297 MB, free: 7.895 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001241/0.1029, allocations: 315.3 kB / 297.3 MB, free: 7.586 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,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y,iAC.mean1.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.000342/0.1032, allocations: 147.3 kB / 297.5 MB, free: 7.434 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002427/0.1057, allocations: 1.075 MB / 298.6 MB, free: 6.336 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1057, allocations: 0 / 298.6 MB, free: 6.336 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.1072, allocations: 0.7156 MB / 299.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007107/0.1079, allocations: 126.1 kB / 299.4 MB, free: 5.469 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/0.1116, allocations: 1.671 MB / 301.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/0.1122, allocations: 412.2 kB / 301.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005123/0.1127, allocations: 85.31 kB / 301.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.1129, allocations: 48.5 kB / 301.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1129, allocations: 0 / 301.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of Templates: time 0.02415/0.1371, allocations: 11.55 MB / 313.2 MB, free: 7.676 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.055766256060451]