Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.001229/0.001229, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009387/0.0009387, allocations: 161.4 kB / 25.45 MB, free: 9.348 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.8533/0.8533, allocations: 158.6 MB / 187.2 MB, free: 3.055 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.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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.86e-05, allocations: 6.219 kB / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004081/0.004109, allocations: 4.091 MB / 303.8 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.006192, allocations: 1.235 MB / 305.1 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003192/0.006511, allocations: 31.75 kB / 305.1 MB, free: 1.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.006821, allocations: 170.6 kB / 305.3 MB, free: 1.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008968/0.007717, allocations: 369.6 kB / 305.6 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.008076, allocations: 207.6 kB / 305.8 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.009243, allocations: 1.665 MB / 307.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005434/0.009787, allocations: 0.5121 MB / 308 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008642/0.01065, allocations: 0.9863 MB / 309 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009049/0.01156, allocations: 0.7872 MB / 309.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.01172, allocations: 172 kB / 309.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.01188, allocations: 176 kB / 310.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002869/0.01217, allocations: 0.4907 MB / 310.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004021/0.01257, allocations: 0.5378 MB / 311.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.01398, allocations: 2.279 MB / 313.4 MB, free: 9.133 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.01399, allocations: 0 / 313.4 MB, free: 9.133 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01399, allocations: 0 / 313.4 MB, free: 9.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.325e-05/0.01401, allocations: 0 / 313.4 MB, free: 9.133 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002371/0.01638, allocations: 2.013 MB / 315.4 MB, free: 7.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.01643, allocations: 11.98 kB / 315.4 MB, free: 7.059 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.01663, allocations: 160 kB / 315.6 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009728/0.0176, allocations: 0.8844 MB / 316.5 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/0.01765, allocations: 78.41 kB / 316.6 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.01776, allocations: 100.4 kB / 316.7 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.01959, allocations: 1.567 MB / 318.2 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.01962, allocations: 15.83 kB / 318.2 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.677e-05/0.01969, allocations: 40 kB / 318.3 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.737e-05/0.01974, allocations: 46.03 kB / 318.3 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.02128, allocations: 1.429 MB / 319.7 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004462/0.02574, allocations: 4.299 MB / 324 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/0.02671, allocations: 0.9265 MB / 325 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007592/0.02747, allocations: 0.6886 MB / 325.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.02751, allocations: 4.656 kB / 325.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006737/0.02818, allocations: 0.6449 MB / 326.3 MB, free: 11.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.035e-06/0.02818, allocations: 0 / 326.3 MB, free: 11.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.003524/0.03171, allocations: 2.368 MB / 328.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.03176, allocations: 85.77 kB / 328.8 MB, free: 9.402 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008475/0.03261, allocations: 0.9108 MB / 329.7 MB, free: 8.477 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.03266, allocations: 37.7 kB / 329.7 MB, free: 8.434 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.03298, allocations: 0.5357 MB / 330.2 MB, free: 7.891 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.03312, allocations: 246 kB / 330.5 MB, free: 7.648 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.03327, allocations: 130.6 kB / 330.6 MB, free: 7.516 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.03337, allocations: 334 kB / 330.9 MB, free: 7.184 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.03378, allocations: 413.7 kB / 331.3 MB, free: 6.777 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.03428, allocations: 0.5814 MB / 331.9 MB, free: 6.137 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008818/0.03516, allocations: 0.9483 MB / 332.9 MB, free: 5.137 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.03516, allocations: 0 / 332.9 MB, free: 5.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001349/0.03651, allocations: 1.275 MB / 334.1 MB, free: 3.852 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.03654, allocations: 14.91 kB / 334.2 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.03655, allocations: 4 kB / 334.2 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005732/0.03712, allocations: 402.9 kB / 334.6 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.0374, allocations: 115.9 kB / 334.7 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/0.04102, allocations: 4.298 MB / 339 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000411/0.04143, allocations: 87.58 kB / 339.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.04147, allocations: 23.98 kB / 339.1 MB, free: 14.81 MB / 330.7 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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0006204/0.04209, allocations: 495.3 kB / 339.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.564e-05/0.04218, allocations: 99.38 kB / 339.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.04231, allocations: 116.2 kB / 339.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.04232, allocations: 15.94 kB / 339.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.04232, allocations: 0 / 339.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.04233, allocations: 11.91 kB / 339.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.04461, allocations: 2.271 MB / 342.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.04462, allocations: 0 / 342.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.04484, allocations: 83.88 kB / 342.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004879/0.04533, allocations: 384.8 kB / 342.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.04536, allocations: 19.98 kB / 342.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003245/0.04861, allocations: 4.274 MB / 346.8 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.04861, allocations: 4 kB / 346.8 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.05047, allocations: 1.948 MB / 348.8 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.05078, allocations: 211.2 kB / 349 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.05085, allocations: 19.98 kB / 349 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.05107, allocations: 39.95 kB / 349 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.0512, allocations: 80.44 kB / 349.1 MB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.05123, allocations: 20 kB / 349.1 MB, free: 4.566 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005747/0.05181, allocations: 0.6512 MB / 349.8 MB, free: 3.922 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05181, allocations: 0 / 349.8 MB, free: 3.922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006963/0.0525, allocations: 347.2 kB / 350.1 MB, free: 3.582 MB / 330.7 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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.0001655/0.05267, allocations: 134.8 kB / 350.3 MB, free: 3.441 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.05405, allocations: 1.242 MB / 351.5 MB, free: 2.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.05406, allocations: 0 / 351.5 MB, free: 2.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007177/0.05477, allocations: 0.7792 MB / 352.3 MB, free: 1.391 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006101/0.05538, allocations: 231.2 kB / 352.5 MB, free: 1.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1255/0.1808, allocations: 2.609 MB / 355.1 MB, free: 60.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007558/0.1816, allocations: 0.7634 MB / 355.9 MB, free: 60.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.1819, allocations: 64.38 kB / 355.9 MB, free: 60.84 MB / 330.7 MB Notification: Performance of SimCode: time 1.563e-06/0.1819, allocations: 0 / 355.9 MB, free: 60.84 MB / 330.7 MB Notification: Performance of Templates: time 0.02409/0.206, allocations: 22.26 MB / 378.2 MB, free: 47.37 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.869204352609813]