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.001372/0.001372, allocations: 111.6 kB / 21.19 MB, free: 0.6641 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.00147/0.00147, allocations: 219.4 kB / 24.48 MB, free: 3.965 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.424/1.424, allocations: 230.5 MB / 258.1 MB, free: 7.762 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.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 0.001965/0.001965, allocations: 63.89 kB / 379 MB, free: 2.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2499, allocations: 53.41 MB / 432.4 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006562/0.2564, allocations: 4.2 MB / 436.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002596/0.259, allocations: 1.266 MB / 437.9 MB, free: 1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003386/0.2594, allocations: 31.75 kB / 437.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004009/0.2598, allocations: 174.6 kB / 438.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009697/0.2608, allocations: 366 kB / 438.4 MB, free: 448 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.2612, allocations: 219.6 kB / 438.7 MB, free: 228 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001852/0.2631, allocations: 1.646 MB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008689/0.2639, allocations: 0.5599 MB / 440.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009508/0.2649, allocations: 0.7243 MB / 441.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.2661, allocations: 0.8679 MB / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.2664, allocations: 180 kB / 442.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.2667, allocations: 179.9 kB / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004561/0.2672, allocations: 494.5 kB / 443.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007287/0.2679, allocations: 0.6418 MB / 443.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.2701, allocations: 2.292 MB / 446.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2702, allocations: 4 kB / 446.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2702, allocations: 4 kB / 446.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.406e-05/0.2702, allocations: 0 / 446.2 MB, free: 8.59 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003742/0.2739, allocations: 2.061 MB / 448.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.274, allocations: 15.98 kB / 448.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007806/0.2747, allocations: 215.9 kB / 448.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/0.2767, allocations: 0.9749 MB / 449.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.352e-05/0.2767, allocations: 78.38 kB / 449.6 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.2769, allocations: 112.1 kB / 449.7 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/0.2796, allocations: 1.574 MB / 451.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.2797, allocations: 0 / 451.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.2798, allocations: 47.98 kB / 451.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.639e-05/0.2798, allocations: 53.97 kB / 451.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.2824, allocations: 1.425 MB / 452.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007364/0.2897, allocations: 4.327 MB / 457.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.2913, allocations: 0.9254 MB / 458 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.2926, allocations: 0.6768 MB / 458.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.467e-05/0.2927, allocations: 8.656 kB / 458.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/0.2937, allocations: 0.6374 MB / 459.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.815e-06/0.2937, allocations: 3.938 kB / 459.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006145/0.2999, allocations: 2.352 MB / 461.7 MB, free: 8.754 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/0.3, allocations: 97.73 kB / 461.8 MB, free: 8.641 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.3014, allocations: 0.9228 MB / 462.7 MB, free: 7.707 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.947e-05/0.3015, allocations: 45.69 kB / 462.8 MB, free: 7.656 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005261/0.302, allocations: 0.5396 MB / 463.3 MB, free: 7.109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.3022, allocations: 249.9 kB / 463.5 MB, free: 6.863 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.3024, allocations: 126.7 kB / 463.7 MB, free: 6.734 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3026, allocations: 334 kB / 464 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007636/0.3034, allocations: 417.7 kB / 464.4 MB, free: 5.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009178/0.3043, allocations: 0.5776 MB / 465 MB, free: 5.359 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.3059, allocations: 0.9522 MB / 465.9 MB, free: 4.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3059, allocations: 0 / 465.9 MB, free: 4.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002428/0.3083, allocations: 1.287 MB / 467.2 MB, free: 3.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.3083, allocations: 8 kB / 467.2 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.3083, allocations: 4 kB / 467.2 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009455/0.3093, allocations: 403.1 kB / 467.6 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/0.3098, allocations: 111.8 kB / 467.7 MB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005991/0.3158, allocations: 4.321 MB / 472.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006555/0.3164, allocations: 75.64 kB / 472.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/0.3165, allocations: 28 kB / 472.2 MB, free: 14.02 MB / 382.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_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.0008218/0.3173, allocations: 499.2 kB / 472.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.3175, allocations: 103.3 kB / 472.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.3178, allocations: 124.5 kB / 472.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3178, allocations: 4 kB / 472.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3178, allocations: 4 kB / 472.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.3178, allocations: 3.984 kB / 472.9 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004179/0.322, allocations: 2.278 MB / 475.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.322, allocations: 0 / 475.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004257/0.3224, allocations: 83.88 kB / 475.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000853/0.3233, allocations: 388.7 kB / 475.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.3233, allocations: 16 kB / 475.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005951/0.3293, allocations: 4.295 MB / 479.9 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.3293, allocations: 7.922 kB / 479.9 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003309/0.3326, allocations: 1.94 MB / 481.9 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006675/0.3333, allocations: 227.1 kB / 482.1 MB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.3334, allocations: 16 kB / 482.1 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.3339, allocations: 39.95 kB / 482.2 MB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.3341, allocations: 80.5 kB / 482.2 MB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.3342, allocations: 23.98 kB / 482.3 MB, free: 3.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001099/0.3353, allocations: 0.6629 MB / 482.9 MB, free: 3.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3353, allocations: 0 / 482.9 MB, free: 3.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001092/0.3364, allocations: 355.1 kB / 483.3 MB, free: 2.73 MB / 382.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_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.0002225/0.3366, allocations: 133.3 kB / 483.4 MB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002349/0.3389, allocations: 1.238 MB / 484.6 MB, free: 1.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3389, allocations: 0 / 484.6 MB, free: 1.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.3403, allocations: 0.7877 MB / 485.4 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.3413, allocations: 242.8 kB / 485.7 MB, free: 312 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005354/0.3467, allocations: 2.692 MB / 488.4 MB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.3477, allocations: 0.7726 MB / 489.1 MB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.3479, allocations: 63.42 kB / 489.2 MB, free: 12.71 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3479, allocations: 4 kB / 489.2 MB, free: 12.7 MB / 398.1 MB Notification: Performance of Templates: time 0.03498/0.3829, allocations: 22.72 MB / 0.4999 GB, free: 6.035 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/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: 9.309764731209725]