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.001382/0.001382, allocations: 75.59 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001323/0.001323, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 18.57 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.015/1.015, allocations: 177.1 MB / 205 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] 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 2.965e-06/2.965e-06, allocations: 3.984 kB / 273 MB, free: 1.344 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.364e-05/3.661e-05, allocations: 2.312 kB / 273 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004079/0.004116, allocations: 3.743 MB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.006097, allocations: 0.966 MB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003169/0.006414, allocations: 11.94 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.006644, allocations: 79.17 kB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.007024, allocations: 162.5 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.007525, allocations: 183.5 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007195/0.008245, allocations: 0.6418 MB / 278.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.008541, allocations: 144.6 kB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005147/0.009056, allocations: 355.2 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.009368, allocations: 195.4 kB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.241e-05/0.009431, allocations: 56 kB / 279.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.265e-05/0.009524, allocations: 60 kB / 279.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.725e-05/0.009611, allocations: 131.5 kB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.009773, allocations: 183.6 kB / 279.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.01028, allocations: 414.5 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.01028, allocations: 4 kB / 280.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01028, allocations: 0 / 280.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.01029, allocations: 0 / 280.3 MB, free: 10.01 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.001202/0.01149, allocations: 0.9675 MB / 281.3 MB, free: 8.996 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.01153, allocations: 8.031 kB / 281.3 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.01175, allocations: 96.61 kB / 281.4 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.01214, allocations: 313.2 kB / 281.7 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.01217, allocations: 41.36 kB / 281.7 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.365e-05/0.01224, allocations: 44.38 kB / 281.8 MB, free: 8.477 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/0.01274, allocations: 405.5 kB / 282.1 MB, free: 8.043 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.01275, allocations: 4.188 kB / 282.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.01279, allocations: 23.94 kB / 282.2 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.0128, allocations: 12 kB / 282.2 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.01307, allocations: 177.7 kB / 282.4 MB, free: 7.828 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.01473, allocations: 1.839 MB / 284.2 MB, free: 5.891 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.01516, allocations: 297.1 kB / 284.5 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.01547, allocations: 208.1 kB / 284.7 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.01551, allocations: 12.27 kB / 284.7 MB, free: 5.371 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/0.01578, allocations: 246.2 kB / 284.9 MB, free: 5.102 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.615e-06/0.01578, allocations: 4 kB / 284.9 MB, free: 5.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001238/0.01702, allocations: 0.6263 MB / 285.6 MB, free: 4.461 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.01708, allocations: 85.11 kB / 285.7 MB, free: 4.359 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.01733, allocations: 346.2 kB / 286 MB, free: 4.008 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.01735, allocations: 33.7 kB / 286 MB, free: 3.969 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.01749, allocations: 272 kB / 286.3 MB, free: 3.699 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.222e-05/0.01758, allocations: 146.8 kB / 286.4 MB, free: 3.555 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.01767, allocations: 91.78 kB / 286.5 MB, free: 3.457 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.01782, allocations: 0.5157 MB / 287 MB, free: 2.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.01793, allocations: 64.97 kB / 287.1 MB, free: 2.867 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.01813, allocations: 272.9 kB / 287.4 MB, free: 2.516 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.01843, allocations: 329.9 kB / 287.7 MB, free: 2.121 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01844, allocations: 0 / 287.7 MB, free: 2.121 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0004884/0.01893, allocations: 412.7 kB / 288.1 MB, free: 1.707 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.01895, allocations: 10.34 kB / 288.1 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.01895, allocations: 7.984 kB / 288.1 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003164/0.01927, allocations: 111.5 kB / 288.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.01942, allocations: 68.06 kB / 288.3 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1427/0.1621, allocations: 2.617 MB / 290.9 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.1624, allocations: 39.12 kB / 290.9 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.1625, allocations: 18.25 kB / 291 MB, free: 23.66 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.0001713/0.1626, allocations: 192.4 kB / 291.2 MB, free: 23.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.1627, allocations: 53.89 kB / 291.2 MB, free: 23.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.381e-05/0.1628, allocations: 48.5 kB / 291.3 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1628, allocations: 4.625 kB / 291.3 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1628, allocations: 1.984 kB / 291.3 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1628, allocations: 1.594 kB / 291.3 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.164, allocations: 0.7904 MB / 292.1 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.164, allocations: 4.906 kB / 292.1 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.1641, allocations: 37.45 kB / 292.1 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002955/0.1644, allocations: 108.7 kB / 292.2 MB, free: 23.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.1644, allocations: 8.266 kB / 292.2 MB, free: 23.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.1662, allocations: 2.616 MB / 294.8 MB, free: 21.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1662, allocations: 3.938 kB / 294.8 MB, free: 21.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/0.167, allocations: 0.5661 MB / 295.4 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.1671, allocations: 73.95 kB / 295.5 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.1671, allocations: 10.42 kB / 295.5 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.1673, allocations: 19.5 kB / 295.5 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/0.1674, allocations: 36.66 kB / 295.5 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.1674, allocations: 14.11 kB / 295.5 MB, free: 20.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001844/0.1676, allocations: 232.8 kB / 295.8 MB, free: 20.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1676, allocations: 0.5469 kB / 295.8 MB, free: 20.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006181/0.1682, allocations: 149.5 kB / 295.9 MB, free: 20.79 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.0001352/0.1683, allocations: 120.5 kB / 296 MB, free: 20.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007932/0.1691, allocations: 0.4969 MB / 296.5 MB, free: 20.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1691, allocations: 4.125 kB / 296.5 MB, free: 20.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003904/0.1695, allocations: 389.5 kB / 296.9 MB, free: 20.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.1699, allocations: 73.3 kB / 297 MB, free: 20.28 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.1716, allocations: 0.8398 MB / 297.8 MB, free: 19.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.1718, allocations: 122.5 kB / 297.9 MB, free: 19.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.1719, allocations: 35.2 kB / 298 MB, free: 19.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.966e-05/0.172, allocations: 32.52 kB / 298 MB, free: 19.79 MB / 266.7 MB Notification: Performance of SimCode: time 1.282e-06/0.172, allocations: 3.812 kB / 298 MB, free: 19.79 MB / 266.7 MB Notification: Performance of Templates: time 0.01189/0.1839, allocations: 6.587 MB / 304.6 MB, free: 18.2 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.215139809064567]