Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 51.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2549, allocations: 52.14 MB / 420.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.00538/0.2602, allocations: 3.72 MB / 424.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.2622, allocations: 1.013 MB / 425.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/0.2624, allocations: 15.94 kB / 425.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.2627, allocations: 111.1 kB / 425.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006938/0.2634, allocations: 234.7 kB / 426 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.2636, allocations: 143.7 kB / 426.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009646/0.2646, allocations: 0.9495 MB / 427.1 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004947/0.2651, allocations: 346.9 kB / 427.4 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004288/0.2655, allocations: 410.6 kB / 427.8 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000629/0.2662, allocations: 0.4942 MB / 428.3 MB, free: 7.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.2663, allocations: 104 kB / 428.4 MB, free: 7.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.2664, allocations: 100 kB / 428.5 MB, free: 7.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.2667, allocations: 279.1 kB / 428.8 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004604/0.2672, allocations: 473.8 kB / 429.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.2684, allocations: 1.294 MB / 430.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2684, allocations: 0 / 430.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2684, allocations: 4 kB / 430.5 MB, free: 5.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.2684, allocations: 0 / 430.5 MB, free: 5.566 MB / 334.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.002074/0.2705, allocations: 1.192 MB / 431.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2705, allocations: 8.031 kB / 431.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.2707, allocations: 92.38 kB / 431.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009357/0.2716, allocations: 0.6357 MB / 432.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.2717, allocations: 53.23 kB / 432.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.2718, allocations: 67.98 kB / 432.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.2732, allocations: 0.9267 MB / 433.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.2733, allocations: 3.938 kB / 433.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.032e-05/0.2733, allocations: 24 kB / 433.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.755e-05/0.2734, allocations: 33.31 kB / 433.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.2747, allocations: 0.7897 MB / 434.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0039/0.2786, allocations: 2.781 MB / 437.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00096/0.2796, allocations: 0.7215 MB / 437.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/0.2801, allocations: 309.3 kB / 438.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.2802, allocations: 4.328 kB / 438.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006355/0.2808, allocations: 385.9 kB / 438.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/0.2808, allocations: 0 / 438.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002805/0.2836, allocations: 1.221 MB / 439.8 MB, free: 12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.561e-05/0.2837, allocations: 114.8 kB / 439.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006874/0.2844, allocations: 0.5682 MB / 440.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.2844, allocations: 37.7 kB / 440.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.2847, allocations: 356.7 kB / 440.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.2848, allocations: 150.8 kB / 441 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.285, allocations: 86.25 kB / 441.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.2851, allocations: 370.7 kB / 441.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.2855, allocations: 221 kB / 441.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005854/0.2861, allocations: 361.7 kB / 442 MB, free: 9.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008438/0.2869, allocations: 0.5652 MB / 442.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2869, allocations: 4 kB / 442.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001249/0.2882, allocations: 0.751 MB / 443.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.2882, allocations: 8 kB / 443.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.2882, allocations: 8.484 kB / 443.3 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005115/0.2887, allocations: 208.7 kB / 443.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.289, allocations: 71.84 kB / 443.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003658/0.2927, allocations: 3.033 MB / 446.6 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.293, allocations: 55.75 kB / 446.7 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.293, allocations: 20 kB / 446.7 MB, free: 4.723 MB / 350.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[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004064/0.2934, allocations: 325.5 kB / 447 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.979e-05/0.2935, allocations: 55.67 kB / 447.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.2937, allocations: 77.27 kB / 447.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2937, allocations: 4 kB / 447.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2937, allocations: 0 / 447.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2937, allocations: 0 / 447.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002716/0.2964, allocations: 1.745 MB / 448.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2964, allocations: 0 / 448.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.2966, allocations: 51.89 kB / 448.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.297, allocations: 196.7 kB / 449.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.2971, allocations: 11.94 kB / 449.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003263/0.3003, allocations: 2.911 MB / 452.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3003, allocations: 3.938 kB / 452.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.3022, allocations: 1.139 MB / 453.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.3025, allocations: 192.6 kB / 453.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.587e-05/0.3026, allocations: 12 kB / 453.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.3028, allocations: 23.97 kB / 453.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.303, allocations: 51.81 kB / 453.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.303, allocations: 19.98 kB / 453.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005469/0.3036, allocations: 410.8 kB / 453.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3036, allocations: 0 / 453.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007405/0.3043, allocations: 207.5 kB / 454.1 MB, free: 13.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (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.0001695/0.3045, allocations: 116.6 kB / 454.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.3058, allocations: 0.7209 MB / 454.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.3058, allocations: 5 kB / 454.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006969/0.3065, allocations: 466.1 kB / 455.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006801/0.3072, allocations: 161.1 kB / 455.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.31, allocations: 1.56 MB / 457.1 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007223/0.3107, allocations: 1.074 MB / 458.2 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002409/0.311, allocations: 96.72 kB / 458.3 MB, free: 8.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.3111, allocations: 39.42 kB / 458.3 MB, free: 8.754 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3111, allocations: 4 kB / 458.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of Templates: time 0.01775/0.3288, allocations: 10.37 MB / 468.7 MB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.629904399625957]