Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009827/0.0009827, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9592/0.9592, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 273.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.572e-05, allocations: 2.312 kB / 273.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005527/0.005553, allocations: 3.731 MB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.007347, allocations: 1.001 MB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.007542, allocations: 11.94 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.007732, allocations: 87.16 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.008051, allocations: 154.6 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.008421, allocations: 191.5 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005709/0.008992, allocations: 0.6496 MB / 279.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.009225, allocations: 145.2 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.009629, allocations: 363.2 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.009887, allocations: 195.4 kB / 280 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.809e-05/0.009945, allocations: 56 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.45e-05/0.01004, allocations: 63.98 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.324e-05/0.01011, allocations: 123.5 kB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.01024, allocations: 187.5 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.01062, allocations: 414.6 kB / 280.8 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.01063, allocations: 0 / 280.8 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01063, allocations: 4 kB / 280.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.01064, allocations: 0 / 280.8 MB, free: 9.605 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.00077/0.01141, allocations: 0.7146 MB / 281.5 MB, free: 8.867 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.01144, allocations: 11.98 kB / 281.5 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.0116, allocations: 84.86 kB / 281.6 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.01189, allocations: 253.5 kB / 281.8 MB, free: 8.496 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.01192, allocations: 29.38 kB / 281.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.01197, allocations: 48.38 kB / 281.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.01235, allocations: 372.4 kB / 282.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.01236, allocations: 4.141 kB / 282.3 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.01239, allocations: 27.94 kB / 282.3 MB, free: 7.988 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.0124, allocations: 8 kB / 282.3 MB, free: 7.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.01255, allocations: 122.8 kB / 282.4 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.01389, allocations: 1.334 MB / 283.8 MB, free: 6.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.01418, allocations: 247.3 kB / 284 MB, free: 6.207 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.01439, allocations: 181.3 kB / 284.2 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.01441, allocations: 4.328 kB / 284.2 MB, free: 6.023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.01462, allocations: 230.8 kB / 284.4 MB, free: 5.773 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.312e-06/0.01463, allocations: 0 / 284.4 MB, free: 5.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008994/0.01553, allocations: 0.5056 MB / 284.9 MB, free: 5.258 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.01556, allocations: 81.11 kB / 285 MB, free: 5.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.01572, allocations: 282.9 kB / 285.3 MB, free: 4.871 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.01575, allocations: 41.7 kB / 285.3 MB, free: 4.824 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.01583, allocations: 201.8 kB / 285.5 MB, free: 4.625 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.69e-05/0.0159, allocations: 146.8 kB / 285.7 MB, free: 4.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-05/0.01598, allocations: 82.16 kB / 285.7 MB, free: 4.395 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.785e-05/0.01606, allocations: 354.7 kB / 286.1 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.273e-05/0.01612, allocations: 40.98 kB / 286.1 MB, free: 4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.01623, allocations: 202 kB / 286.3 MB, free: 3.738 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.01643, allocations: 262.3 kB / 286.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01643, allocations: 0 / 286.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003075/0.01674, allocations: 301.7 kB / 286.9 MB, free: 3.125 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.01675, allocations: 4 kB / 286.9 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.01676, allocations: 4.469 kB / 286.9 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/0.01697, allocations: 112 kB / 287 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.01711, allocations: 67.91 kB / 287.1 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.01834, allocations: 1.844 MB / 288.9 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.01846, allocations: 43.72 kB / 288.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.01848, allocations: 16 kB / 289 MB, free: 0.9609 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.0001044/0.01858, allocations: 148.5 kB / 289.1 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.01863, allocations: 43.95 kB / 289.1 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.01868, allocations: 44.3 kB / 289.2 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01868, allocations: 4 kB / 289.2 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.01868, allocations: 0 / 289.2 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.01869, allocations: 0 / 289.2 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.01923, allocations: 0.5444 MB / 289.7 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.01924, allocations: 0 / 289.7 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.436e-05/0.01933, allocations: 48.03 kB / 289.8 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1064/0.1257, allocations: 101.2 kB / 289.9 MB, free: 25.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.357e-05/0.1258, allocations: 5.875 kB / 289.9 MB, free: 25.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.1271, allocations: 1.828 MB / 291.7 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1271, allocations: 1.766 kB / 291.7 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.1276, allocations: 410.1 kB / 292.1 MB, free: 23.85 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.982e-05/0.1277, allocations: 51.19 kB / 292.2 MB, free: 23.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.1277, allocations: 9.547 kB / 292.2 MB, free: 23.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.1278, allocations: 15.39 kB / 292.2 MB, free: 23.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.1279, allocations: 38.08 kB / 292.2 MB, free: 23.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.1279, allocations: 19.47 kB / 292.3 MB, free: 23.85 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.705e-05/0.128, allocations: 110.3 kB / 292.4 MB, free: 23.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.128, allocations: 0 / 292.4 MB, free: 23.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004287/0.1285, allocations: 145.3 kB / 292.5 MB, free: 23.84 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.0001205/0.1286, allocations: 93.66 kB / 292.6 MB, free: 23.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004697/0.1291, allocations: 406.3 kB / 293 MB, free: 23.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.1291, allocations: 6.109 kB / 293 MB, free: 23.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.1293, allocations: 305.6 kB / 293.3 MB, free: 23.49 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.1296, allocations: 82.84 kB / 293.4 MB, free: 23.49 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.1308, allocations: 0.8299 MB / 294.2 MB, free: 23.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.656e-05/0.1309, allocations: 121 kB / 294.3 MB, free: 23.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00011/0.131, allocations: 36.11 kB / 294.4 MB, free: 23.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.1312, allocations: 122.4 kB / 294.5 MB, free: 22.98 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1312, allocations: 0 / 294.5 MB, free: 22.98 MB / 266.7 MB Notification: Performance of Templates: time 0.01042/0.1416, allocations: 6.942 MB / 301.4 MB, free: 21.46 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.7384789120405912]