Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001642/0.001642, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.002171/0.002171, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 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.466/1.466, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 59.89 kB / 379 MB, free: 2.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2564, allocations: 53.41 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.00546/0.2619, allocations: 3.449 MB / 435.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.264, allocations: 1.04 MB / 436.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.2642, allocations: 23.88 kB / 436.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.2644, allocations: 111.1 kB / 437 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006971/0.2651, allocations: 238.6 kB / 437.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.2655, allocations: 159.7 kB / 437.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.2665, allocations: 0.9807 MB / 438.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005088/0.267, allocations: 339.3 kB / 438.7 MB, free: 148 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005588/0.2676, allocations: 438.5 kB / 439.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006858/0.2683, allocations: 0.4942 MB / 439.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.2684, allocations: 103.9 kB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.2686, allocations: 104 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.2689, allocations: 279.2 kB / 440.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000406/0.2693, allocations: 394.2 kB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.2707, allocations: 1.31 MB / 441.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2707, allocations: 0 / 441.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.509e-06/0.2707, allocations: 3.984 kB / 441.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.2707, allocations: 0 / 441.8 MB, free: 13.04 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.002361/0.2731, allocations: 1.326 MB / 443.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2731, allocations: 11.98 kB / 443.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004232/0.2735, allocations: 128.2 kB / 443.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.2747, allocations: 0.6009 MB / 443.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.823e-05/0.2747, allocations: 53.25 kB / 443.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.2748, allocations: 64 kB / 444 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.2763, allocations: 0.944 MB / 445 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.2764, allocations: 7.953 kB / 445 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.471e-05/0.2764, allocations: 31.94 kB / 445 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/0.2765, allocations: 29.3 kB / 445 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.2779, allocations: 0.7936 MB / 445.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003961/0.2818, allocations: 2.425 MB / 448.2 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00085/0.2827, allocations: 484.4 kB / 448.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006192/0.2833, allocations: 324.2 kB / 449 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.2833, allocations: 4.328 kB / 449 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006686/0.284, allocations: 403.7 kB / 449.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.034e-06/0.284, allocations: 0 / 449.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002719/0.2867, allocations: 1.119 MB / 450.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.71e-05/0.2868, allocations: 110.6 kB / 450.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007295/0.2875, allocations: 0.5722 MB / 451.2 MB, free: 3.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.191e-05/0.2876, allocations: 37.7 kB / 451.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.2879, allocations: 368.6 kB / 451.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.288, allocations: 146.8 kB / 451.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.2882, allocations: 90.14 kB / 451.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.2883, allocations: 362.8 kB / 452.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.2887, allocations: 232.9 kB / 452.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005103/0.2892, allocations: 385.5 kB / 452.8 MB, free: 1.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008717/0.2901, allocations: 0.5699 MB / 453.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2901, allocations: 0 / 453.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001278/0.2914, allocations: 0.7477 MB / 454.1 MB, free: 328 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.2914, allocations: 16.02 kB / 454.1 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.2914, allocations: 4 kB / 454.2 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/0.292, allocations: 200.7 kB / 454.3 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.2923, allocations: 75.84 kB / 454.4 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/0.2956, allocations: 2.785 MB / 457.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.296, allocations: 47.8 kB / 457.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.2961, allocations: 19.94 kB / 457.3 MB, free: 13.08 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.0005333/0.2966, allocations: 337.5 kB / 457.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.178e-05/0.2967, allocations: 59.62 kB / 457.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.2968, allocations: 73.39 kB / 457.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2968, allocations: 4 kB / 457.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2969, allocations: 0 / 457.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2969, allocations: 3.984 kB / 457.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.2992, allocations: 1.436 MB / 459.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.2992, allocations: 8 kB / 459.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.2995, allocations: 43.97 kB / 459.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004399/0.2999, allocations: 200.8 kB / 459.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.3, allocations: 11.98 kB / 459.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003245/0.3032, allocations: 2.761 MB / 462.2 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3032, allocations: 0 / 462.2 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.3049, allocations: 1.108 MB / 463.3 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.3052, allocations: 115.6 kB / 463.4 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.3053, allocations: 12 kB / 463.4 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.3056, allocations: 23.97 kB / 463.5 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.3057, allocations: 51.69 kB / 463.5 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.3057, allocations: 12 kB / 463.5 MB, free: 6.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005218/0.3062, allocations: 418.8 kB / 463.9 MB, free: 6.238 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3062, allocations: 4 kB / 463.9 MB, free: 6.234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006971/0.3069, allocations: 203.5 kB / 464.1 MB, free: 6.035 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.0001689/0.3071, allocations: 119.9 kB / 464.2 MB, free: 5.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.3083, allocations: 0.7012 MB / 464.9 MB, free: 5.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3084, allocations: 3.938 kB / 464.9 MB, free: 5.191 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000696/0.309, allocations: 463.2 kB / 465.4 MB, free: 4.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/0.3097, allocations: 146 kB / 465.5 MB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.3122, allocations: 1.508 MB / 467 MB, free: 3.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.3127, allocations: 474.1 kB / 467.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.3128, allocations: 39.44 kB / 467.6 MB, free: 2.516 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3128, allocations: 0 / 467.6 MB, free: 2.516 MB / 366.1 MB Notification: Performance of Templates: time 0.01832/0.3311, allocations: 13.3 MB / 480.8 MB, free: 5.254 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.287143466062844]