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.001845/0.001845, allocations: 92.62 kB / 20.96 MB, free: 3.477 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.002138/0.002138, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 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 1.499/1.499, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 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 2.405e-06/2.405e-06, allocations: 0 / 267.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.705e-05, allocations: 2.312 kB / 267.3 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.009834/0.009871, allocations: 3.423 MB / 270.8 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.01313, allocations: 0.8881 MB / 271.7 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004016/0.01353, allocations: 11.94 kB / 271.7 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.01393, allocations: 79.16 kB / 271.7 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007687/0.0147, allocations: 154.6 kB / 271.9 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007255/0.01542, allocations: 167.6 kB / 272.1 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.01684, allocations: 0.6263 MB / 272.7 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005279/0.01736, allocations: 140.6 kB / 272.8 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008538/0.01822, allocations: 347.2 kB / 273.2 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005775/0.01879, allocations: 187.4 kB / 273.3 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.01898, allocations: 56 kB / 273.4 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.01915, allocations: 60 kB / 273.5 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.01937, allocations: 119.5 kB / 273.6 MB, free: 416 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004277/0.01979, allocations: 183.6 kB / 273.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.02127, allocations: 0.6503 MB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.02128, allocations: 0 / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02128, allocations: 0 / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.02129, allocations: 0 / 274.4 MB, free: 15.57 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0026/0.02389, allocations: 0.8361 MB / 275.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.02394, allocations: 8.922 kB / 275.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002856/0.02423, allocations: 92.61 kB / 275.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008925/0.02512, allocations: 306.5 kB / 275.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.769e-05/0.02519, allocations: 41.38 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.02532, allocations: 40.38 kB / 275.7 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.02681, allocations: 495.8 kB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.02683, allocations: 4.125 kB / 276.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-05/0.02692, allocations: 19.94 kB / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.02694, allocations: 12 kB / 276.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.02815, allocations: 323.7 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004813/0.03296, allocations: 1.624 MB / 278.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.0343, allocations: 347.7 kB / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.03548, allocations: 261.2 kB / 278.8 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.105e-05/0.03553, allocations: 8.328 kB / 278.8 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009152/0.03644, allocations: 302.5 kB / 279.1 MB, free: 10.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.595e-06/0.03645, allocations: 0 / 279.1 MB, free: 10.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.004818/0.04126, allocations: 0.7838 MB / 279.9 MB, free: 9.895 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.04141, allocations: 85.09 kB / 279.9 MB, free: 9.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007942/0.0422, allocations: 292.6 kB / 280.2 MB, free: 9.496 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.995e-05/0.04229, allocations: 33.7 kB / 280.3 MB, free: 9.457 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004649/0.04276, allocations: 225.3 kB / 280.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/0.04307, allocations: 142.8 kB / 280.6 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003104/0.04338, allocations: 86.14 kB / 280.7 MB, free: 9.004 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004035/0.04378, allocations: 346.8 kB / 281 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/0.0443, allocations: 121 kB / 281.2 MB, free: 8.539 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007869/0.04509, allocations: 278 kB / 281.4 MB, free: 8.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.04631, allocations: 382.5 kB / 281.8 MB, free: 7.781 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.04632, allocations: 0 / 281.8 MB, free: 7.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001919/0.04824, allocations: 0.521 MB / 282.3 MB, free: 7.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.04827, allocations: 8.469 kB / 282.3 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.04829, allocations: 8 kB / 282.3 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009537/0.04924, allocations: 143.7 kB / 282.5 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/0.04975, allocations: 63.91 kB / 282.6 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006637/0.05639, allocations: 2.419 MB / 285 MB, free: 4.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.05698, allocations: 35.78 kB / 285 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.427e-05/0.05707, allocations: 20 kB / 285 MB, free: 4.457 MB / 266.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: 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.0005045/0.05757, allocations: 177.8 kB / 285.2 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.05778, allocations: 55.77 kB / 285.3 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.05797, allocations: 47.42 kB / 285.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.05798, allocations: 4 kB / 285.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.05799, allocations: 0 / 285.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.058, allocations: 3.938 kB / 285.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/0.06098, allocations: 0.8756 MB / 286.2 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.06098, allocations: 4.031 kB / 286.2 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.06133, allocations: 35.92 kB / 286.2 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008633/0.0622, allocations: 139.4 kB / 286.4 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.984e-05/0.06226, allocations: 15.98 kB / 286.4 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00606/0.06832, allocations: 2.381 MB / 288.8 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.06832, allocations: 0 / 288.8 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1317/0.2, allocations: 0.7197 MB / 289.5 MB, free: 32.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.2003, allocations: 75.34 kB / 289.5 MB, free: 32.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-05/0.2003, allocations: 13.02 kB / 289.6 MB, free: 32.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.2006, allocations: 13.38 kB / 289.6 MB, free: 32.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.2007, allocations: 37.84 kB / 289.6 MB, free: 32.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.2008, allocations: 11.42 kB / 289.6 MB, free: 32.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002071/0.201, allocations: 210.4 kB / 289.8 MB, free: 32.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.201, allocations: 0 / 289.8 MB, free: 32.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006677/0.2016, allocations: 142.7 kB / 290 MB, free: 32.1 MB / 266.7 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.0001318/0.2018, allocations: 124.2 kB / 290.1 MB, free: 32.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009396/0.2027, allocations: 0.524 MB / 290.6 MB, free: 31.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2027, allocations: 2.516 kB / 290.6 MB, free: 31.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004765/0.2032, allocations: 365.9 kB / 291 MB, free: 31.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.2036, allocations: 79.05 kB / 291 MB, free: 31.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.2051, allocations: 0.8586 MB / 291.9 MB, free: 31.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.2053, allocations: 226.2 kB / 292.1 MB, free: 31.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.2055, allocations: 35.66 kB / 292.2 MB, free: 31.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.2055, allocations: 28.41 kB / 292.2 MB, free: 31.28 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.2055, allocations: 0 / 292.2 MB, free: 31.28 MB / 266.7 MB Notification: Performance of Templates: time 0.01219/0.2177, allocations: 6.388 MB / 298.6 MB, free: 29.94 MB / 266.7 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.59035961702466]