Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001819/0.001819, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.002305/0.002305, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.457/1.457, allocations: 177.1 MB / 204.3 MB, free: 9.191 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.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.1.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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.246e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005954/0.005976, allocations: 4.209 MB / 329.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.008808, allocations: 1.271 MB / 330.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003267/0.009135, allocations: 29.25 kB / 330.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004339/0.009569, allocations: 176.1 kB / 330.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.0107, allocations: 381.8 kB / 331.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005272/0.01123, allocations: 217 kB / 331.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.01308, allocations: 1.681 MB / 333 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008877/0.01397, allocations: 0.5743 MB / 333.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.01524, allocations: 1.014 MB / 334.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.01642, allocations: 0.7875 MB / 335.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002377/0.01666, allocations: 176.1 kB / 335.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000334/0.017, allocations: 182.5 kB / 335.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004864/0.01748, allocations: 0.4911 MB / 336.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006987/0.01818, allocations: 0.5427 MB / 336.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.0206, allocations: 2.33 MB / 339.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.0206, allocations: 0 / 339.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.0206, allocations: 0 / 339.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.02062, allocations: 0 / 339.1 MB, free: 7.062 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.003636/0.02426, allocations: 2.045 MB / 341.2 MB, free: 4.965 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.02429, allocations: 8.031 kB / 341.2 MB, free: 4.957 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007747/0.02507, allocations: 211.9 kB / 341.4 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.02673, allocations: 0.9741 MB / 342.4 MB, free: 3.746 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.802e-05/0.02681, allocations: 94.3 kB / 342.5 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.02699, allocations: 104.4 kB / 342.6 MB, free: 3.551 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.0297, allocations: 1.579 MB / 344.1 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.02973, allocations: 7.875 kB / 344.1 MB, free: 1.898 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.02985, allocations: 40 kB / 344.2 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.645e-05/0.02992, allocations: 46.03 kB / 344.2 MB, free: 1.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.03247, allocations: 1.433 MB / 345.7 MB, free: 380 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006882/0.03936, allocations: 4.318 MB / 350 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.04097, allocations: 0.9418 MB / 350.9 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.04232, allocations: 0.6848 MB / 351.6 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.838e-05/0.04237, allocations: 4.656 kB / 351.6 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.04346, allocations: 0.6413 MB / 352.3 MB, free: 9.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.705e-06/0.04346, allocations: 0 / 352.3 MB, free: 9.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.006302/0.04976, allocations: 2.36 MB / 354.6 MB, free: 7.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.04984, allocations: 89.75 kB / 354.7 MB, free: 7.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.05112, allocations: 0.9267 MB / 355.6 MB, free: 6.164 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.82e-05/0.05119, allocations: 45.64 kB / 355.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005116/0.0517, allocations: 0.5397 MB / 356.2 MB, free: 5.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.05193, allocations: 245.9 kB / 356.5 MB, free: 5.324 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.05217, allocations: 126.7 kB / 356.6 MB, free: 5.195 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.05232, allocations: 338 kB / 356.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007545/0.05308, allocations: 413.7 kB / 357.3 MB, free: 4.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008901/0.05397, allocations: 0.5776 MB / 357.9 MB, free: 3.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.05555, allocations: 0.9522 MB / 358.8 MB, free: 2.816 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.05555, allocations: 0 / 358.8 MB, free: 2.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002344/0.0579, allocations: 1.287 MB / 360.1 MB, free: 1.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.05791, allocations: 4 kB / 360.1 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.05793, allocations: 4 kB / 360.1 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009737/0.0589, allocations: 395.4 kB / 360.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.05941, allocations: 107.8 kB / 360.6 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00603/0.06544, allocations: 4.334 MB / 365 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006852/0.06612, allocations: 75.64 kB / 365 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/0.06618, allocations: 28 kB / 365.1 MB, free: 12.48 MB / 334.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.0008573/0.06704, allocations: 496.1 kB / 365.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.06719, allocations: 103.4 kB / 365.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.06745, allocations: 116.5 kB / 365.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.06746, allocations: 8 kB / 365.8 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.06747, allocations: 3.938 kB / 365.8 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.06747, allocations: 3.984 kB / 365.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00394/0.07142, allocations: 2.282 MB / 368.1 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.07142, allocations: 0 / 368.1 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.07187, allocations: 87.81 kB / 368.1 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008652/0.07274, allocations: 388.5 kB / 368.5 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.07279, allocations: 12 kB / 368.5 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00587/0.07866, allocations: 4.294 MB / 372.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.07866, allocations: 0 / 372.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/0.08208, allocations: 1.944 MB / 374.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/0.08262, allocations: 215.2 kB / 375 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.08274, allocations: 15.94 kB / 375 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004579/0.0832, allocations: 43.95 kB / 375 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/0.08342, allocations: 80.5 kB / 375.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/0.08349, allocations: 23.98 kB / 375.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009763/0.08447, allocations: 0.6629 MB / 375.8 MB, free: 1.559 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.08447, allocations: 3.938 kB / 375.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001059/0.08553, allocations: 351.1 kB / 376.2 MB, free: 1.211 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.0002283/0.08576, allocations: 142.2 kB / 376.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002374/0.08813, allocations: 1.249 MB / 377.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.08813, allocations: 0 / 377.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.08945, allocations: 0.7725 MB / 378.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.09057, allocations: 235.2 kB / 378.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004955/0.09552, allocations: 2.648 MB / 381.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009021/0.09643, allocations: 0.8102 MB / 382 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000479/0.09691, allocations: 167.2 kB / 382.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.09708, allocations: 60.48 kB / 382.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.09709, allocations: 0 / 382.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Templates: time 0.03001/0.1271, allocations: 17.37 MB / 399.6 MB, free: 9.926 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.01075317338109]