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.002253/0.002253, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.001987/0.001987, allocations: 164.8 kB / 24.27 MB, free: 152 kB / 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 1.553/1.553, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.333e-06/1.333e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.876e-05, allocations: 6.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.007206/0.007235, allocations: 4.528 MB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00273/0.009965, allocations: 1.293 MB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002732/0.01024, allocations: 31.75 kB / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.01064, allocations: 178.6 kB / 278.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.01165, allocations: 381.5 kB / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.01209, allocations: 223.5 kB / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001921/0.01401, allocations: 1.688 MB / 280.5 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008952/0.01491, allocations: 0.5755 MB / 281.1 MB, free: 8.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.01629, allocations: 1.037 MB / 282.1 MB, free: 7.781 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.01762, allocations: 0.8379 MB / 283 MB, free: 6.941 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002711/0.01789, allocations: 176 kB / 283.1 MB, free: 6.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003537/0.01824, allocations: 180 kB / 283.3 MB, free: 6.594 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005595/0.0188, allocations: 0.5024 MB / 283.8 MB, free: 6.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007862/0.01959, allocations: 0.5573 MB / 284.4 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00284/0.02243, allocations: 2.329 MB / 286.7 MB, free: 3.195 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.02243, allocations: 0 / 286.7 MB, free: 3.195 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.02243, allocations: 0 / 286.7 MB, free: 3.195 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.272e-05/0.02246, allocations: 0 / 286.7 MB, free: 3.195 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.00474/0.0272, allocations: 2.645 MB / 289.4 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.02724, allocations: 11.98 kB / 289.4 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008739/0.02811, allocations: 287.9 kB / 289.7 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1218/0.1499, allocations: 0.9111 MB / 290.6 MB, free: 27.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.096e-05/0.15, allocations: 79 kB / 290.6 MB, free: 27.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.1502, allocations: 112.3 kB / 290.8 MB, free: 27.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/0.1526, allocations: 1.573 MB / 292.3 MB, free: 26.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.1527, allocations: 1.281 kB / 292.3 MB, free: 26.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.717e-05/0.1528, allocations: 41.7 kB / 292.4 MB, free: 26.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-05/0.1528, allocations: 44.56 kB / 292.4 MB, free: 26.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.1549, allocations: 1.262 MB / 293.7 MB, free: 26.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007134/0.1621, allocations: 5.225 MB / 298.9 MB, free: 23.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.1634, allocations: 0.8412 MB / 299.7 MB, free: 22.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.1645, allocations: 0.6101 MB / 300.3 MB, free: 22.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.813e-05/0.1645, allocations: 18.91 kB / 300.4 MB, free: 22.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008535/0.1654, allocations: 0.6102 MB / 301 MB, free: 22.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.376e-06/0.1654, allocations: 3.938 kB / 301 MB, free: 22.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.005378/0.1708, allocations: 2.146 MB / 303.1 MB, free: 21.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.1708, allocations: 90.44 kB / 303.2 MB, free: 21.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.1723, allocations: 1.089 MB / 304.3 MB, free: 20.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.1723, allocations: 40.86 kB / 304.3 MB, free: 20.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.1727, allocations: 0.6453 MB / 305 MB, free: 20.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.1729, allocations: 268.9 kB / 305.2 MB, free: 19.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.1731, allocations: 163.9 kB / 305.4 MB, free: 19.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1732, allocations: 0.5351 MB / 305.9 MB, free: 19.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/0.1737, allocations: 333.9 kB / 306.3 MB, free: 19.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/0.1742, allocations: 0.5777 MB / 306.8 MB, free: 18.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009522/0.1751, allocations: 0.8625 MB / 307.7 MB, free: 17.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.1752, allocations: 8 kB / 307.7 MB, free: 17.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001599/0.1768, allocations: 1.153 MB / 308.9 MB, free: 16.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1768, allocations: 4 kB / 308.9 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.1768, allocations: 4 kB / 308.9 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007546/0.1775, allocations: 377.4 kB / 309.2 MB, free: 16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.178, allocations: 115.8 kB / 309.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004145/0.1821, allocations: 4.717 MB / 314.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005969/0.1827, allocations: 79.62 kB / 314.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.592e-05/0.1827, allocations: 20 kB / 314.2 MB, free: 10.95 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_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) * 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.0005798/0.1833, allocations: 482.1 kB / 314.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.1835, allocations: 119.4 kB / 314.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.1837, allocations: 108.5 kB / 314.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1837, allocations: 8 kB / 314.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/0.1837, allocations: 3.938 kB / 314.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.1837, allocations: 3.984 kB / 314.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003321/0.187, allocations: 2.416 MB / 317.3 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.187, allocations: 0 / 317.3 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.1874, allocations: 75.89 kB / 317.4 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006484/0.1881, allocations: 359.2 kB / 317.7 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/0.1881, allocations: 12 kB / 317.7 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003947/0.1921, allocations: 4.519 MB / 322.3 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1921, allocations: 0 / 322.3 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.1942, allocations: 1.649 MB / 323.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004903/0.1947, allocations: 203.2 kB / 324.1 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.1948, allocations: 8 kB / 324.1 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.1952, allocations: 42.95 kB / 324.2 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.1954, allocations: 96.42 kB / 324.2 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.1955, allocations: 19.98 kB / 324.3 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007649/0.1962, allocations: 0.6902 MB / 325 MB, free: 15.99 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1962, allocations: 0 / 325 MB, free: 15.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0012/0.1974, allocations: 355.1 kB / 325.3 MB, free: 15.64 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 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.0002373/0.1977, allocations: 136.2 kB / 325.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002394/0.2001, allocations: 1.19 MB / 326.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.2001, allocations: 4 kB / 326.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.2017, allocations: 0.7994 MB / 327.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.2029, allocations: 244.1 kB / 327.7 MB, free: 13.24 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/0.2082, allocations: 2.482 MB / 330.1 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000942/0.2092, allocations: 0.74 MB / 330.9 MB, free: 9.957 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004769/0.2096, allocations: 131.2 kB / 331 MB, free: 9.824 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.2098, allocations: 64.48 kB / 331.1 MB, free: 9.762 MB / 282.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2098, allocations: 0 / 331.1 MB, free: 9.762 MB / 282.7 MB Notification: Performance of Templates: time 0.03493/0.2448, allocations: 17.48 MB / 348.6 MB, free: 8.582 MB / 298.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.247703145956621]