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.001357/0.001357, allocations: 81.58 kB / 20.68 MB, free: 1.027 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.001465/0.001465, allocations: 151.4 kB / 23.94 MB, free: 4.164 MB / 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.43/1.43, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.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 1.553e-06/1.553e-06, allocations: 0 / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.369e-05, allocations: 2.281 kB / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.00409/0.004114, allocations: 3.408 MB / 322.4 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.005882, allocations: 0.9737 MB / 323.3 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.006098, allocations: 16.12 kB / 323.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.006367, allocations: 114.9 kB / 323.5 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007196/0.007087, allocations: 248.3 kB / 323.7 MB, free: 388 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.007361, allocations: 144.4 kB / 323.8 MB, free: 300 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009745/0.008336, allocations: 0.9798 MB / 324.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005428/0.008878, allocations: 329.8 kB / 325.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007976/0.009676, allocations: 0.5961 MB / 325.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007398/0.01042, allocations: 449.4 kB / 326.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.01056, allocations: 100.5 kB / 326.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.01073, allocations: 100.2 kB / 326.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003077/0.01103, allocations: 289.9 kB / 326.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004252/0.01146, allocations: 331.9 kB / 327 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.01299, allocations: 1.306 MB / 328.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.013, allocations: 1.312 kB / 328.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.013, allocations: 0 / 328.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.01302, allocations: 0 / 328.3 MB, free: 14.38 MB / 302.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.0027/0.01572, allocations: 1.31 MB / 329.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.01577, allocations: 11.08 kB / 329.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.01597, allocations: 98.66 kB / 329.7 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.01715, allocations: 0.581 MB / 330.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.0172, allocations: 49.16 kB / 330.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.01733, allocations: 62.94 kB / 330.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.01917, allocations: 0.9484 MB / 331.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.01921, allocations: 7.938 kB / 331.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.737e-05/0.01929, allocations: 30.34 kB / 331.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-05/0.01934, allocations: 31.73 kB / 331.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.02096, allocations: 0.7914 MB / 332.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004253/0.02521, allocations: 2.404 MB / 334.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009377/0.02615, allocations: 0.5036 MB / 335.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006311/0.02678, allocations: 312.2 kB / 335.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.02682, allocations: 4.547 kB / 335.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006656/0.02748, allocations: 403.3 kB / 335.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/0.02748, allocations: 4 kB / 335.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002997/0.03048, allocations: 1.121 MB / 336.9 MB, free: 8.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.03056, allocations: 108.1 kB / 337 MB, free: 8.785 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006808/0.03124, allocations: 0.5542 MB / 337.6 MB, free: 8.453 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/0.03129, allocations: 36.3 kB / 337.6 MB, free: 8.414 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.0316, allocations: 358.2 kB / 338 MB, free: 8.102 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.03173, allocations: 145.8 kB / 338.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.03188, allocations: 90.39 kB / 338.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.03207, allocations: 362.3 kB / 338.6 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.03247, allocations: 221.8 kB / 338.8 MB, free: 7.457 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/0.03302, allocations: 382 kB / 339.2 MB, free: 7.094 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009259/0.03395, allocations: 0.5653 MB / 339.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.03395, allocations: 0 / 339.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001332/0.03528, allocations: 0.7431 MB / 340.5 MB, free: 5.719 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.0353, allocations: 11.12 kB / 340.5 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.03531, allocations: 4.5 kB / 340.5 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005593/0.03587, allocations: 208.6 kB / 340.7 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.03619, allocations: 79.77 kB / 340.8 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003439/0.03963, allocations: 2.777 MB / 343.5 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/0.04, allocations: 51.8 kB / 343.6 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.04004, allocations: 16 kB / 343.6 MB, free: 2.48 MB / 302.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.0004335/0.04048, allocations: 341.4 kB / 343.9 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.04058, allocations: 59.62 kB / 344 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.04072, allocations: 73.12 kB / 344.1 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.04073, allocations: 4 kB / 344.1 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.04073, allocations: 0 / 344.1 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.04074, allocations: 3.938 kB / 344.1 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.04305, allocations: 1.428 MB / 345.5 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.04305, allocations: 4.031 kB / 345.5 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.04331, allocations: 51.95 kB / 345.6 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004519/0.04376, allocations: 184.7 kB / 345.7 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.0438, allocations: 19.86 kB / 345.8 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003455/0.04725, allocations: 2.77 MB / 348.5 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.04726, allocations: 3.938 kB / 348.5 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.0491, allocations: 1.097 MB / 349.6 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.04937, allocations: 123.5 kB / 349.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.822e-05/0.04945, allocations: 8 kB / 349.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.04975, allocations: 27.97 kB / 349.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.04989, allocations: 39.92 kB / 349.8 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.04993, allocations: 19.98 kB / 349.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005295/0.05046, allocations: 402.8 kB / 350.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.05046, allocations: 0 / 350.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007743/0.05123, allocations: 211.5 kB / 350.4 MB, free: 11.45 MB / 318.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.0001783/0.05141, allocations: 123.2 kB / 350.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.05275, allocations: 0.7056 MB / 351.3 MB, free: 10.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.05275, allocations: 4 kB / 351.3 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007674/0.05352, allocations: 458 kB / 351.7 MB, free: 10.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007229/0.05424, allocations: 134.5 kB / 351.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.05677, allocations: 1.426 MB / 353.3 MB, free: 8.559 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.0573, allocations: 478.1 kB / 353.7 MB, free: 8.066 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000251/0.05755, allocations: 88.64 kB / 353.8 MB, free: 7.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.05767, allocations: 48.48 kB / 353.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.05767, allocations: 0 / 353.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of Templates: time 0.01769/0.07536, allocations: 9.528 MB / 363.4 MB, free: 14.61 MB / 334.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.411552514880896]