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.001102/0.001102, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001587/0.002689, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007204/0.0007204, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001133/0.001853, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.002/1.002, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07643/1.078, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.824e-06/1.824e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.837e-05, allocations: 2.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007135/0.007153, allocations: 6.108 MB / 250.8 MB, free: 8.074 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003975/0.01113, allocations: 2.257 MB / 253.1 MB, free: 5.805 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004825/0.01161, allocations: 27.94 kB / 253.1 MB, free: 5.777 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.01301, allocations: 0.7924 MB / 253.9 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.01432, allocations: 0.6129 MB / 254.5 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008462/0.01516, allocations: 0.5103 MB / 255 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009062/0.01607, allocations: 1.222 MB / 256.2 MB, free: 2.625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008094/0.01688, allocations: 0.7572 MB / 257 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006987/0.01758, allocations: 0.7612 MB / 257.8 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003947/0.01797, allocations: 426.7 kB / 258.2 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.273e-05/0.01806, allocations: 108 kB / 258.3 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.01843, allocations: 291.6 kB / 258.6 MB, free: 276 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.01855, allocations: 191.4 kB / 258.8 MB, free: 84 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.01878, allocations: 311.4 kB / 259.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007327/0.01951, allocations: 0.9068 MB / 260 MB, free: 14.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.01952, allocations: 4 kB / 260 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01953, allocations: 0 / 260 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.01954, allocations: 0 / 260 MB, free: 14.86 MB / 266.7 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.001639/0.02118, allocations: 1.678 MB / 261.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.0212, allocations: 12.02 kB / 261.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.02259, allocations: 0.5159 MB / 262.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.023, allocations: 391 kB / 262.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.02304, allocations: 74.38 kB / 262.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.908e-05/0.02313, allocations: 104.4 kB / 262.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/0.02379, allocations: 0.8242 MB / 263.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.02381, allocations: 4.188 kB / 263.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.02386, allocations: 48.11 kB / 263.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.02388, allocations: 27.94 kB / 263.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000372/0.02425, allocations: 329.7 kB / 264 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.02655, allocations: 2.423 MB / 266.4 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/0.0273, allocations: 0.6576 MB / 267 MB, free: 7.531 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.02759, allocations: 263.5 kB / 267.3 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.467e-05/0.02766, allocations: 24.64 kB / 267.3 MB, free: 7.246 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003321/0.02799, allocations: 459.4 kB / 267.8 MB, free: 6.742 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 1.733e-06/0.02799, allocations: 0 / 267.8 MB, free: 6.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.001678/0.02967, allocations: 0.9599 MB / 268.7 MB, free: 5.773 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.02972, allocations: 94.05 kB / 268.8 MB, free: 5.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.02998, allocations: 419.1 kB / 269.2 MB, free: 5.238 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.03002, allocations: 41.7 kB / 269.3 MB, free: 5.191 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.03017, allocations: 381.6 kB / 269.6 MB, free: 4.812 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.03032, allocations: 285.5 kB / 269.9 MB, free: 4.531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.03045, allocations: 162.5 kB / 270.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.03058, allocations: 382.7 kB / 270.4 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.03071, allocations: 85.95 kB / 270.5 MB, free: 3.898 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.03101, allocations: 414 kB / 270.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.03137, allocations: 467.3 kB / 271.4 MB, free: 2.852 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.03137, allocations: 4 kB / 271.4 MB, free: 2.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0008852/0.03226, allocations: 0.561 MB / 272 MB, free: 2.273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.03228, allocations: 8 kB / 272 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.03229, allocations: 4 kB / 272 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007129/0.033, allocations: 225.7 kB / 272.2 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.03349, allocations: 163.8 kB / 272.3 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003513/0.037, allocations: 3.6 MB / 275.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.03739, allocations: 87.48 kB / 276 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/0.03744, allocations: 24 kB / 276.1 MB, free: 14 MB / 282.7 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.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,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 (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.0002207/0.03766, allocations: 177.9 kB / 276.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/0.03802, allocations: 71.92 kB / 276.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.03902, allocations: 0.5431 MB / 276.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.03902, allocations: 8.062 kB / 276.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.03903, allocations: 8 kB / 276.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.03904, allocations: 3.984 kB / 276.9 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.04073, allocations: 0.9745 MB / 277.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.04073, allocations: 0 / 277.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003698/0.0411, allocations: 107.8 kB / 277.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.0413, allocations: 83.38 kB / 278 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000664/0.04197, allocations: 216.7 kB / 278.2 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/0.04201, allocations: 27.98 kB / 278.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00332/0.04533, allocations: 3.535 MB / 281.8 MB, free: 8.027 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.04533, allocations: 0 / 281.8 MB, free: 8.027 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.0465, allocations: 0.7145 MB / 282.5 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-05/0.04658, allocations: 24.03 kB / 282.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.04688, allocations: 35.91 kB / 282.6 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.04703, allocations: 80.8 kB / 282.7 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.04707, allocations: 15.98 kB / 282.7 MB, free: 7.129 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001993/0.04727, allocations: 176.4 kB / 282.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04727, allocations: 0 / 282.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001028/0.0483, allocations: 319.3 kB / 283.2 MB, free: 6.645 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_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.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.0002654/0.04856, allocations: 140.4 kB / 283.3 MB, free: 6.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.04989, allocations: 0.7742 MB / 284.1 MB, free: 5.703 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-05/0.04992, allocations: 19.92 kB / 284.1 MB, free: 5.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008207/0.05074, allocations: 0.6208 MB / 284.7 MB, free: 5.035 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008926/0.05163, allocations: 1.028 MB / 285.7 MB, free: 3.809 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009746/0.06138, allocations: 1.585 MB / 287.3 MB, free: 2.184 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.06159, allocations: 188.7 kB / 287.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003793/0.06197, allocations: 77.33 kB / 287.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/0.06235, allocations: 177.3 kB / 287.7 MB, free: 1.727 MB / 282.7 MB Notification: Performance of SimCode: time 1.273e-06/0.06235, allocations: 0 / 287.7 MB, free: 1.727 MB / 282.7 MB Notification: Performance of Templates: time 0.1086/0.1709, allocations: 13.09 MB / 300.8 MB, free: 26.51 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.091144069097936]