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.0007997/0.0007997, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002064, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0008468/0.0008468, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00119/0.002037, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9942/0.9942, allocations: 173.3 MB / 185.8 MB, free: 9.004 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08235/1.077, allocations: 52.51 MB / 238.3 MB, free: 4.438 MB / 234.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 1.623e-06/1.623e-06, allocations: 3.938 kB / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.831e-05, allocations: 3.859 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003422/0.003441, allocations: 3.696 MB / 243.3 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.00496, allocations: 0.9423 MB / 244.2 MB, free: 14.51 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.005165, allocations: 11.94 kB / 244.2 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.005312, allocations: 83.22 kB / 244.3 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.005554, allocations: 150.6 kB / 244.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.005846, allocations: 167.6 kB / 244.6 MB, free: 14.1 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.006348, allocations: 0.63 MB / 245.2 MB, free: 13.47 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.00657, allocations: 145.2 kB / 245.4 MB, free: 13.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004145/0.006985, allocations: 393.3 kB / 245.8 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.007204, allocations: 191.4 kB / 245.9 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.854e-05/0.007263, allocations: 56 kB / 246 MB, free: 12.69 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.025e-05/0.007313, allocations: 59.94 kB / 246.1 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.007377, allocations: 91.69 kB / 246.2 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.007539, allocations: 151.7 kB / 246.3 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.007854, allocations: 370.7 kB / 246.7 MB, free: 12.03 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.007866, allocations: 0 / 246.7 MB, free: 12.03 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007867, allocations: 0 / 246.7 MB, free: 12.03 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.007881, allocations: 0 / 246.7 MB, free: 12.03 MB / 250.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.0008488/0.00873, allocations: 0.8006 MB / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.455e-05/0.008754, allocations: 8.031 kB / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.564e-05/0.00883, allocations: 76.88 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.009079, allocations: 249.5 kB / 247.8 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.009099, allocations: 33.38 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.009141, allocations: 48.36 kB / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.009455, allocations: 376.4 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.009468, allocations: 192 / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.00949, allocations: 19.94 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.009497, allocations: 12 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.009637, allocations: 126.9 kB / 248.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.0109, allocations: 1.314 MB / 249.7 MB, free: 8.836 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.01118, allocations: 259.3 kB / 250 MB, free: 8.574 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.01139, allocations: 172.4 kB / 250.1 MB, free: 8.406 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.01141, allocations: 8.328 kB / 250.1 MB, free: 8.398 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.01162, allocations: 230.8 kB / 250.4 MB, free: 8.148 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.212e-06/0.01163, allocations: 0 / 250.4 MB, free: 8.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009033/0.01253, allocations: 0.5066 MB / 250.9 MB, free: 7.633 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.01257, allocations: 59.41 kB / 250.9 MB, free: 7.562 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.01272, allocations: 270.9 kB / 251.2 MB, free: 7.281 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.01275, allocations: 37.7 kB / 251.2 MB, free: 7.238 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.01283, allocations: 201.8 kB / 251.4 MB, free: 7.035 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.568e-05/0.0129, allocations: 142.8 kB / 251.6 MB, free: 6.895 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.641e-05/0.01297, allocations: 90.09 kB / 251.7 MB, free: 6.801 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.125e-05/0.01305, allocations: 350.7 kB / 252 MB, free: 6.449 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.016e-05/0.0131, allocations: 44.97 kB / 252 MB, free: 6.406 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.01322, allocations: 206 kB / 252.2 MB, free: 6.145 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.01367, allocations: 253.8 kB / 252.5 MB, free: 5.844 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01368, allocations: 0 / 252.5 MB, free: 5.844 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0002904/0.01397, allocations: 301.5 kB / 252.8 MB, free: 5.539 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.01398, allocations: 8 kB / 252.8 MB, free: 5.531 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/0.01399, allocations: 4 kB / 252.8 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.01419, allocations: 111.5 kB / 252.9 MB, free: 5.418 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.01434, allocations: 75.91 kB / 253 MB, free: 5.344 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.01556, allocations: 1.855 MB / 254.8 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.0157, allocations: 35.78 kB / 254.9 MB, free: 3.379 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.01572, allocations: 12 kB / 254.9 MB, free: 3.367 MB / 250.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.000119/0.01584, allocations: 148.5 kB / 255 MB, free: 3.211 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.01587, allocations: 35.97 kB / 255.1 MB, free: 3.176 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.01592, allocations: 43.48 kB / 255.1 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01593, allocations: 7.938 kB / 255.1 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01593, allocations: 4 kB / 255.1 MB, free: 3.113 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.01594, allocations: 3.984 kB / 255.1 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005997/0.01654, allocations: 0.5404 MB / 255.7 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01654, allocations: 4 kB / 255.7 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.03e-05/0.01663, allocations: 35.92 kB / 255.7 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.0167, allocations: 55.67 kB / 255.7 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001699/0.01687, allocations: 92.88 kB / 255.8 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.01689, allocations: 12 kB / 255.9 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.01803, allocations: 1.823 MB / 257.7 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01804, allocations: 0 / 257.7 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.0184, allocations: 415 kB / 258.1 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.01844, allocations: 12.2 kB / 258.1 MB, free: 16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.407e-05/0.01854, allocations: 11.98 kB / 258.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/0.01861, allocations: 43.91 kB / 258.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.01863, allocations: 16 kB / 258.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.829e-05/0.01871, allocations: 96.62 kB / 258.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01871, allocations: 0 / 258.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003671/0.01907, allocations: 147.7 kB / 258.4 MB, free: 15.68 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.0001279/0.0192, allocations: 104.3 kB / 258.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004606/0.01966, allocations: 419.3 kB / 258.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/0.01968, allocations: 4 kB / 258.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.01992, allocations: 311.7 kB / 259.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.02018, allocations: 100.6 kB / 259.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.02309, allocations: 0.8571 MB / 260.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.57e-05/0.02319, allocations: 122.3 kB / 260.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.886e-05/0.02329, allocations: 35.36 kB / 260.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.02343, allocations: 127.3 kB / 260.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02343, allocations: 0 / 260.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Templates: time 0.009248/0.03268, allocations: 7.064 MB / 267.5 MB, free: 6.652 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 -ignoreHideResult -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.5872709657996893]