Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.001921/0.001921, allocations: 85.75 kB / 21.43 MB, free: 296 kB / 14.72 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.002232/0.002232, allocations: 164.3 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.68e-05, allocations: 6.219 kB / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006217/0.006244, allocations: 4.102 MB / 303.1 MB, free: 4.566 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.008901, allocations: 1.231 MB / 304.3 MB, free: 3.328 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003019/0.009203, allocations: 23.81 kB / 304.3 MB, free: 3.305 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004019/0.009605, allocations: 174.6 kB / 304.5 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009892/0.01059, allocations: 369.7 kB / 304.9 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.01102, allocations: 207.5 kB / 305.1 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001879/0.0129, allocations: 1.665 MB / 306.7 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007767/0.01368, allocations: 0.5083 MB / 307.2 MB, free: 380 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.01488, allocations: 0.9941 MB / 308.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.01607, allocations: 0.7833 MB / 309 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.01631, allocations: 176 kB / 309.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.0166, allocations: 176 kB / 309.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004994/0.0171, allocations: 494.5 kB / 309.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006631/0.01777, allocations: 0.5378 MB / 310.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.02003, allocations: 2.279 MB / 312.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.02003, allocations: 0 / 312.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.02004, allocations: 0 / 312.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.39e-05/0.02006, allocations: 0 / 312.7 MB, free: 10.93 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003593/0.02365, allocations: 2.013 MB / 314.7 MB, free: 8.871 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.0237, allocations: 15.98 kB / 314.7 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002635/0.02396, allocations: 156 kB / 314.8 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.02544, allocations: 0.8844 MB / 315.7 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.69e-05/0.0255, allocations: 82.34 kB / 315.8 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.02568, allocations: 108.3 kB / 315.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.02831, allocations: 1.567 MB / 317.5 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.02834, allocations: 3.938 kB / 317.5 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.02846, allocations: 44 kB / 317.5 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-05/0.02852, allocations: 42.02 kB / 317.6 MB, free: 5.883 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/0.03108, allocations: 1.429 MB / 319 MB, free: 4.445 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1477/0.1788, allocations: 4.294 MB / 323.3 MB, free: 32.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.1805, allocations: 0.9236 MB / 324.2 MB, free: 32.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.1818, allocations: 0.6869 MB / 324.9 MB, free: 32.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.361e-05/0.1818, allocations: 8.312 kB / 324.9 MB, free: 32.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.1829, allocations: 0.6439 MB / 325.6 MB, free: 32.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.695e-06/0.1829, allocations: 0 / 325.6 MB, free: 32.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005994/0.1889, allocations: 2.363 MB / 327.9 MB, free: 31.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.1889, allocations: 94.38 kB / 328 MB, free: 31.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.1902, allocations: 0.904 MB / 328.9 MB, free: 31.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.111e-05/0.1903, allocations: 41.78 kB / 329 MB, free: 31.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.1907, allocations: 0.5323 MB / 329.5 MB, free: 31.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.1909, allocations: 242.5 kB / 329.7 MB, free: 30.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.1911, allocations: 131 kB / 329.9 MB, free: 30.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.146e-05/0.1912, allocations: 334.6 kB / 330.2 MB, free: 30.51 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006763/0.1919, allocations: 413.2 kB / 330.6 MB, free: 30.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007249/0.1926, allocations: 0.5761 MB / 331.2 MB, free: 30.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.1939, allocations: 0.9443 MB / 332.1 MB, free: 29.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1939, allocations: 1.375 kB / 332.1 MB, free: 29.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002072/0.196, allocations: 1.281 MB / 333.4 MB, free: 29.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.196, allocations: 11.45 kB / 333.4 MB, free: 29.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.196, allocations: 3.438 kB / 333.4 MB, free: 29.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008871/0.1969, allocations: 390.2 kB / 333.8 MB, free: 28.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.1974, allocations: 111.2 kB / 333.9 MB, free: 28.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004556/0.202, allocations: 4.324 MB / 338.2 MB, free: 26.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/0.2025, allocations: 79.72 kB / 338.3 MB, free: 26.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.2026, allocations: 25.95 kB / 338.3 MB, free: 26.28 MB / 302.1 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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0006243/0.2032, allocations: 0.4925 MB / 338.8 MB, free: 25.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.2033, allocations: 92.12 kB / 338.9 MB, free: 25.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.2035, allocations: 119.1 kB / 339 MB, free: 25.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.2036, allocations: 6.125 kB / 339 MB, free: 25.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2036, allocations: 5.312 kB / 339 MB, free: 25.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.2036, allocations: 3.984 kB / 339 MB, free: 25.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/0.2068, allocations: 2.275 MB / 341.3 MB, free: 24.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2068, allocations: 0 / 341.3 MB, free: 24.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.2072, allocations: 85.28 kB / 341.4 MB, free: 24.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007084/0.2079, allocations: 387.2 kB / 341.8 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/0.208, allocations: 15.61 kB / 341.8 MB, free: 24.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003985/0.212, allocations: 4.281 MB / 346.1 MB, free: 21.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.212, allocations: 5.781 kB / 346.1 MB, free: 21.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.2143, allocations: 1.941 MB / 348 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000372/0.2147, allocations: 213.2 kB / 348.2 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.2148, allocations: 12 kB / 348.2 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.2152, allocations: 51.77 kB / 348.3 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.2154, allocations: 84.5 kB / 348.4 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.2154, allocations: 23.98 kB / 348.4 MB, free: 18.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000637/0.2161, allocations: 0.6395 MB / 349 MB, free: 18.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2161, allocations: 0 / 349 MB, free: 18.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009045/0.217, allocations: 353.9 kB / 349.4 MB, free: 17.89 MB / 302.1 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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.0001626/0.2171, allocations: 133.7 kB / 349.5 MB, free: 17.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.2189, allocations: 1.258 MB / 350.8 MB, free: 16.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2189, allocations: 0 / 350.8 MB, free: 16.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009755/0.2199, allocations: 0.7792 MB / 351.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009442/0.2208, allocations: 224 kB / 351.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.2246, allocations: 2.61 MB / 354.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.2251, allocations: 0.7887 MB / 355.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003652/0.2255, allocations: 168 kB / 355.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.2256, allocations: 56.5 kB / 355.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of SimCode: time 1.453e-06/0.2256, allocations: 0 / 355.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of Templates: time 0.02517/0.2508, allocations: 17.21 MB / 372.6 MB, free: 10.61 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.933433309197426]