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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 104 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 194.6 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] 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.001491/0.001491, allocations: 55.91 kB / 369.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2504, allocations: 52.13 MB / 421.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005678/0.256, allocations: 3.695 MB / 425 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.2583, allocations: 1.009 MB / 426 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003393/0.2586, allocations: 15.94 kB / 426 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.259, allocations: 115.1 kB / 426.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008406/0.2598, allocations: 230.7 kB / 426.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.2602, allocations: 143.7 kB / 426.5 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.2613, allocations: 0.9573 MB / 427.5 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006273/0.2619, allocations: 434.9 kB / 427.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005874/0.2625, allocations: 418.6 kB / 428.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007589/0.2632, allocations: 0.4942 MB / 428.8 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.2634, allocations: 104 kB / 428.9 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.2636, allocations: 103.9 kB / 429 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.2638, allocations: 279.1 kB / 429.3 MB, free: 7.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005124/0.2643, allocations: 477.8 kB / 429.7 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.2657, allocations: 1.29 MB / 431 MB, free: 5.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2657, allocations: 0 / 431 MB, free: 5.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2657, allocations: 0 / 431 MB, free: 5.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.289e-05/0.2657, allocations: 4 kB / 431 MB, free: 5.395 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.002291/0.268, allocations: 1.192 MB / 432.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.2681, allocations: 8.031 kB / 432.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.2682, allocations: 96.36 kB / 432.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009921/0.2692, allocations: 0.6357 MB / 433 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.2693, allocations: 49.25 kB / 433 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.2694, allocations: 67.98 kB / 433.1 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.271, allocations: 0.9266 MB / 434 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.271, allocations: 0 / 434 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-05/0.2711, allocations: 24 kB / 434 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/0.2711, allocations: 33.3 kB / 434.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.2724, allocations: 0.7936 MB / 434.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004144/0.2766, allocations: 2.777 MB / 437.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009362/0.2775, allocations: 0.7326 MB / 438.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005745/0.2781, allocations: 309.3 kB / 438.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.2781, allocations: 4.328 kB / 438.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000639/0.2788, allocations: 385.8 kB / 439 MB, free: 13.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.364e-06/0.2788, allocations: 0 / 439 MB, free: 13.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002829/0.2816, allocations: 1.22 MB / 440.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.2817, allocations: 114.8 kB / 440.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007525/0.2824, allocations: 0.5682 MB / 440.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.2825, allocations: 37.7 kB / 441 MB, free: 11.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.2828, allocations: 364.6 kB / 441.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.2829, allocations: 142.8 kB / 441.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.283, allocations: 86.25 kB / 441.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.2832, allocations: 366.8 kB / 441.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.2836, allocations: 225 kB / 442.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/0.2841, allocations: 365.7 kB / 442.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008323/0.2849, allocations: 0.5652 MB / 443.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2849, allocations: 0 / 443.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001294/0.2862, allocations: 0.751 MB / 443.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.2862, allocations: 14.91 kB / 443.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.2863, allocations: 4 kB / 443.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005358/0.2868, allocations: 201.2 kB / 444 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.2871, allocations: 79.83 kB / 444.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003592/0.2907, allocations: 3.029 MB / 447.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/0.2911, allocations: 55.89 kB / 447.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.2911, allocations: 19.94 kB / 447.2 MB, free: 4.555 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.0004612/0.2916, allocations: 333.5 kB / 447.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.781e-05/0.2917, allocations: 51.67 kB / 447.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.2918, allocations: 69.27 kB / 447.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2918, allocations: 8 kB / 447.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.2918, allocations: 0 / 447.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.2918, allocations: 3.984 kB / 447.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002633/0.2944, allocations: 1.736 MB / 449.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.2945, allocations: 8 kB / 449.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.2947, allocations: 43.97 kB / 449.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004513/0.2951, allocations: 200.6 kB / 449.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.2952, allocations: 11.98 kB / 449.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003228/0.2984, allocations: 2.912 MB / 452.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2984, allocations: 3.938 kB / 452.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.3003, allocations: 1.141 MB / 453.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.3006, allocations: 196.6 kB / 453.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.247e-05/0.3006, allocations: 15.98 kB / 453.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.3009, allocations: 23.97 kB / 453.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.301, allocations: 47.88 kB / 454 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.3011, allocations: 12 kB / 454 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005326/0.3016, allocations: 418.8 kB / 454.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3016, allocations: 0 / 454.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000711/0.3023, allocations: 207.5 kB / 454.6 MB, free: 12.89 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.0001708/0.3025, allocations: 120.6 kB / 454.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.3038, allocations: 0.7088 MB / 455.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3038, allocations: 5 kB / 455.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007113/0.3045, allocations: 465.9 kB / 455.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006818/0.3052, allocations: 161.5 kB / 456.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.308, allocations: 1.581 MB / 457.6 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006984/0.3087, allocations: 1.066 MB / 458.7 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.3089, allocations: 35.44 kB / 458.7 MB, free: 8.668 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3089, allocations: 0 / 458.7 MB, free: 8.668 MB / 366.1 MB Notification: Performance of Templates: time 0.01739/0.3263, allocations: 12.89 MB / 471.6 MB, free: 11.81 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/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