Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.001892/0.001892, allocations: 77.78 kB / 20.68 MB, free: 1.035 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.002155/0.002155, allocations: 155.9 kB / 23.94 MB, free: 4.176 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.421/1.421, allocations: 173.3 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.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.264e-05, allocations: 6.281 kB / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004346/0.004379, allocations: 3.401 MB / 322.3 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.00601, allocations: 0.8838 MB / 323.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.006236, allocations: 9.125 kB / 323.2 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.00647, allocations: 81.66 kB / 323.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.006821, allocations: 156.6 kB / 323.5 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.007189, allocations: 167.4 kB / 323.6 MB, free: 408 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005937/0.007783, allocations: 0.6243 MB / 324.3 MB, free: 68 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.008127, allocations: 146.1 kB / 324.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000525/0.008652, allocations: 348.4 kB / 324.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003658/0.009018, allocations: 183.5 kB / 324.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.009122, allocations: 59.53 kB / 325 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-05/0.009218, allocations: 55.03 kB / 325 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.009368, allocations: 122.7 kB / 325.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.009633, allocations: 184.1 kB / 325.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009174/0.01055, allocations: 0.6486 MB / 326 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.01056, allocations: 0 / 326 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01056, allocations: 0 / 326 MB, free: 15.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.01057, allocations: 0 / 326 MB, free: 15.32 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001691/0.01226, allocations: 0.8361 MB / 326.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.01231, allocations: 15.33 kB / 326.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.01243, allocations: 69.09 kB / 326.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/0.01298, allocations: 307.1 kB / 327.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.01301, allocations: 35.91 kB / 327.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.127e-05/0.01309, allocations: 41.16 kB / 327.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008793/0.01397, allocations: 487.8 kB / 327.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.01399, allocations: 1.375 kB / 327.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/0.01404, allocations: 20.84 kB / 327.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.01406, allocations: 10.34 kB / 327.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006486/0.01471, allocations: 325.7 kB / 328.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.01734, allocations: 1.606 MB / 329.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/0.01809, allocations: 361.1 kB / 330.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006377/0.01873, allocations: 251.6 kB / 330.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.01877, allocations: 4.359 kB / 330.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005453/0.01931, allocations: 300.4 kB / 330.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.844e-06/0.01931, allocations: 0 / 330.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002569/0.02188, allocations: 0.7614 MB / 331.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.02196, allocations: 86.42 kB / 331.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.02236, allocations: 301.1 kB / 331.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/0.02241, allocations: 36.61 kB / 331.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.02262, allocations: 225.1 kB / 332 MB, free: 11.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.02276, allocations: 141.6 kB / 332.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.02291, allocations: 86.31 kB / 332.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.0231, allocations: 347.3 kB / 332.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.02337, allocations: 122.3 kB / 332.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/0.02377, allocations: 272.4 kB / 332.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006579/0.02443, allocations: 387.9 kB / 333.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.02443, allocations: 5.469 kB / 333.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009952/0.02543, allocations: 0.4984 MB / 333.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.02546, allocations: 11.16 kB / 333.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.02547, allocations: 2.781 kB / 333.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005362/0.02601, allocations: 143.2 kB / 334 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.02625, allocations: 60.75 kB / 334 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/0.02933, allocations: 2.391 MB / 336.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.02962, allocations: 36.81 kB / 336.5 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.02966, allocations: 21.53 kB / 336.5 MB, free: 8.156 MB / 302.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: 13 (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_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002713/0.02993, allocations: 172.2 kB / 336.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.058e-05/0.03, allocations: 42.2 kB / 336.7 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.03011, allocations: 46.23 kB / 336.7 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.03011, allocations: 9.125 kB / 336.8 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.03012, allocations: 0 / 336.8 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.03013, allocations: 3.938 kB / 336.8 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.03165, allocations: 0.8822 MB / 337.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.03166, allocations: 4 kB / 337.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.03182, allocations: 35.42 kB / 337.7 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003925/0.03222, allocations: 141.6 kB / 337.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.03225, allocations: 16.11 kB / 337.8 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003256/0.03551, allocations: 2.376 MB / 340.2 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.03551, allocations: 0 / 340.2 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.03675, allocations: 0.7078 MB / 340.9 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.03691, allocations: 80.31 kB / 341 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/0.03696, allocations: 8 kB / 341 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.03718, allocations: 14.41 kB / 341 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.0373, allocations: 35.11 kB / 341.1 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.03733, allocations: 13.56 kB / 341.1 MB, free: 4.664 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002442/0.03758, allocations: 208.9 kB / 341.3 MB, free: 4.527 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.03758, allocations: 0 / 341.3 MB, free: 4.527 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006441/0.03822, allocations: 151.9 kB / 341.4 MB, free: 4.488 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001731/0.0384, allocations: 126.1 kB / 341.5 MB, free: 4.379 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.03946, allocations: 0.53 MB / 342.1 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.03947, allocations: 0 / 342.1 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005795/0.04004, allocations: 362.1 kB / 342.4 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.04052, allocations: 73.17 kB / 342.5 MB, free: 3.434 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.04223, allocations: 0.8419 MB / 343.3 MB, free: 2.559 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.04246, allocations: 224.8 kB / 343.6 MB, free: 2.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.04258, allocations: 31.28 kB / 343.6 MB, free: 2.293 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.04265, allocations: 32.48 kB / 343.6 MB, free: 2.262 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.04265, allocations: 0 / 343.6 MB, free: 2.262 MB / 302.1 MB Notification: Performance of Templates: time 0.01319/0.05585, allocations: 6.346 MB / 350 MB, free: 12.08 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.3375458642840385]