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.00184/0.00184, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002242/0.002242, allocations: 214.8 kB / 24.49 MB, free: 3.938 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.001559/0.001559, allocations: 47.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2191, allocations: 53.37 MB / 432.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005127/0.2242, allocations: 3.46 MB / 435.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.2261, allocations: 1.044 MB / 436.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.2263, allocations: 19.88 kB / 436.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.2266, allocations: 107.1 kB / 437 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007201/0.2273, allocations: 242.6 kB / 437.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.2277, allocations: 167.7 kB / 437.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.2287, allocations: 0.9612 MB / 438.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005567/0.2293, allocations: 351.5 kB / 438.7 MB, free: 380 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004792/0.2298, allocations: 426.6 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006263/0.2304, allocations: 0.5019 MB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.2305, allocations: 104 kB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.2307, allocations: 104 kB / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.231, allocations: 287.1 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004123/0.2314, allocations: 390.2 kB / 440.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.2327, allocations: 1.314 MB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2327, allocations: 0 / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2327, allocations: 0 / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.2327, allocations: 4 kB / 441.8 MB, free: 13.27 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.002309/0.235, allocations: 1.333 MB / 443.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.235, allocations: 8.031 kB / 443.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004468/0.2355, allocations: 124.3 kB / 443.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.2366, allocations: 0.6009 MB / 443.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/0.2367, allocations: 49.25 kB / 443.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.2368, allocations: 64 kB / 444 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.2384, allocations: 0.944 MB / 444.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.2384, allocations: 3.953 kB / 444.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.558e-05/0.2385, allocations: 28 kB / 444.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.677e-05/0.2385, allocations: 33.3 kB / 445 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.2399, allocations: 0.7936 MB / 445.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005749/0.2457, allocations: 2.421 MB / 448.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.247, allocations: 0.489 MB / 448.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008828/0.2479, allocations: 309.3 kB / 449 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.2479, allocations: 4.328 kB / 449 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009656/0.2489, allocations: 407.6 kB / 449.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.554e-06/0.2489, allocations: 0 / 449.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.004212/0.2531, allocations: 1.119 MB / 450.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/0.2532, allocations: 118.6 kB / 450.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008366/0.254, allocations: 0.5722 MB / 451.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.079e-05/0.2541, allocations: 37.64 kB / 451.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/0.2545, allocations: 372.6 kB / 451.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.2547, allocations: 142.8 kB / 451.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.2549, allocations: 94.14 kB / 451.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002689/0.2552, allocations: 362.8 kB / 452.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/0.2558, allocations: 220.8 kB / 452.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008182/0.2566, allocations: 386.8 kB / 452.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.2579, allocations: 0.566 MB / 453.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.2579, allocations: 3.938 kB / 453.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001966/0.2599, allocations: 0.7434 MB / 454.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.2599, allocations: 8 kB / 454.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.2599, allocations: 4.5 kB / 454.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007596/0.2607, allocations: 208.6 kB / 454.3 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.2612, allocations: 71.89 kB / 454.4 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004735/0.2659, allocations: 2.789 MB / 457.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005102/0.2664, allocations: 55.75 kB / 457.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.2665, allocations: 16 kB / 457.2 MB, free: 13.3 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.0005618/0.267, allocations: 333.5 kB / 457.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.2672, allocations: 51.67 kB / 457.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.2674, allocations: 77.39 kB / 457.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2674, allocations: 0 / 457.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2674, allocations: 0 / 457.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004104/0.2678, allocations: 123.5 kB / 457.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.2679, allocations: 11.94 kB / 457.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.2683, allocations: 27.97 kB / 457.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.2685, allocations: 39.92 kB / 457.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0022/0.2707, allocations: 0.9065 MB / 458.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001603/0.2723, allocations: 1.124 MB / 459.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004377/0.2727, allocations: 252.1 kB / 460.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004976/0.2732, allocations: 410.8 kB / 460.6 MB, free: 9.934 MB / 366.1 MB Notification: Performance of Backend: time 4.51e-07/0.2732, allocations: 0 / 460.6 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.2746, allocations: 0.5996 MB / 461.2 MB, free: 9.312 MB / 366.1 MB Notification: Performance of SimCode: time 0.002621/0.2772, allocations: 1.938 MB / 463.1 MB, free: 7.324 MB / 366.1 MB Notification: Performance of Templates: time 0.01873/0.2959, allocations: 11.08 MB / 474.2 MB, free: 12.46 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/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_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.527960464998614]