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.001117/0.001117, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001031/0.001031, allocations: 163.6 kB / 24.99 MB, free: 8.746 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.9881/0.9881, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.663e-06/1.663e-06, allocations: 0 / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.877e-05, allocations: 12.98 kB / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003755/0.003784, allocations: 3.734 MB / 276.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.005323, allocations: 0.9698 MB / 277.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.005539, allocations: 11.94 kB / 277.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.005747, allocations: 83.22 kB / 277.9 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.006055, allocations: 158.5 kB / 278 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.006411, allocations: 175.6 kB / 278.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000508/0.006919, allocations: 0.6378 MB / 278.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.007183, allocations: 144.6 kB / 279 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00041/0.007593, allocations: 359.2 kB / 279.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.007842, allocations: 191.4 kB / 279.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.926e-05/0.007901, allocations: 60 kB / 279.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.744e-05/0.007998, allocations: 60 kB / 279.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.316e-05/0.008082, allocations: 131.5 kB / 279.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.008235, allocations: 191.5 kB / 279.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000427/0.008662, allocations: 418.5 kB / 280.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.008666, allocations: 0 / 280.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.008667, allocations: 0 / 280.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.008675, allocations: 0 / 280.4 MB, free: 10.5 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.001097/0.009772, allocations: 0.952 MB / 281.3 MB, free: 9.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.009809, allocations: 8.031 kB / 281.3 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.01002, allocations: 100.6 kB / 281.4 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.01039, allocations: 329.2 kB / 281.7 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.01041, allocations: 33.38 kB / 281.8 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.254e-05/0.01047, allocations: 48.38 kB / 281.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.01096, allocations: 405.5 kB / 282.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.01097, allocations: 192 / 282.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.01101, allocations: 19.94 kB / 282.2 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.01102, allocations: 15.98 kB / 282.2 MB, free: 8.496 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.01131, allocations: 169.8 kB / 282.4 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.01295, allocations: 1.843 MB / 284.3 MB, free: 6.387 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.0134, allocations: 307.7 kB / 284.6 MB, free: 6.078 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.01376, allocations: 211.3 kB / 284.8 MB, free: 5.871 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.01379, allocations: 8.328 kB / 284.8 MB, free: 5.863 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003134/0.01411, allocations: 254.1 kB / 285 MB, free: 5.586 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/0.01411, allocations: 0 / 285 MB, free: 5.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.00132/0.01543, allocations: 0.6225 MB / 285.6 MB, free: 4.953 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.01548, allocations: 89.05 kB / 285.7 MB, free: 4.848 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.01573, allocations: 342.3 kB / 286.1 MB, free: 4.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.01576, allocations: 37.7 kB / 286.1 MB, free: 4.457 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.0159, allocations: 276 kB / 286.4 MB, free: 4.184 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.177e-05/0.01598, allocations: 142.8 kB / 286.5 MB, free: 4.043 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.514e-05/0.01608, allocations: 87.84 kB / 286.6 MB, free: 3.949 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.01622, allocations: 0.5157 MB / 287.1 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.01633, allocations: 64.95 kB / 287.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.01653, allocations: 261 kB / 287.4 MB, free: 3.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.01685, allocations: 341.9 kB / 287.8 MB, free: 2.613 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01685, allocations: 0 / 287.8 MB, free: 2.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000502/0.01735, allocations: 404.3 kB / 288.2 MB, free: 2.207 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.01737, allocations: 8 kB / 288.2 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.01738, allocations: 4.469 kB / 288.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002967/0.01768, allocations: 119.5 kB / 288.3 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.01783, allocations: 67.91 kB / 288.4 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.01981, allocations: 2.624 MB / 291 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.01996, allocations: 35.73 kB / 291 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.01998, allocations: 23.98 kB / 291 MB, free: 15.2 MB / 282.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.0001451/0.02013, allocations: 192.5 kB / 291.2 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.02018, allocations: 47.77 kB / 291.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.255e-05/0.02025, allocations: 48.3 kB / 291.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.02025, allocations: 4 kB / 291.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.02025, allocations: 4 kB / 291.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.02026, allocations: 7.922 kB / 291.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000968/0.02123, allocations: 0.7868 MB / 292.1 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.02123, allocations: 0 / 292.1 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.02134, allocations: 39.95 kB / 292.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002301/0.02157, allocations: 103.6 kB / 292.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.02159, allocations: 12 kB / 292.3 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.0235, allocations: 2.632 MB / 294.9 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.0235, allocations: 3.984 kB / 294.9 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006495/0.02415, allocations: 0.563 MB / 295.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.02426, allocations: 75.64 kB / 295.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.02429, allocations: 16 kB / 295.6 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.02441, allocations: 12 kB / 295.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/0.02449, allocations: 39.92 kB / 295.6 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.0245, allocations: 8 kB / 295.6 MB, free: 10.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001508/0.02465, allocations: 235 kB / 295.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02465, allocations: 0 / 295.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005366/0.02519, allocations: 151.7 kB / 296 MB, free: 10.03 MB / 282.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.0001314/0.02532, allocations: 123.1 kB / 296.1 MB, free: 9.902 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000646/0.02597, allocations: 0.4929 MB / 296.6 MB, free: 9.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.02597, allocations: 0.9375 kB / 296.6 MB, free: 9.391 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.02627, allocations: 389 kB / 297 MB, free: 8.988 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.02659, allocations: 81.17 kB / 297.1 MB, free: 8.906 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.02802, allocations: 0.8362 MB / 297.9 MB, free: 8.035 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.446e-05/0.02811, allocations: 130.1 kB / 298 MB, free: 7.883 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.153e-05/0.0282, allocations: 31.28 kB / 298.1 MB, free: 7.852 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.02825, allocations: 36.5 kB / 298.1 MB, free: 7.816 MB / 282.7 MB Notification: Performance of SimCode: time 1.242e-06/0.02825, allocations: 0 / 298.1 MB, free: 7.816 MB / 282.7 MB Notification: Performance of Templates: time 0.009011/0.03726, allocations: 6.59 MB / 304.7 MB, free: 1.398 MB / 282.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.975969510152936]