Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.001308/0.001308, allocations: 81.58 kB / 20.68 MB, free: 1.023 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.001355/0.001355, allocations: 151.1 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.422/1.422, allocations: 173.3 MB / 200.4 MB, free: 12.87 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.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.477e-05, allocations: 6.281 kB / 319 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004446/0.004471, allocations: 4.149 MB / 323.1 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.006569, allocations: 1.189 MB / 324.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004722/0.007041, allocations: 28.72 kB / 324.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.007487, allocations: 173.2 kB / 324.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.008702, allocations: 388.6 kB / 324.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.009184, allocations: 189.2 kB / 325.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00182/0.011, allocations: 1.665 MB / 326.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008553/0.01186, allocations: 0.5674 MB / 327.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.01318, allocations: 1.006 MB / 328.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.01448, allocations: 0.7831 MB / 329.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000246/0.01473, allocations: 176 kB / 329.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.01503, allocations: 176.1 kB / 329.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005796/0.01561, allocations: 499.1 kB / 329.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007436/0.01635, allocations: 0.5463 MB / 330.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.01896, allocations: 2.303 MB / 332.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.01897, allocations: 1.125 kB / 332.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01897, allocations: 0 / 332.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.747e-05/0.01899, allocations: 0 / 332.8 MB, free: 11.58 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003997/0.02299, allocations: 2.021 MB / 334.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.02303, allocations: 10.14 kB / 334.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/0.02333, allocations: 162.8 kB / 334.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.02494, allocations: 0.9338 MB / 335.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/0.02501, allocations: 81.06 kB / 336 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.02518, allocations: 101.1 kB / 336.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/0.02791, allocations: 1.586 MB / 337.6 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.02795, allocations: 8.891 kB / 337.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.02807, allocations: 45.25 kB / 337.7 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-05/0.02813, allocations: 41.45 kB / 337.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/0.03071, allocations: 1.437 MB / 339.2 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007282/0.03799, allocations: 4.307 MB / 343.5 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.03962, allocations: 0.9451 MB / 344.4 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/0.04097, allocations: 0.6809 MB / 345.1 MB, free: 1.152 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.04102, allocations: 8.656 kB / 345.1 MB, free: 1.145 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.04214, allocations: 0.6374 MB / 345.8 MB, free: 496 kB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 4.468e-06/0.04214, allocations: 7.984 kB / 345.8 MB, free: 488 kB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.006512/0.04865, allocations: 2.348 MB / 348.1 MB, free: 14.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.364e-05/0.04874, allocations: 89.77 kB / 348.2 MB, free: 14.01 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.05034, allocations: 0.903 MB / 349.1 MB, free: 13.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.233e-05/0.05043, allocations: 41.69 kB / 349.1 MB, free: 13.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006092/0.05104, allocations: 0.528 MB / 349.7 MB, free: 12.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/0.05129, allocations: 245.9 kB / 349.9 MB, free: 12.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.05154, allocations: 126.7 kB / 350 MB, free: 12.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.05172, allocations: 334 kB / 350.4 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007649/0.05248, allocations: 413.7 kB / 350.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009071/0.05339, allocations: 0.5776 MB / 351.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.05507, allocations: 0.9444 MB / 352.3 MB, free: 9.766 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.05508, allocations: 4 kB / 352.3 MB, free: 9.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002479/0.05756, allocations: 1.287 MB / 353.6 MB, free: 8.465 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.05758, allocations: 8 kB / 353.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.05759, allocations: 4 kB / 353.6 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.05861, allocations: 399.1 kB / 354 MB, free: 8.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005353/0.05915, allocations: 119.8 kB / 354.1 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006201/0.06535, allocations: 4.314 MB / 358.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006908/0.06604, allocations: 83.64 kB / 358.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-05/0.06611, allocations: 27.98 kB / 358.5 MB, free: 3.41 MB / 318.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.0008469/0.06696, allocations: 495.4 kB / 359 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.06717, allocations: 91.44 kB / 359.1 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.06747, allocations: 116.2 kB / 359.2 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.06748, allocations: 4 kB / 359.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.06748, allocations: 7.875 kB / 359.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.06749, allocations: 11.98 kB / 359.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004609/0.0721, allocations: 2.259 MB / 361.5 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.07211, allocations: 0 / 361.5 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/0.07258, allocations: 91.88 kB / 361.6 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00095/0.07353, allocations: 388.7 kB / 362 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/0.07358, allocations: 12 kB / 362 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006138/0.07972, allocations: 4.305 MB / 366.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.07972, allocations: 0 / 366.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003446/0.08317, allocations: 1.94 MB / 368.2 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006103/0.08378, allocations: 219.2 kB / 368.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.08398, allocations: 15.94 kB / 368.4 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005372/0.08452, allocations: 43.95 kB / 368.5 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/0.08474, allocations: 84.5 kB / 368.6 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.664e-05/0.0848, allocations: 19.98 kB / 368.6 MB, free: 9.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00112/0.08592, allocations: 0.6434 MB / 369.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08592, allocations: 0 / 369.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001138/0.08706, allocations: 355.2 kB / 369.6 MB, free: 8.172 MB / 334.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.0002198/0.08728, allocations: 127.2 kB / 369.7 MB, free: 8.039 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002476/0.08976, allocations: 1.25 MB / 370.9 MB, free: 6.773 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.08976, allocations: 4 kB / 371 MB, free: 6.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001419/0.09118, allocations: 0.7757 MB / 371.7 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.09245, allocations: 235.2 kB / 372 MB, free: 5.754 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/0.09816, allocations: 2.612 MB / 374.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.09925, allocations: 0.7902 MB / 375.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005155/0.09976, allocations: 175 kB / 375.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.09997, allocations: 56.5 kB / 375.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of SimCode: time 7.92e-07/0.09997, allocations: 0 / 375.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of Templates: time 0.03205/0.132, allocations: 17.22 MB / 392.8 MB, free: 1.098 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.928789481520653]