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.001679/0.001679, allocations: 120.8 kB / 18.46 MB, free: 4.473 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.001886/0.001886, allocations: 190.9 kB / 21.4 MB, free: 1.535 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.517/1.517, allocations: 225.6 MB / 249.8 MB, free: 3.75 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 0.001497/0.001497, allocations: 51.92 kB / 366.8 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08828/0.08978, allocations: 52.14 MB / 419 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005254/0.09504, allocations: 3.693 MB / 422.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.09686, allocations: 1.005 MB / 423.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.09704, allocations: 19.94 kB / 423.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.0973, allocations: 111.1 kB / 423.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006399/0.09794, allocations: 230.7 kB / 424 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.09823, allocations: 143.7 kB / 424.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.09926, allocations: 0.9573 MB / 425.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006103/0.09987, allocations: 442.9 kB / 425.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004684/0.1003, allocations: 406.6 kB / 426 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006605/0.101, allocations: 0.4942 MB / 426.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.1011, allocations: 100 kB / 426.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.1013, allocations: 104 kB / 426.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.1016, allocations: 283.2 kB / 426.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000478/0.102, allocations: 469.8 kB / 427.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.1033, allocations: 1.292 MB / 428.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.1033, allocations: 0 / 428.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1033, allocations: 0 / 428.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1033, allocations: 0 / 428.7 MB, free: 2.348 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.002135/0.1055, allocations: 1.192 MB / 429.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1055, allocations: 12.03 kB / 429.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.1056, allocations: 92.38 kB / 430 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.1067, allocations: 0.6396 MB / 430.6 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.1068, allocations: 57.25 kB / 430.7 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.1069, allocations: 64 kB / 430.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.1084, allocations: 0.9228 MB / 431.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.1084, allocations: 0 / 431.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.68e-05/0.1085, allocations: 28 kB / 431.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.476e-05/0.1085, allocations: 33.3 kB / 431.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.1099, allocations: 0.7936 MB / 432.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004266/0.1142, allocations: 2.78 MB / 435.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009715/0.1151, allocations: 0.7098 MB / 436 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005818/0.1157, allocations: 321.2 kB / 436.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.483e-05/0.1157, allocations: 12.25 kB / 436.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006448/0.1164, allocations: 385.8 kB / 436.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.194e-06/0.1164, allocations: 4 kB / 436.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.00283/0.1192, allocations: 1.22 MB / 437.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/0.1193, allocations: 106.8 kB / 438 MB, free: 8.629 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007342/0.12, allocations: 0.5683 MB / 438.6 MB, free: 8.051 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.1201, allocations: 37.7 kB / 438.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.1204, allocations: 364.6 kB / 439 MB, free: 7.648 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.1205, allocations: 146.8 kB / 439.1 MB, free: 7.504 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.1207, allocations: 90.25 kB / 439.2 MB, free: 7.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.1209, allocations: 362.8 kB / 439.6 MB, free: 7.047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.1213, allocations: 217 kB / 439.8 MB, free: 6.832 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.1218, allocations: 365.7 kB / 440.1 MB, free: 6.422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008837/0.1227, allocations: 0.573 MB / 440.7 MB, free: 5.793 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1227, allocations: 0 / 440.7 MB, free: 5.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001309/0.124, allocations: 0.7437 MB / 441.5 MB, free: 5.039 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.124, allocations: 8 kB / 441.5 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.124, allocations: 4 kB / 441.5 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005498/0.1246, allocations: 208.7 kB / 441.7 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.1249, allocations: 79.83 kB / 441.7 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003802/0.1287, allocations: 3.035 MB / 444.8 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.1291, allocations: 59.83 kB / 444.8 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.1291, allocations: 20 kB / 444.9 MB, free: 1.484 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[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.0004746/0.1296, allocations: 329.5 kB / 445.2 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.66e-05/0.1297, allocations: 55.67 kB / 445.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.1298, allocations: 73.27 kB / 445.3 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1298, allocations: 4 kB / 445.3 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1298, allocations: 0 / 445.3 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.1298, allocations: 3.984 kB / 445.3 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1727/0.3025, allocations: 1.73 MB / 447 MB, free: 30.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.3025, allocations: 0 / 447 MB, free: 30.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.3028, allocations: 49.33 kB / 447.1 MB, free: 30.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000382/0.3031, allocations: 192.2 kB / 447.3 MB, free: 30.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.3032, allocations: 12.81 kB / 447.3 MB, free: 30.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002368/0.3055, allocations: 2.908 MB / 450.2 MB, free: 28.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3055, allocations: 3.906 kB / 450.2 MB, free: 28.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.3071, allocations: 1.139 MB / 451.3 MB, free: 28.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.3073, allocations: 198.5 kB / 451.5 MB, free: 28.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/0.3074, allocations: 12.28 kB / 451.6 MB, free: 28.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.3077, allocations: 25.17 kB / 451.6 MB, free: 28.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.3078, allocations: 41.66 kB / 451.6 MB, free: 28.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.3078, allocations: 16.36 kB / 451.6 MB, free: 28.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004569/0.3083, allocations: 418.9 kB / 452 MB, free: 28.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3083, allocations: 0 / 452 MB, free: 28.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006798/0.309, allocations: 211.8 kB / 452.2 MB, free: 28.53 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.0001224/0.3091, allocations: 122.9 kB / 452.4 MB, free: 28.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.3102, allocations: 0.7183 MB / 453.1 MB, free: 28.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3102, allocations: 0 / 453.1 MB, free: 28.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006068/0.3108, allocations: 460 kB / 453.5 MB, free: 28.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006515/0.3115, allocations: 152.1 kB / 453.7 MB, free: 28.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.3142, allocations: 1.588 MB / 455.3 MB, free: 27.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/0.3147, allocations: 1.061 MB / 456.3 MB, free: 26.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.3148, allocations: 42.83 kB / 456.4 MB, free: 26.53 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3148, allocations: 1 kB / 456.4 MB, free: 26.53 MB / 366.1 MB Notification: Performance of Templates: time 0.01667/0.3315, allocations: 12.9 MB / 469.3 MB, free: 22.28 MB / 366.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.357815776951611]