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.001035/0.001035, allocations: 80.06 kB / 21.18 MB, free: 3.383 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.0009128/0.0009128, allocations: 141.1 kB / 24.54 MB, free: 32 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 0.9296/0.9296, allocations: 173.3 MB / 201.1 MB, free: 9.352 MB / 186.7 MB " [Timeout remaining time 179] 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.044e-06/2.044e-06, allocations: 0 / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.293e-05, allocations: 4.281 kB / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005269/0.005302, allocations: 3.704 MB / 271.7 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.007056, allocations: 0.9075 MB / 272.6 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.007267, allocations: 11.94 kB / 272.6 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.007473, allocations: 79.23 kB / 272.7 MB, free: 1.688 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.007778, allocations: 158.5 kB / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.008098, allocations: 171.7 kB / 273 MB, free: 1.363 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005171/0.008615, allocations: 0.6262 MB / 273.7 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.008857, allocations: 140.6 kB / 273.8 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.009212, allocations: 343.2 kB / 274.1 MB, free: 256 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.009456, allocations: 195.4 kB / 274.3 MB, free: 60 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/0.009519, allocations: 56 kB / 274.4 MB, free: 4 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.51e-05/0.009584, allocations: 56.05 kB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.009659, allocations: 119.5 kB / 274.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.009799, allocations: 187.5 kB / 274.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.01017, allocations: 402.5 kB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.01017, allocations: 3.938 kB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01017, allocations: 4 kB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.01018, allocations: 0 / 275.1 MB, free: 15.25 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.0009811/0.01116, allocations: 0.9443 MB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.0112, allocations: 12.92 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.01132, allocations: 92.59 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.01165, allocations: 300.4 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.01168, allocations: 33.38 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.01173, allocations: 48.36 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.01219, allocations: 409.5 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.0122, allocations: 192 / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.01223, allocations: 19.94 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.01225, allocations: 16 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.01251, allocations: 173.7 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.01401, allocations: 1.832 MB / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.01444, allocations: 300.1 kB / 279.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.01475, allocations: 215.1 kB / 279.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.01478, allocations: 8.328 kB / 279.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.01505, allocations: 246.2 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.482e-06/0.01505, allocations: 4 kB / 279.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001255/0.01631, allocations: 0.6225 MB / 280.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.01635, allocations: 85.11 kB / 280.5 MB, free: 9.648 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.01657, allocations: 338.2 kB / 280.8 MB, free: 9.297 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.0166, allocations: 29.7 kB / 280.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.01671, allocations: 272 kB / 281.1 MB, free: 8.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.28e-05/0.01678, allocations: 138.8 kB / 281.2 MB, free: 8.855 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.914e-05/0.01687, allocations: 91.8 kB / 281.3 MB, free: 8.758 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.017, allocations: 0.5157 MB / 281.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.0171, allocations: 60.97 kB / 281.9 MB, free: 8.172 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.01728, allocations: 272.9 kB / 282.2 MB, free: 7.824 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.01757, allocations: 329.9 kB / 282.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.01758, allocations: 4 kB / 282.5 MB, free: 7.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0004649/0.01804, allocations: 408.5 kB / 282.9 MB, free: 7.016 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.01806, allocations: 8 kB / 282.9 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.01807, allocations: 8 kB / 282.9 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002905/0.01836, allocations: 118.3 kB / 283 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.0185, allocations: 67.91 kB / 283.1 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.02022, allocations: 2.624 MB / 285.7 MB, free: 4.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.02036, allocations: 43.73 kB / 285.7 MB, free: 4.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.02038, allocations: 20 kB / 285.8 MB, free: 4.012 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.0001262/0.02051, allocations: 188.5 kB / 285.9 MB, free: 3.816 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.02056, allocations: 51.7 kB / 286 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.02061, allocations: 47.48 kB / 286 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.02061, allocations: 4 kB / 286 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.02061, allocations: 4 kB / 286.1 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.02062, allocations: 3.938 kB / 286.1 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007919/0.02141, allocations: 0.7983 MB / 286.9 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.02141, allocations: 0 / 286.9 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.223e-05/0.02151, allocations: 31.92 kB / 286.9 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002103/0.02172, allocations: 111.6 kB / 287 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.02173, allocations: 7.984 kB / 287 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1115/0.1332, allocations: 2.616 MB / 289.6 MB, free: 28.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.1332, allocations: 3.141 kB / 289.6 MB, free: 28.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000864/0.1341, allocations: 0.5537 MB / 290.2 MB, free: 28.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.1343, allocations: 77.95 kB / 290.3 MB, free: 28.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.1343, allocations: 9.266 kB / 290.3 MB, free: 28.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.1345, allocations: 16.47 kB / 290.3 MB, free: 28.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.1346, allocations: 35.05 kB / 290.3 MB, free: 28.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.1346, allocations: 14.58 kB / 290.3 MB, free: 28.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.1348, allocations: 230.7 kB / 290.6 MB, free: 27.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1348, allocations: 0.6875 kB / 290.6 MB, free: 27.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004776/0.1352, allocations: 145.4 kB / 290.7 MB, free: 27.9 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.000134/0.1354, allocations: 121.7 kB / 290.8 MB, free: 27.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007007/0.1361, allocations: 0.4972 MB / 291.3 MB, free: 27.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1361, allocations: 2.406 kB / 291.3 MB, free: 27.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.1364, allocations: 387.6 kB / 291.7 MB, free: 27.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.1368, allocations: 70.69 kB / 291.8 MB, free: 27.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.1383, allocations: 0.8241 MB / 292.6 MB, free: 27.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.1384, allocations: 118.8 kB / 292.7 MB, free: 26.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.1385, allocations: 39.11 kB / 292.7 MB, free: 26.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/0.1385, allocations: 28.67 kB / 292.8 MB, free: 26.93 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1385, allocations: 0 / 292.8 MB, free: 26.93 MB / 266.7 MB Notification: Performance of Templates: time 0.01061/0.1492, allocations: 6.772 MB / 299.5 MB, free: 25.62 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] 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","",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.8415748719125986]