Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001813/0.001813, allocations: 80.88 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.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.002318/0.002318, allocations: 146.7 kB / 23.93 MB, free: 4.168 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.417/1.417, allocations: 173.4 MB / 200.4 MB, free: 12.88 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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.093e-05, allocations: 2.281 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004821/0.004852, allocations: 4.3 MB / 323.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.007365, allocations: 1.264 MB / 324.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004895/0.007855, allocations: 39.69 kB / 324.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007309/0.008586, allocations: 223 kB / 324.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.009624, allocations: 378.7 kB / 325.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005014/0.01013, allocations: 214.4 kB / 325.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001691/0.01182, allocations: 1.585 MB / 326.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008618/0.01268, allocations: 0.5399 MB / 327.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.0142, allocations: 0.9523 MB / 328.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.01563, allocations: 0.6912 MB / 329.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.01589, allocations: 165.7 kB / 329.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.01623, allocations: 163.2 kB / 329.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004956/0.01673, allocations: 456.2 kB / 329.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007419/0.01747, allocations: 0.4998 MB / 330.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.01998, allocations: 2.137 MB / 332.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.01998, allocations: 0 / 332.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01998, allocations: 1.062 kB / 332.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.108e-05/0.02001, allocations: 4 kB / 332.5 MB, free: 11.68 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003764/0.02378, allocations: 1.867 MB / 334.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.02382, allocations: 10.77 kB / 334.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.02413, allocations: 144.8 kB / 334.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.02564, allocations: 0.8848 MB / 335.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.392e-05/0.02572, allocations: 74.31 kB / 335.5 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.02588, allocations: 100.4 kB / 335.6 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.0283, allocations: 1.492 MB / 337.1 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.02833, allocations: 5.219 kB / 337.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.02845, allocations: 45.77 kB / 337.1 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.479e-05/0.0285, allocations: 42.25 kB / 337.2 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.03065, allocations: 1.297 MB / 338.5 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00655/0.0372, allocations: 3.763 MB / 342.2 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.0389, allocations: 0.9889 MB / 343.2 MB, free: 3.164 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.04029, allocations: 0.681 MB / 343.9 MB, free: 2.477 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/0.04034, allocations: 8.656 kB / 343.9 MB, free: 2.469 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.04139, allocations: 0.6478 MB / 344.6 MB, free: 1.785 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 3.036e-06/0.04139, allocations: 0 / 344.6 MB, free: 1.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007906/0.0493, allocations: 2.751 MB / 347.3 MB, free: 15.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.04942, allocations: 115.5 kB / 347.4 MB, free: 14.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.05085, allocations: 0.7777 MB / 348.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.05095, allocations: 45.69 kB / 348.2 MB, free: 14.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006537/0.05161, allocations: 0.489 MB / 348.7 MB, free: 13.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/0.05188, allocations: 253.8 kB / 349 MB, free: 13.31 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/0.05212, allocations: 134.7 kB / 349.1 MB, free: 13.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002399/0.05236, allocations: 394.7 kB / 349.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006986/0.05306, allocations: 393.7 kB / 349.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008423/0.0539, allocations: 0.5996 MB / 350.5 MB, free: 11.72 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.0554, allocations: 0.9249 MB / 351.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.0554, allocations: 0 / 351.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00258/0.05798, allocations: 1.278 MB / 352.7 MB, free: 9.453 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.05801, allocations: 7.125 kB / 352.7 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.05802, allocations: 7.938 kB / 352.7 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.05924, allocations: 472.2 kB / 353.2 MB, free: 8.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.05964, allocations: 95.81 kB / 353.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007929/0.06757, allocations: 5.374 MB / 358.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007149/0.06828, allocations: 83.64 kB / 358.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/0.06834, allocations: 20 kB / 358.7 MB, free: 3.297 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 (55): * Single equations (assignments): 54 * 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,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0008177/0.06916, allocations: 479.5 kB / 359.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.0693, allocations: 83.48 kB / 359.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.06954, allocations: 108.2 kB / 359.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.06955, allocations: 12.06 kB / 359.4 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.06956, allocations: 7.984 kB / 359.4 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.06957, allocations: 0 / 359.4 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004097/0.07366, allocations: 2.302 MB / 361.7 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.07367, allocations: 0 / 361.7 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.07402, allocations: 55.91 kB / 361.8 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/0.07511, allocations: 468.6 kB / 362.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/0.07517, allocations: 12 kB / 362.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0076/0.08277, allocations: 5.314 MB / 367.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.08277, allocations: 0 / 367.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/0.08596, allocations: 1.898 MB / 369.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005609/0.08652, allocations: 195.2 kB / 369.6 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.08664, allocations: 12 kB / 369.7 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.08708, allocations: 48.06 kB / 369.7 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/0.0873, allocations: 80.45 kB / 369.8 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.494e-05/0.08735, allocations: 27.98 kB / 369.8 MB, free: 8.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008492/0.0882, allocations: 0.5614 MB / 370.4 MB, free: 7.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0882, allocations: 0 / 370.4 MB, free: 7.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001126/0.08933, allocations: 347.2 kB / 370.7 MB, free: 7.141 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 (40): * Single equations (assignments): 36 * 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,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002112/0.08954, allocations: 138 kB / 370.8 MB, free: 7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002291/0.09183, allocations: 1.252 MB / 372.1 MB, free: 5.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.09183, allocations: 0 / 372.1 MB, free: 5.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.09316, allocations: 0.7891 MB / 372.9 MB, free: 4.934 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.0943, allocations: 258.7 kB / 373.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004217/0.09852, allocations: 2.322 MB / 375.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008725/0.09939, allocations: 0.7259 MB / 376.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004237/0.09982, allocations: 147 kB / 376.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.09997, allocations: 56.5 kB / 376.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of SimCode: time 1.132e-06/0.09997, allocations: 0 / 376.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of Templates: time 0.03324/0.1332, allocations: 18.36 MB / 394.7 MB, free: 15.26 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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: 4.932293612509966]