Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 94.16 kB / 20.78 MB, free: 0.7148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002127/0.002127, allocations: 146.2 kB / 24.06 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 173.3 MB / 200.6 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 319.1 MB, free: 3.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.672e-05, allocations: 5.375 kB / 319.2 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005032/0.005059, allocations: 4.145 MB / 323.3 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.007304, allocations: 1.193 MB / 324.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003024/0.007606, allocations: 28.69 kB / 324.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000462/0.008068, allocations: 173.7 kB / 324.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.009214, allocations: 380.1 kB / 325.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.009654, allocations: 198 kB / 325.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.01159, allocations: 1.657 MB / 326.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009549/0.01255, allocations: 0.5712 MB / 327.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.014, allocations: 1.002 MB / 328.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.01533, allocations: 0.7876 MB / 329.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002628/0.01559, allocations: 176.4 kB / 329.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.01591, allocations: 175.1 kB / 329.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005338/0.01644, allocations: 0.4906 MB / 330.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008199/0.01726, allocations: 0.5439 MB / 330.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002598/0.01986, allocations: 2.297 MB / 332.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.01986, allocations: 1.25 kB / 332.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01987, allocations: 0 / 332.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.01989, allocations: 0 / 332.9 MB, free: 11.43 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003862/0.02375, allocations: 2.028 MB / 335 MB, free: 10 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.02379, allocations: 10.52 kB / 335 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002825/0.02407, allocations: 162.1 kB / 335.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.02589, allocations: 0.9642 MB / 336.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-05/0.02596, allocations: 77.59 kB / 336.2 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.02614, allocations: 111.9 kB / 336.3 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.02883, allocations: 1.57 MB / 337.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/0.02886, allocations: 10 kB / 337.9 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.02899, allocations: 44.62 kB / 337.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.957e-05/0.02905, allocations: 50.19 kB / 338 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.03158, allocations: 1.427 MB / 339.4 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007342/0.03893, allocations: 4.377 MB / 343.8 MB, free: 2.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.04056, allocations: 0.942 MB / 344.7 MB, free: 1.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.04192, allocations: 0.6848 MB / 345.4 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.04196, allocations: 8.656 kB / 345.4 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.04305, allocations: 0.6336 MB / 346 MB, free: 228 kB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.464e-06/0.04305, allocations: 0 / 346 MB, free: 228 kB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.006324/0.04938, allocations: 2.352 MB / 348.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.04945, allocations: 89.77 kB / 348.5 MB, free: 13.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.05079, allocations: 0.9068 MB / 349.4 MB, free: 12.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.375e-05/0.05086, allocations: 41.7 kB / 349.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005107/0.05138, allocations: 0.5318 MB / 350 MB, free: 12.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.0516, allocations: 237.9 kB / 350.2 MB, free: 12.01 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.05184, allocations: 130.6 kB / 350.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.052, allocations: 338 kB / 350.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007492/0.05275, allocations: 409.7 kB / 351 MB, free: 11.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008751/0.05363, allocations: 0.5737 MB / 351.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.05522, allocations: 0.9522 MB / 352.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.05523, allocations: 0 / 352.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002329/0.05756, allocations: 1.283 MB / 353.9 MB, free: 8.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.05758, allocations: 4 kB / 353.9 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.05759, allocations: 4 kB / 353.9 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009766/0.05856, allocations: 403.4 kB / 354.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005409/0.0591, allocations: 111.8 kB / 354.4 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006002/0.06511, allocations: 4.322 MB / 358.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/0.06574, allocations: 83.64 kB / 358.8 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.0658, allocations: 23.98 kB / 358.8 MB, free: 3.156 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0007858/0.06659, allocations: 495.4 kB / 359.3 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.06673, allocations: 95.44 kB / 359.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.06701, allocations: 116.2 kB / 359.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.06702, allocations: 11.98 kB / 359.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.06702, allocations: 7.875 kB / 359.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.06703, allocations: 3.938 kB / 359.5 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004072/0.0711, allocations: 2.271 MB / 361.8 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.0711, allocations: 0 / 361.8 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/0.07156, allocations: 87.88 kB / 361.9 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008882/0.07245, allocations: 396.7 kB / 362.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-05/0.0725, allocations: 16 kB / 362.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005849/0.07835, allocations: 4.289 MB / 366.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.07835, allocations: 3.984 kB / 366.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003223/0.08158, allocations: 1.94 MB / 368.5 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005975/0.08217, allocations: 219.2 kB / 368.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.0823, allocations: 19.94 kB / 368.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004669/0.08277, allocations: 43.95 kB / 368.8 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.08297, allocations: 80.5 kB / 368.9 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.08302, allocations: 19.98 kB / 368.9 MB, free: 8.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001026/0.08405, allocations: 0.6473 MB / 369.5 MB, free: 8.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08405, allocations: 0 / 369.5 MB, free: 8.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00113/0.08518, allocations: 351.2 kB / 369.9 MB, free: 7.906 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001997/0.08537, allocations: 127.2 kB / 370 MB, free: 7.773 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.08766, allocations: 1.245 MB / 371.2 MB, free: 6.512 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.08766, allocations: 0 / 371.2 MB, free: 6.512 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.08899, allocations: 0.7842 MB / 372 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.09006, allocations: 235.2 kB / 372.2 MB, free: 5.488 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00483/0.09489, allocations: 2.604 MB / 374.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008901/0.09578, allocations: 0.7941 MB / 375.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004255/0.0962, allocations: 171 kB / 375.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.09637, allocations: 60.5 kB / 375.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.09637, allocations: 0 / 375.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of Templates: time 0.02982/0.1262, allocations: 17.24 MB / 393.1 MB, free: 0.8203 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.179038681089878]