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.00127/0.00127, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001366/0.001366, allocations: 189.2 kB / 24.47 MB, free: 4.168 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.441/1.441, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.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 0.001683/0.001683, allocations: 51.92 kB / 371.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2564, allocations: 52.17 MB / 423.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.007053/0.2635, allocations: 4.618 MB / 428.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003057/0.2666, allocations: 1.234 MB / 429.7 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007781/0.2673, allocations: 35.75 kB / 429.8 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005972/0.2679, allocations: 166.7 kB / 429.9 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.2693, allocations: 370 kB / 430.3 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005806/0.2699, allocations: 187.7 kB / 430.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002228/0.2721, allocations: 1.607 MB / 432.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.2732, allocations: 0.5833 MB / 432.7 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.2745, allocations: 0.6931 MB / 433.4 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.2763, allocations: 0.8756 MB / 434.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004411/0.2768, allocations: 180 kB / 434.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000537/0.2773, allocations: 172 kB / 434.6 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005702/0.2779, allocations: 486.5 kB / 435.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.279, allocations: 0.7971 MB / 435.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002425/0.2814, allocations: 2.255 MB / 438.1 MB, free: 408 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2814, allocations: 0 / 438.1 MB, free: 408 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2814, allocations: 0 / 438.1 MB, free: 408 kB / 334.1 MB Notification: Performance of Transformations before backend: time 4.353e-05/0.2814, allocations: 0 / 438.1 MB, free: 408 kB / 334.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.003995/0.2854, allocations: 2.034 MB / 440.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.2855, allocations: 8.031 kB / 440.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/0.2857, allocations: 160 kB / 440.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.2876, allocations: 0.9358 MB / 441.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.314e-05/0.2877, allocations: 86.42 kB / 441.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.2879, allocations: 104.1 kB / 441.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.2907, allocations: 1.557 MB / 443 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.2907, allocations: 3.984 kB / 443 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.2908, allocations: 44 kB / 443 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.579e-05/0.2909, allocations: 42.05 kB / 443.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.2934, allocations: 1.44 MB / 444.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00833/0.3017, allocations: 4.826 MB / 449.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.3034, allocations: 0.9412 MB / 450.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.3047, allocations: 0.6885 MB / 451 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.695e-05/0.3048, allocations: 4.656 kB / 451 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/0.3059, allocations: 0.6162 MB / 451.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.605e-06/0.3059, allocations: 0 / 451.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.00638/0.3122, allocations: 2.344 MB / 453.9 MB, free: 216 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.99e-05/0.3123, allocations: 89.75 kB / 454 MB, free: 108 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.314, allocations: 0.9344 MB / 455 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.05e-05/0.3141, allocations: 41.7 kB / 455 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000568/0.3146, allocations: 0.5396 MB / 455.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.3149, allocations: 238 kB / 455.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.3152, allocations: 134.6 kB / 455.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3153, allocations: 334 kB / 456.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007892/0.3161, allocations: 413.7 kB / 456.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008718/0.317, allocations: 0.5525 MB / 457.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.3186, allocations: 0.9444 MB / 458.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.3186, allocations: 7.938 kB / 458.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00245/0.321, allocations: 1.287 MB / 459.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.3211, allocations: 11.94 kB / 459.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.3211, allocations: 4 kB / 459.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.3221, allocations: 403.1 kB / 459.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/0.3227, allocations: 115.8 kB / 460 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00618/0.3289, allocations: 4.398 MB / 464.4 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006685/0.3295, allocations: 83.64 kB / 464.4 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.187e-05/0.3296, allocations: 24 kB / 464.5 MB, free: 5.402 MB / 366.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.0008982/0.3305, allocations: 495.1 kB / 464.9 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.3308, allocations: 107.3 kB / 465 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.3311, allocations: 116.5 kB / 465.2 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.3311, allocations: 4 kB / 465.2 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3311, allocations: 0 / 465.2 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.3311, allocations: 7.984 kB / 465.2 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00473/0.3358, allocations: 2.563 MB / 467.7 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3358, allocations: 0 / 467.7 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/0.3363, allocations: 83.88 kB / 467.8 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009279/0.3372, allocations: 388.5 kB / 468.2 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.229e-05/0.3373, allocations: 23.92 kB / 468.2 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00614/0.3434, allocations: 4.367 MB / 472.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3434, allocations: 0 / 472.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003556/0.347, allocations: 1.948 MB / 474.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006732/0.3477, allocations: 215.2 kB / 474.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.3479, allocations: 12 kB / 474.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/0.3484, allocations: 47.94 kB / 474.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.3487, allocations: 80.5 kB / 474.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.682e-05/0.3487, allocations: 24 kB / 474.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001149/0.3499, allocations: 0.6707 MB / 475.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3499, allocations: 0 / 475.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00117/0.3511, allocations: 355.2 kB / 475.9 MB, free: 9.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.0002226/0.3513, allocations: 139.3 kB / 476.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002473/0.3537, allocations: 1.245 MB / 477.3 MB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.3538, allocations: 0 / 477.3 MB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.3552, allocations: 0.7873 MB / 478.1 MB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.3565, allocations: 243 kB / 478.3 MB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005755/0.3623, allocations: 2.669 MB / 481 MB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/0.3635, allocations: 1.362 MB / 482.4 MB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.3638, allocations: 63.42 kB / 482.4 MB, free: 3.141 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3638, allocations: 0 / 482.4 MB, free: 3.141 MB / 382.1 MB Notification: Performance of Templates: time 0.03517/0.3989, allocations: 22.1 MB / 0.4927 GB, free: 13.1 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/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: 9.320244581904262]