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.0009261/0.0009261, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.000931/0.000931, allocations: 172.7 kB / 24.91 MB, free: 8.715 MB / 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 0.9204/0.9204, allocations: 177.1 MB / 205.3 MB, free: 5.488 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 1.302e-06/1.302e-06, allocations: 0 / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252e-05/1.383e-05, allocations: 2.312 kB / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003411/0.003425, allocations: 3.683 MB / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.004822, allocations: 1.005 MB / 278.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.004983, allocations: 11.94 kB / 278.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.005167, allocations: 79.22 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.005418, allocations: 158.5 kB / 278.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.00572, allocations: 183.6 kB / 278.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004376/0.006158, allocations: 0.6418 MB / 279.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.006361, allocations: 149.2 kB / 279.4 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.006681, allocations: 347.3 kB / 279.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.006893, allocations: 199.4 kB / 279.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.397e-05/0.006947, allocations: 60 kB / 280 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.668e-05/0.007023, allocations: 56 kB / 280 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.43e-05/0.007098, allocations: 135.4 kB / 280.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.007222, allocations: 191.5 kB / 280.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.007551, allocations: 410.5 kB / 280.7 MB, free: 9.977 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.007553, allocations: 0 / 280.7 MB, free: 9.977 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.007553, allocations: 0 / 280.7 MB, free: 9.977 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.007557, allocations: 0 / 280.7 MB, free: 9.977 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.0007178/0.008275, allocations: 0.7111 MB / 281.4 MB, free: 9.242 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.008303, allocations: 8.031 kB / 281.4 MB, free: 9.234 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.008441, allocations: 80.86 kB / 281.5 MB, free: 9.156 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000502/0.008943, allocations: 253.5 kB / 281.8 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.008971, allocations: 37.36 kB / 281.8 MB, free: 8.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.009018, allocations: 48.38 kB / 281.9 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.009328, allocations: 376.4 kB / 282.2 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.009345, allocations: 8.125 kB / 282.2 MB, free: 8.387 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.009369, allocations: 19.94 kB / 282.3 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.009378, allocations: 12 kB / 282.3 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.00952, allocations: 110.9 kB / 282.4 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.01065, allocations: 1.33 MB / 283.7 MB, free: 6.848 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.01094, allocations: 251.4 kB / 283.9 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.01116, allocations: 184.3 kB / 284.1 MB, free: 6.414 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.01118, allocations: 8.328 kB / 284.1 MB, free: 6.406 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.01138, allocations: 234.7 kB / 284.4 MB, free: 6.152 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.563e-06/0.01138, allocations: 4 kB / 284.4 MB, free: 6.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008967/0.01228, allocations: 0.4989 MB / 284.9 MB, free: 5.641 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.01231, allocations: 85.11 kB / 285 MB, free: 5.539 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.01247, allocations: 278.9 kB / 285.2 MB, free: 5.254 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.01249, allocations: 33.7 kB / 285.3 MB, free: 5.215 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.597e-05/0.01257, allocations: 201.8 kB / 285.5 MB, free: 5.016 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/0.01263, allocations: 146.8 kB / 285.6 MB, free: 4.871 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.442e-05/0.01271, allocations: 86.14 kB / 285.7 MB, free: 4.781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.01279, allocations: 354.7 kB / 286 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.041e-05/0.01284, allocations: 36.98 kB / 286.1 MB, free: 4.391 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.01295, allocations: 198 kB / 286.3 MB, free: 4.133 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.01315, allocations: 266.4 kB / 286.5 MB, free: 3.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01316, allocations: 0 / 286.5 MB, free: 3.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0002915/0.01345, allocations: 298 kB / 286.8 MB, free: 3.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.01346, allocations: 14.44 kB / 286.8 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01347, allocations: 4 kB / 286.8 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/0.01368, allocations: 96.69 kB / 286.9 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.0138, allocations: 63.91 kB / 287 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.01524, allocations: 1.851 MB / 288.8 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.01535, allocations: 39.73 kB / 288.9 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.01537, allocations: 20 kB / 288.9 MB, free: 1.352 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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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.0001003/0.01547, allocations: 148.6 kB / 289 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.01551, allocations: 39.97 kB / 289.1 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.01555, allocations: 44.3 kB / 289.1 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.01555, allocations: 7.938 kB / 289.1 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.01556, allocations: 0 / 289.1 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.01556, allocations: 7.984 kB / 289.1 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.0161, allocations: 0.5483 MB / 289.7 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.0161, allocations: 0 / 289.7 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.308e-05/0.01618, allocations: 31.92 kB / 289.7 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001709/0.01635, allocations: 104.8 kB / 289.8 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.01637, allocations: 7.984 kB / 289.8 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0969/0.1133, allocations: 1.826 MB / 291.7 MB, free: 24.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1133, allocations: 2 kB / 291.7 MB, free: 24.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004397/0.1137, allocations: 411.7 kB / 292.1 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.865e-05/0.1138, allocations: 55.53 kB / 292.1 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.1138, allocations: 8.219 kB / 292.1 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.114, allocations: 17.16 kB / 292.1 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.114, allocations: 34.64 kB / 292.2 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.114, allocations: 12.33 kB / 292.2 MB, free: 24.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.91e-05/0.1141, allocations: 102.8 kB / 292.3 MB, free: 24.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1141, allocations: 0 / 292.3 MB, free: 24.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003921/0.1145, allocations: 149.1 kB / 292.4 MB, free: 24.11 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.000101/0.1146, allocations: 96.27 kB / 292.5 MB, free: 24.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000419/0.115, allocations: 409.1 kB / 292.9 MB, free: 23.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.115, allocations: 3.469 kB / 292.9 MB, free: 23.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.1153, allocations: 319.2 kB / 293.2 MB, free: 23.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.1155, allocations: 78.05 kB / 293.3 MB, free: 23.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.1166, allocations: 0.8225 MB / 294.1 MB, free: 23.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.672e-05/0.1167, allocations: 122.9 kB / 294.3 MB, free: 23.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.274e-05/0.1168, allocations: 39.41 kB / 294.3 MB, free: 23.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.1169, allocations: 123.3 kB / 294.4 MB, free: 23.24 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1169, allocations: 0.5469 kB / 294.4 MB, free: 23.24 MB / 266.7 MB Notification: Performance of Templates: time 0.009052/0.1259, allocations: 6.939 MB / 301.4 MB, free: 21.71 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: 2.6537547199986875]