Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.001311/0.001311, 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.001557/0.001557, 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.442/1.442, allocations: 177.1 MB / 204.3 MB, free: 9.195 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.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.1.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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.536e-05, allocations: 3.312 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005141/0.005166, allocations: 3.458 MB / 328.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.007188, allocations: 0.9564 MB / 329.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.007406, allocations: 18.66 kB / 329.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.007665, allocations: 78.47 kB / 329.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004027/0.008067, allocations: 156.1 kB / 329.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.008538, allocations: 188.4 kB / 329.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000747/0.009285, allocations: 0.6438 MB / 330.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003136/0.009599, allocations: 138.3 kB / 330.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005246/0.01012, allocations: 354 kB / 331.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.01046, allocations: 191.5 kB / 331.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.299e-05/0.01054, allocations: 56 kB / 331.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.01066, allocations: 62.25 kB / 331.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.01079, allocations: 122.2 kB / 331.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002402/0.01103, allocations: 189.3 kB / 331.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007623/0.01179, allocations: 0.6626 MB / 332.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.0118, allocations: 1.312 kB / 332.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.0118, allocations: 0 / 332.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.01181, allocations: 0 / 332.3 MB, free: 11.88 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.001545/0.01335, allocations: 0.8498 MB / 333.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.01339, allocations: 9.25 kB / 333.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.01361, allocations: 67.09 kB / 333.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.01413, allocations: 315.4 kB / 333.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.01417, allocations: 30.47 kB / 333.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.158e-05/0.01425, allocations: 49.58 kB / 333.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008558/0.0151, allocations: 486.7 kB / 334.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.01513, allocations: 4.188 kB / 334.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.01517, allocations: 20.34 kB / 334.1 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.01519, allocations: 11.25 kB / 334.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006376/0.01582, allocations: 319.5 kB / 334.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/0.01835, allocations: 1.615 MB / 336.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007153/0.01907, allocations: 353.5 kB / 336.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006334/0.0197, allocations: 257 kB / 336.7 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.01973, allocations: 4.016 kB / 336.7 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005058/0.02024, allocations: 300.6 kB / 337 MB, free: 8.457 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.853e-06/0.02024, allocations: 0 / 337 MB, free: 8.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002532/0.02277, allocations: 0.7671 MB / 337.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/0.02286, allocations: 90.72 kB / 337.8 MB, free: 7.953 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.02322, allocations: 299.7 kB / 338.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.02327, allocations: 41.02 kB / 338.2 MB, free: 7.715 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.02346, allocations: 232.3 kB / 338.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.02358, allocations: 139.3 kB / 338.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.02373, allocations: 91.39 kB / 338.6 MB, free: 7.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.02391, allocations: 346.4 kB / 339 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.02416, allocations: 120.5 kB / 339.1 MB, free: 6.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.02457, allocations: 289.7 kB / 339.4 MB, free: 6.559 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000665/0.02523, allocations: 382.5 kB / 339.7 MB, free: 6.133 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.02524, allocations: 0 / 339.7 MB, free: 6.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009357/0.02617, allocations: 0.5089 MB / 340.2 MB, free: 5.613 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.02619, allocations: 4 kB / 340.2 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.0262, allocations: 4 kB / 340.2 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005076/0.02671, allocations: 153.2 kB / 340.4 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.02694, allocations: 63.91 kB / 340.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/0.03013, allocations: 2.387 MB / 342.8 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.03043, allocations: 47.77 kB / 342.9 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.03046, allocations: 16 kB / 342.9 MB, free: 2.844 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.0002537/0.03071, allocations: 174.4 kB / 343.1 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-05/0.03079, allocations: 39.77 kB / 343.1 MB, free: 2.625 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.03089, allocations: 48.3 kB / 343.2 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.0309, allocations: 4 kB / 343.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.0309, allocations: 7.984 kB / 343.2 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.03091, allocations: 3.938 kB / 343.2 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.03246, allocations: 0.868 MB / 344 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.03247, allocations: 0 / 344 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.03263, allocations: 32.02 kB / 344.1 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004262/0.03306, allocations: 148.8 kB / 344.2 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.03309, allocations: 15.98 kB / 344.2 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003029/0.03612, allocations: 2.381 MB / 346.6 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.03613, allocations: 4 kB / 346.6 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.03733, allocations: 0.6981 MB / 347.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.03749, allocations: 79.69 kB / 347.4 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.934e-05/0.03755, allocations: 15.98 kB / 347.4 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.03777, allocations: 12 kB / 347.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.03787, allocations: 43.64 kB / 347.5 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.0379, allocations: 12 kB / 347.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002526/0.03815, allocations: 219.1 kB / 347.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03815, allocations: 3.938 kB / 347.7 MB, free: 13.87 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006307/0.03878, allocations: 147.7 kB / 347.8 MB, free: 13.73 MB / 318.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.0001747/0.03896, allocations: 133.9 kB / 348 MB, free: 13.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.04, allocations: 0.5144 MB / 348.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.04, allocations: 0 / 348.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006111/0.04061, allocations: 366.5 kB / 348.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.04108, allocations: 72.08 kB / 348.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.04276, allocations: 0.846 MB / 349.8 MB, free: 11.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.04302, allocations: 232.8 kB / 350 MB, free: 11.49 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.04314, allocations: 35.28 kB / 350 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.86e-05/0.04322, allocations: 36.48 kB / 350.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.04322, allocations: 0 / 350.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of Templates: time 0.01367/0.05689, allocations: 6.452 MB / 356.5 MB, free: 5.141 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.4526992328464985]