Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.0013/0.0013, 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.001438/0.001438, 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.9043/0.9043, allocations: 177 MB / 205.2 MB, free: 5.051 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/1.978e-05, allocations: 6.312 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004113/0.004133, allocations: 4.494 MB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.005944, allocations: 1.343 MB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.006151, allocations: 31.75 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.006452, allocations: 174.6 kB / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006551/0.007107, allocations: 381.5 kB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.007383, allocations: 231.5 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001022/0.008405, allocations: 1.692 MB / 281.7 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005034/0.008909, allocations: 0.595 MB / 282.3 MB, free: 8.031 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007393/0.009648, allocations: 1.037 MB / 283.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006926/0.01034, allocations: 0.8301 MB / 284.2 MB, free: 6.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.01048, allocations: 176 kB / 284.4 MB, free: 5.988 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.01067, allocations: 188 kB / 284.6 MB, free: 5.805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.01095, allocations: 0.5025 MB / 285.1 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003709/0.01132, allocations: 0.5456 MB / 285.6 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009048/0.01222, allocations: 1.336 MB / 286.9 MB, free: 3.414 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.01223, allocations: 0 / 286.9 MB, free: 3.414 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01223, allocations: 3.938 kB / 286.9 MB, free: 3.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.01224, allocations: 0 / 286.9 MB, free: 3.41 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001621/0.01386, allocations: 1.623 MB / 288.6 MB, free: 1.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.01389, allocations: 11.98 kB / 288.6 MB, free: 1.738 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003948/0.01429, allocations: 236.7 kB / 288.8 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006785/0.01497, allocations: 0.6299 MB / 289.4 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/0.01501, allocations: 74.44 kB / 289.5 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.01512, allocations: 112.4 kB / 289.6 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1138/0.1289, allocations: 0.8377 MB / 290.5 MB, free: 25.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/0.1289, allocations: 0 / 290.5 MB, free: 25.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.75e-05/0.129, allocations: 45.95 kB / 290.5 MB, free: 25.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.117e-05/0.1291, allocations: 44.17 kB / 290.5 MB, free: 25.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005617/0.1296, allocations: 262.9 kB / 290.8 MB, free: 25.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003204/0.1328, allocations: 3.01 MB / 293.8 MB, free: 23.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.1333, allocations: 415.7 kB / 294.2 MB, free: 23.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/0.1337, allocations: 307.6 kB / 294.5 MB, free: 23.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.1337, allocations: 12.75 kB / 294.5 MB, free: 23.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003549/0.1341, allocations: 325.1 kB / 294.8 MB, free: 23.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.154e-06/0.1341, allocations: 1.906 kB / 294.9 MB, free: 23.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.00209/0.1362, allocations: 0.9502 MB / 295.8 MB, free: 23.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.1362, allocations: 90 kB / 295.9 MB, free: 23.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005309/0.1368, allocations: 0.6086 MB / 296.5 MB, free: 23.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.1368, allocations: 41.83 kB / 296.5 MB, free: 23.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.137, allocations: 436.5 kB / 297 MB, free: 23.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.1371, allocations: 244.4 kB / 297.2 MB, free: 22.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.1372, allocations: 123.3 kB / 297.3 MB, free: 22.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.292e-05/0.1373, allocations: 340 kB / 297.7 MB, free: 22.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.1374, allocations: 71.08 kB / 297.7 MB, free: 22.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.1376, allocations: 244.7 kB / 298 MB, free: 22.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.1379, allocations: 359 kB / 298.3 MB, free: 22.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1379, allocations: 1.062 kB / 298.3 MB, free: 22.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006075/0.1385, allocations: 451.7 kB / 298.8 MB, free: 22.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1386, allocations: 7.344 kB / 298.8 MB, free: 22.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1386, allocations: 4.219 kB / 298.8 MB, free: 22.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003797/0.1389, allocations: 174 kB / 298.9 MB, free: 22.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.1392, allocations: 114.5 kB / 299 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.141, allocations: 2.37 MB / 301.4 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.1413, allocations: 66.39 kB / 301.5 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.1413, allocations: 19.48 kB / 301.5 MB, free: 20.61 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: 15 (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_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.1415, allocations: 164.5 kB / 301.7 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.938e-05/0.1416, allocations: 83.09 kB / 301.7 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.895e-05/0.1417, allocations: 109.9 kB / 301.9 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1417, allocations: 10.44 kB / 301.9 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.1417, allocations: 1.594 kB / 301.9 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1417, allocations: 3.141 kB / 301.9 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.1429, allocations: 1.008 MB / 302.9 MB, free: 20.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1429, allocations: 6.875 kB / 302.9 MB, free: 20.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.1431, allocations: 75.7 kB / 303 MB, free: 20.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003145/0.1434, allocations: 163.3 kB / 303.1 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.1434, allocations: 16.72 kB / 303.1 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.145, allocations: 2.377 MB / 305.5 MB, free: 18.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.145, allocations: 128 / 305.5 MB, free: 18.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006376/0.1456, allocations: 0.6055 MB / 306.1 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.1458, allocations: 136 kB / 306.2 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.521e-05/0.1459, allocations: 18.34 kB / 306.3 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.1461, allocations: 26.22 kB / 306.3 MB, free: 17.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.1462, allocations: 68 kB / 306.4 MB, free: 17.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.1462, allocations: 18.81 kB / 306.4 MB, free: 17.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002086/0.1464, allocations: 307.5 kB / 306.7 MB, free: 17.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1464, allocations: 0 / 306.7 MB, free: 17.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005218/0.1469, allocations: 346.8 kB / 307 MB, free: 17.8 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001221/0.147, allocations: 122.1 kB / 307.1 MB, free: 17.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005975/0.1476, allocations: 0.6024 MB / 307.7 MB, free: 17.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.1476, allocations: 12.81 kB / 307.7 MB, free: 17.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.148, allocations: 481.2 kB / 308.2 MB, free: 17.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.1485, allocations: 253.7 kB / 308.5 MB, free: 16.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.1508, allocations: 2.23 MB / 310.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.151, allocations: 331.8 kB / 311 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.1512, allocations: 96 kB / 311.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/0.1515, allocations: 262.4 kB / 311.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1516, allocations: 0 / 311.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of Templates: time 0.01777/0.1693, allocations: 18.35 MB / 329.7 MB, free: 12.08 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.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.8800435960292816]