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.001383/0.001383, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001427/0.001427, allocations: 145.3 kB / 24.89 MB, free: 8.742 MB / 18.57 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 0.8807/0.8807, allocations: 173.4 MB / 201.5 MB, free: 8.273 MB / 186.7 MB " [Timeout remaining time 179] 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 1.272e-06/1.272e-06, allocations: 0 / 268.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073e-05/1.2e-05, allocations: 6.312 kB / 268.5 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.003789/0.003801, allocations: 4.44 MB / 272.9 MB, free: 5.324 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.005612, allocations: 1.265 MB / 274.2 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.005833, allocations: 31.81 kB / 274.2 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.006098, allocations: 170.6 kB / 274.4 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006691/0.006767, allocations: 380.4 kB / 274.8 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.00703, allocations: 193.5 kB / 275 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.008119, allocations: 1.665 MB / 276.6 MB, free: 1.633 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005226/0.008641, allocations: 0.5832 MB / 277.2 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008234/0.009465, allocations: 1.023 MB / 278.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008239/0.01029, allocations: 0.8313 MB / 279.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001786/0.01047, allocations: 176 kB / 279.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.01064, allocations: 176.6 kB / 279.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002874/0.01093, allocations: 0.4946 MB / 279.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004104/0.01134, allocations: 0.55 MB / 280.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009157/0.01225, allocations: 1.32 MB / 281.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.01225, allocations: 0 / 281.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01225, allocations: 4 kB / 281.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.01227, allocations: 0 / 281.8 MB, free: 12.42 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001652/0.01393, allocations: 1.596 MB / 283.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/0.01395, allocations: 8.031 kB / 283.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.01417, allocations: 184.8 kB / 283.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006555/0.01482, allocations: 0.5909 MB / 284.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/0.01487, allocations: 78.44 kB / 284.2 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.01499, allocations: 108.3 kB / 284.3 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008696/0.01586, allocations: 0.8443 MB / 285.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.01589, allocations: 7.938 kB / 285.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.581e-05/0.01595, allocations: 40 kB / 285.2 MB, free: 8.844 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-05/0.016, allocations: 50.03 kB / 285.3 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004153/0.01641, allocations: 262.1 kB / 285.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002755/0.01917, allocations: 3.006 MB / 288.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.01958, allocations: 430.1 kB / 289 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.01994, allocations: 304.1 kB / 289.3 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.01998, allocations: 12.66 kB / 289.3 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003274/0.02031, allocations: 316.8 kB / 289.6 MB, free: 4.301 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.893e-06/0.02031, allocations: 0 / 289.6 MB, free: 4.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001878/0.02218, allocations: 0.9464 MB / 290.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.02223, allocations: 93.75 kB / 290.6 MB, free: 3.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.02262, allocations: 0.5896 MB / 291.2 MB, free: 2.625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.02266, allocations: 41.7 kB / 291.2 MB, free: 2.578 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.02285, allocations: 434.5 kB / 291.7 MB, free: 2.148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.02298, allocations: 241.9 kB / 291.9 MB, free: 1.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.02311, allocations: 126.6 kB / 292 MB, free: 1.781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.302e-05/0.02318, allocations: 345.9 kB / 292.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.02328, allocations: 65.97 kB / 292.4 MB, free: 1.375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.02347, allocations: 247.6 kB / 292.7 MB, free: 1.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.02386, allocations: 350.1 kB / 293 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.02387, allocations: 0 / 293 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005086/0.02437, allocations: 449.3 kB / 293.5 MB, free: 232 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.02439, allocations: 4 kB / 293.5 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.02439, allocations: 8 kB / 293.5 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003353/0.02473, allocations: 174.4 kB / 293.6 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.02498, allocations: 107.8 kB / 293.7 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.02689, allocations: 2.388 MB / 296.1 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.02709, allocations: 59.61 kB / 296.2 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.02712, allocations: 20 kB / 296.2 MB, free: 13.37 MB / 282.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_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_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: 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.0001874/0.02731, allocations: 158.5 kB / 296.4 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.414e-05/0.02739, allocations: 83.84 kB / 296.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.0275, allocations: 112.2 kB / 296.6 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.0275, allocations: 8 kB / 296.6 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.0275, allocations: 0 / 296.6 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.02751, allocations: 3.984 kB / 296.6 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.02868, allocations: 0.9974 MB / 297.6 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.02869, allocations: 4 kB / 297.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.02888, allocations: 79.89 kB / 297.6 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002975/0.02918, allocations: 167.7 kB / 297.8 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.02921, allocations: 11.98 kB / 297.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.0311, allocations: 2.386 MB / 300.2 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.0311, allocations: 3.984 kB / 300.2 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006565/0.03176, allocations: 0.5944 MB / 300.8 MB, free: 8.609 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.03194, allocations: 131.2 kB / 300.9 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.032, allocations: 16 kB / 300.9 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.03218, allocations: 31.92 kB / 301 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.98e-05/0.03228, allocations: 64.53 kB / 301 MB, free: 8.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.03231, allocations: 15.98 kB / 301.1 MB, free: 8.355 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000226/0.03253, allocations: 300.5 kB / 301.3 MB, free: 8.062 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03253, allocations: 0 / 301.3 MB, free: 8.062 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005075/0.03304, allocations: 351.2 kB / 301.7 MB, free: 7.719 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001349/0.03318, allocations: 120.4 kB / 301.8 MB, free: 7.594 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006632/0.03384, allocations: 0.6107 MB / 302.4 MB, free: 6.969 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.03385, allocations: 8 kB / 302.4 MB, free: 6.961 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.03425, allocations: 476.1 kB / 302.9 MB, free: 6.477 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.03475, allocations: 251.1 kB / 303.1 MB, free: 6.234 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.03729, allocations: 2.207 MB / 305.3 MB, free: 3.996 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.03752, allocations: 331.8 kB / 305.7 MB, free: 3.652 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.03771, allocations: 95.12 kB / 305.8 MB, free: 3.555 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/0.03807, allocations: 245.2 kB / 306 MB, free: 3.312 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.03807, allocations: 3.938 kB / 306 MB, free: 3.309 MB / 282.7 MB Notification: Performance of Templates: time 0.01888/0.05695, allocations: 18.21 MB / 324.2 MB, free: 1.426 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7900654789991677]