Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.001328/0.001328, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001362/0.001362, allocations: 137.1 kB / 24.97 MB, free: 8.855 MB / 18.57 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 0.9157/0.9157, allocations: 173.4 MB / 201.5 MB, free: 9.277 MB / 186.7 MB " [Timeout remaining time 179] 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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 268.1 MB, free: 6.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.233e-05, allocations: 10.25 kB / 268.1 MB, free: 6.648 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003443/0.003466, allocations: 3.434 MB / 271.5 MB, free: 3.195 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.004497, allocations: 0.8217 MB / 272.4 MB, free: 2.367 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.004644, allocations: 7.938 kB / 272.4 MB, free: 2.359 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.004825, allocations: 75.23 kB / 272.4 MB, free: 2.285 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.005054, allocations: 138.7 kB / 272.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.005286, allocations: 143.7 kB / 272.7 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.005649, allocations: 0.525 MB / 273.2 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.005867, allocations: 114.4 kB / 273.4 MB, free: 1.363 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.006105, allocations: 299.3 kB / 273.6 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.006301, allocations: 171.5 kB / 273.8 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.006351, allocations: 44 kB / 273.9 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.204e-05/0.006393, allocations: 44 kB / 273.9 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.137e-05/0.006465, allocations: 111.5 kB / 274 MB, free: 0.707 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.006584, allocations: 159.6 kB / 274.2 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.00689, allocations: 342.7 kB / 274.5 MB, free: 220 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.006893, allocations: 3.984 kB / 274.5 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006894, allocations: 0 / 274.5 MB, free: 216 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.006899, allocations: 0 / 274.5 MB, free: 216 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0008762/0.007775, allocations: 0.8627 MB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.007809, allocations: 12.92 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.344e-05/0.007903, allocations: 76.61 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.008195, allocations: 293.2 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.008215, allocations: 33.38 kB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.008262, allocations: 40.38 kB / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.008658, allocations: 350.2 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.008673, allocations: 192 / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.008702, allocations: 28.05 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.008713, allocations: 8 kB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.008921, allocations: 125.9 kB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.01033, allocations: 1.451 MB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.01059, allocations: 172 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.0108, allocations: 120 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.01082, allocations: 8.234 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.01106, allocations: 217.9 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.362e-06/0.01106, allocations: 0 / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007923/0.01185, allocations: 400.8 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.0119, allocations: 110.8 kB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.01211, allocations: 322.3 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.01213, allocations: 37.7 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.01224, allocations: 259.4 kB / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.903e-05/0.0123, allocations: 111.1 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.251e-05/0.01237, allocations: 75.72 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.0125, allocations: 0.5157 MB / 280.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.567e-05/0.01258, allocations: 44.72 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.01275, allocations: 256.9 kB / 280.4 MB, free: 9.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.01299, allocations: 295.8 kB / 280.7 MB, free: 9.566 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.013, allocations: 0 / 280.7 MB, free: 9.566 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003615/0.01336, allocations: 339.5 kB / 281 MB, free: 9.227 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.01337, allocations: 11.94 kB / 281 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.01338, allocations: 4 kB / 281 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002011/0.01358, allocations: 68.17 kB / 281.1 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.01372, allocations: 59.91 kB / 281.1 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.01497, allocations: 2.282 MB / 283.4 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.01508, allocations: 31.78 kB / 283.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.0151, allocations: 20.03 kB / 283.5 MB, free: 6.633 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (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.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002891/0.01538, allocations: 184.5 kB / 283.6 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.01543, allocations: 43.8 kB / 283.7 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.01547, allocations: 39.08 kB / 283.7 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01548, allocations: 4 kB / 283.7 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.01548, allocations: 3.938 kB / 283.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01548, allocations: 0 / 283.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.01586, allocations: 496.8 kB / 284.2 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01586, allocations: 4.031 kB / 284.2 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.296e-05/0.01595, allocations: 31.92 kB / 284.3 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001271/0.01608, allocations: 59.64 kB / 284.3 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.868e-05/0.0161, allocations: 15.92 kB / 284.3 MB, free: 5.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.0172, allocations: 2.259 MB / 286.6 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.0172, allocations: 0 / 286.6 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.01765, allocations: 375.7 kB / 287 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.01773, allocations: 63.7 kB / 287 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.01775, allocations: 4 kB / 287 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.27e-05/0.01784, allocations: 16 kB / 287 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.0179, allocations: 31.95 kB / 287.1 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.01792, allocations: 16 kB / 287.1 MB, free: 2.793 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.01805, allocations: 227 kB / 287.3 MB, free: 2.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01805, allocations: 0 / 287.3 MB, free: 2.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003029/0.01835, allocations: 119.7 kB / 287.4 MB, free: 2.453 MB / 266.7 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001286/0.01848, allocations: 114.4 kB / 287.5 MB, free: 2.332 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004401/0.01892, allocations: 400.6 kB / 287.9 MB, free: 1.922 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01892, allocations: 0 / 287.9 MB, free: 1.922 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.01913, allocations: 305.1 kB / 288.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.01935, allocations: 62.08 kB / 288.3 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.02036, allocations: 0.6745 MB / 289 MB, free: 0.832 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.695e-05/0.02042, allocations: 108.6 kB / 289.1 MB, free: 0.707 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.032e-05/0.0205, allocations: 31.09 kB / 289.1 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.02054, allocations: 32.48 kB / 289.1 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02055, allocations: 0 / 289.1 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of Templates: time 0.006535/0.02708, allocations: 4.552 MB / 293.7 MB, free: 12.21 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8015417139977217]