Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001698/0.001698, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 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.002109/0.002109, allocations: 205.4 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 47.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2757, allocations: 53.37 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005245/0.2809, allocations: 3.442 MB / 435 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.2832, allocations: 1.052 MB / 436.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.2834, allocations: 19.81 kB / 436.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.2837, allocations: 111.1 kB / 436.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007441/0.2844, allocations: 246.6 kB / 436.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.2848, allocations: 159.7 kB / 436.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.2858, allocations: 0.9612 MB / 437.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005424/0.2863, allocations: 355.5 kB / 437.9 MB, free: 332 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000552/0.2869, allocations: 426.5 kB / 438.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007041/0.2876, allocations: 0.502 MB / 438.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.2877, allocations: 104 kB / 438.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.288, allocations: 108 kB / 439 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.2882, allocations: 283.1 kB / 439.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004381/0.2887, allocations: 386.3 kB / 439.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.29, allocations: 1.31 MB / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.29, allocations: 3.938 kB / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.29, allocations: 0 / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.29, allocations: 0 / 441 MB, free: 13.23 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002516/0.2926, allocations: 1.337 MB / 442.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2926, allocations: 8.031 kB / 442.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004308/0.293, allocations: 132.3 kB / 442.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.2942, allocations: 0.5853 MB / 443.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.192e-05/0.2942, allocations: 57.25 kB / 443.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.2943, allocations: 75.92 kB / 443.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.296, allocations: 0.944 MB / 444.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.296, allocations: 7.938 kB / 444.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.808e-05/0.2961, allocations: 24 kB / 444.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.081e-05/0.2961, allocations: 33.31 kB / 444.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.2975, allocations: 0.7897 MB / 445 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004345/0.3019, allocations: 2.433 MB / 447.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009989/0.3029, allocations: 488.8 kB / 447.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006219/0.3035, allocations: 309.3 kB / 448.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.484e-05/0.3035, allocations: 12.33 kB / 448.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007385/0.3043, allocations: 395.6 kB / 448.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.144e-06/0.3043, allocations: 0 / 448.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002861/0.3071, allocations: 1.115 MB / 449.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.3072, allocations: 118.6 kB / 449.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/0.3081, allocations: 0.5722 MB / 450.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/0.3082, allocations: 29.7 kB / 450.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/0.3086, allocations: 380.6 kB / 450.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.3087, allocations: 150.8 kB / 451 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.3089, allocations: 90.14 kB / 451.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.3091, allocations: 370.8 kB / 451.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/0.3095, allocations: 212.9 kB / 451.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/0.31, allocations: 386.8 kB / 452 MB, free: 1.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008872/0.3109, allocations: 0.5738 MB / 452.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3109, allocations: 4 kB / 452.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001314/0.3122, allocations: 0.7437 MB / 453.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.3123, allocations: 8 kB / 453.3 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3123, allocations: 4 kB / 453.3 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000528/0.3128, allocations: 204.7 kB / 453.5 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.3131, allocations: 76.02 kB / 453.6 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003467/0.3166, allocations: 2.773 MB / 456.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.317, allocations: 55.72 kB / 456.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.317, allocations: 27.92 kB / 456.5 MB, free: 13.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005678/0.3176, allocations: 333.5 kB / 456.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.471e-05/0.3177, allocations: 59.67 kB / 456.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.3178, allocations: 65.41 kB / 456.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.3178, allocations: 7.984 kB / 456.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3178, allocations: 0 / 456.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3178, allocations: 0 / 456.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.3202, allocations: 1.444 MB / 458.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.3202, allocations: 0 / 458.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.3204, allocations: 47.91 kB / 458.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000496/0.3209, allocations: 208.8 kB / 458.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.3209, allocations: 12 kB / 458.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003292/0.3242, allocations: 2.758 MB / 461.4 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3242, allocations: 0 / 461.4 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.326, allocations: 1.096 MB / 462.5 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/0.3263, allocations: 123.5 kB / 462.6 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/0.3264, allocations: 4 kB / 462.6 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.3266, allocations: 31.91 kB / 462.6 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.3268, allocations: 51.7 kB / 462.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.3268, allocations: 19.98 kB / 462.7 MB, free: 6.816 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005395/0.3273, allocations: 418.8 kB / 463.1 MB, free: 6.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3273, allocations: 0 / 463.1 MB, free: 6.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000757/0.3281, allocations: 199.5 kB / 463.3 MB, free: 6.215 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001661/0.3283, allocations: 123.4 kB / 463.4 MB, free: 6.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.3296, allocations: 0.7011 MB / 464.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3296, allocations: 0 / 464.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00073/0.3303, allocations: 467.3 kB / 464.6 MB, free: 4.902 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007034/0.331, allocations: 143.8 kB / 464.7 MB, free: 4.766 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.3337, allocations: 1.483 MB / 466.2 MB, free: 3.254 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/0.3342, allocations: 482.1 kB / 466.7 MB, free: 2.758 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002544/0.3345, allocations: 100.7 kB / 466.8 MB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.3346, allocations: 39.44 kB / 466.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of SimCode: time 5.82e-07/0.3346, allocations: 0 / 466.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of Templates: time 0.0192/0.3538, allocations: 10.64 MB / 477.5 MB, free: 8.203 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.898429377004504]