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.001799/0.001799, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.001857/0.001857, allocations: 153.5 kB / 24.27 MB, free: 168 kB / 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 1.549/1.549, allocations: 173.4 MB / 200.8 MB, free: 9.324 MB / 186.7 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.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.343e-06/1.343e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/2.999e-05, allocations: 2.312 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005478/0.005508, allocations: 3.4 MB / 270.7 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.007211, allocations: 0.8216 MB / 271.6 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.007382, allocations: 8 kB / 271.6 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.007603, allocations: 67.3 kB / 271.6 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.007939, allocations: 138.8 kB / 271.8 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.008261, allocations: 139.7 kB / 271.9 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006574/0.008918, allocations: 0.5289 MB / 272.4 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002946/0.009213, allocations: 122.3 kB / 272.6 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004279/0.009641, allocations: 299.2 kB / 272.9 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.009948, allocations: 167.5 kB / 273 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.744e-05/0.01004, allocations: 48 kB / 273.1 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.698e-05/0.01012, allocations: 44 kB / 273.1 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.01025, allocations: 107.6 kB / 273.2 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.01046, allocations: 151.6 kB / 273.4 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006876/0.01115, allocations: 0.5412 MB / 273.9 MB, free: 128 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.01116, allocations: 0 / 273.9 MB, free: 128 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01116, allocations: 0 / 273.9 MB, free: 128 kB / 250.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.01117, allocations: 0 / 273.9 MB, free: 128 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.001613/0.01278, allocations: 0.9639 MB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.01282, allocations: 8.922 kB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.01297, allocations: 88.61 kB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.01347, allocations: 289.4 kB / 275.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.0135, allocations: 29.38 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/0.0137, allocations: 44.33 kB / 275.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007514/0.01446, allocations: 433.4 kB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.01447, allocations: 192 / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.56e-05/0.01452, allocations: 20.12 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.01453, allocations: 8 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005185/0.01505, allocations: 243.8 kB / 276 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.01744, allocations: 1.575 MB / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004637/0.01791, allocations: 239.9 kB / 277.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/0.01831, allocations: 159.6 kB / 278 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.01834, allocations: 4.234 kB / 278 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004626/0.0188, allocations: 273.3 kB / 278.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.01881, allocations: 4 kB / 278.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.00156/0.02037, allocations: 0.5008 MB / 278.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.02046, allocations: 122.7 kB / 278.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.02088, allocations: 386.3 kB / 279.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.02092, allocations: 37.73 kB / 279.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.02114, allocations: 275.4 kB / 279.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.02127, allocations: 111.1 kB / 279.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.0214, allocations: 87.72 kB / 279.7 MB, free: 9.969 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002898/0.02169, allocations: 0.5274 MB / 280.3 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.02189, allocations: 84.7 kB / 280.4 MB, free: 9.348 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.02227, allocations: 305 kB / 280.6 MB, free: 8.965 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005575/0.02283, allocations: 385.3 kB / 281 MB, free: 8.516 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.02283, allocations: 4 kB / 281 MB, free: 8.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000767/0.0236, allocations: 424.9 kB / 281.4 MB, free: 8.086 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.02362, allocations: 7.938 kB / 281.5 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.02363, allocations: 4 kB / 281.5 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003204/0.02395, allocations: 83.64 kB / 281.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.02421, allocations: 67.84 kB / 281.6 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002648/0.02685, allocations: 2.485 MB / 284.1 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.02709, allocations: 35.77 kB / 284.1 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.02712, allocations: 16 kB / 284.1 MB, free: 5.27 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.0002252/0.02734, allocations: 204.5 kB / 284.3 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.401e-05/0.02742, allocations: 47.8 kB / 284.4 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.706e-05/0.02751, allocations: 43.11 kB / 284.4 MB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.02752, allocations: 4 kB / 284.4 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.02752, allocations: 3.938 kB / 284.4 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.02753, allocations: 0 / 284.4 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007406/0.02827, allocations: 0.5593 MB / 285 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.02827, allocations: 0 / 285 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.02843, allocations: 27.98 kB / 285 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002368/0.02867, allocations: 79.64 kB / 285.1 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.0287, allocations: 15.91 kB / 285.1 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.03112, allocations: 2.478 MB / 287.6 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.03112, allocations: 0 / 287.6 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.03213, allocations: 0.5163 MB / 288.1 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.03226, allocations: 63.7 kB / 288.2 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.0323, allocations: 8 kB / 288.2 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.03246, allocations: 11.94 kB / 288.2 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.919e-05/0.03255, allocations: 27.94 kB / 288.2 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.03257, allocations: 12 kB / 288.2 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002658/0.03284, allocations: 259 kB / 288.5 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03284, allocations: 0 / 288.5 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004832/0.03332, allocations: 123.7 kB / 288.6 MB, free: 0.582 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.0001574/0.03348, allocations: 118.2 kB / 288.7 MB, free: 468 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008982/0.03438, allocations: 485.3 kB / 289.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.03438, allocations: 0 / 289.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006682/0.03505, allocations: 345.4 kB / 289.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.03539, allocations: 57.09 kB / 289.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.03674, allocations: 0.706 MB / 290.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.03696, allocations: 203.1 kB / 290.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.03708, allocations: 34.95 kB / 290.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/0.03715, allocations: 24.5 kB / 290.5 MB, free: 14.53 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03715, allocations: 0 / 290.5 MB, free: 14.53 MB / 282.7 MB Notification: Performance of Templates: time 0.01051/0.04766, allocations: 4.544 MB / 295.1 MB, free: 10.11 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.553927076980472]