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.001427/0.001427, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.001446/0.001446, allocations: 149.4 kB / 24.26 MB, free: 184 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.46/1.46, allocations: 173.4 MB / 200.8 MB, free: 9.301 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.693e-06/1.693e-06, allocations: 0 / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.371e-05/4.541e-05, allocations: 2.312 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.006164/0.006209, allocations: 3.209 MB / 270.6 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.008391, allocations: 0.8061 MB / 271.4 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004182/0.008809, allocations: 19.88 kB / 271.4 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.009178, allocations: 63.36 kB / 271.4 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005846/0.009762, allocations: 134.8 kB / 271.6 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.01025, allocations: 143.7 kB / 271.7 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.01125, allocations: 0.525 MB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003548/0.01161, allocations: 122.3 kB / 272.4 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006457/0.01225, allocations: 299.2 kB / 272.6 MB, free: 1.359 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003927/0.01264, allocations: 159.5 kB / 272.8 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.01277, allocations: 44 kB / 272.8 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.01289, allocations: 48 kB / 272.9 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.01303, allocations: 103.6 kB / 273 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000251/0.01328, allocations: 159.6 kB / 273.2 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007344/0.01401, allocations: 0.5334 MB / 273.7 MB, free: 328 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.01402, allocations: 7.984 kB / 273.7 MB, free: 320 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01402, allocations: 0 / 273.7 MB, free: 320 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.01404, allocations: 0 / 273.7 MB, free: 320 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.001887/0.01593, allocations: 0.7583 MB / 274.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.01597, allocations: 16.86 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.01618, allocations: 80.61 kB / 274.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005603/0.01674, allocations: 290.6 kB / 274.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.01678, allocations: 29.38 kB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.379e-05/0.01687, allocations: 40.33 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008228/0.01769, allocations: 418.1 kB / 275.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.01772, allocations: 192 / 275.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.51e-05/0.01777, allocations: 20.12 kB / 275.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.01778, allocations: 16 kB / 275.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006312/0.01841, allocations: 255.8 kB / 275.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.02099, allocations: 1.299 MB / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.02148, allocations: 215.4 kB / 277.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004453/0.02193, allocations: 161 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.02196, allocations: 4.234 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004987/0.02246, allocations: 247.7 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.973e-06/0.02246, allocations: 0 / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.001731/0.02419, allocations: 0.5098 MB / 278 MB, free: 11.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.729e-05/0.02429, allocations: 110.8 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/0.02469, allocations: 288.1 kB / 278.4 MB, free: 11.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/0.02473, allocations: 37.7 kB / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.02494, allocations: 220.6 kB / 278.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.02505, allocations: 103.1 kB / 278.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.02518, allocations: 70.11 kB / 278.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.02539, allocations: 346.8 kB / 279.2 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.02563, allocations: 88.7 kB / 279.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.026, allocations: 247.2 kB / 279.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006054/0.0266, allocations: 322.5 kB / 279.8 MB, free: 9.801 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.02661, allocations: 4 kB / 279.8 MB, free: 9.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008816/0.02749, allocations: 414.1 kB / 280.2 MB, free: 9.383 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.02751, allocations: 11.97 kB / 280.2 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.02753, allocations: 4 kB / 280.2 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/0.0279, allocations: 96.67 kB / 280.3 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.02816, allocations: 55.91 kB / 280.4 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.03062, allocations: 1.88 MB / 282.3 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.03089, allocations: 35.77 kB / 282.3 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.03092, allocations: 16 kB / 282.3 MB, free: 7.184 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.0002257/0.03114, allocations: 161.8 kB / 282.5 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-05/0.03123, allocations: 47.8 kB / 282.5 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.618e-05/0.03132, allocations: 27.09 kB / 282.5 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.03132, allocations: 7.984 kB / 282.5 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.03133, allocations: 12 kB / 282.6 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.03134, allocations: 0 / 282.6 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007134/0.03205, allocations: 458.7 kB / 283 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.03205, allocations: 0 / 283 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.03224, allocations: 27.98 kB / 283 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000281/0.03252, allocations: 80.75 kB / 283.1 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.03256, allocations: 11.92 kB / 283.1 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/0.03492, allocations: 1.853 MB / 285 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.03492, allocations: 0 / 285 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.03608, allocations: 0.527 MB / 285.5 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.03623, allocations: 55.75 kB / 285.6 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.248e-05/0.03628, allocations: 8 kB / 285.6 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.03648, allocations: 15.98 kB / 285.6 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.03658, allocations: 27.95 kB / 285.6 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.03661, allocations: 12 kB / 285.6 MB, free: 3.684 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002672/0.03688, allocations: 203.1 kB / 285.8 MB, free: 3.484 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03688, allocations: 0 / 285.8 MB, free: 3.484 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005817/0.03746, allocations: 119.7 kB / 285.9 MB, free: 3.367 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.0002032/0.03766, allocations: 122.6 kB / 286.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.03872, allocations: 406.2 kB / 286.5 MB, free: 2.836 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.03873, allocations: 3.938 kB / 286.5 MB, free: 2.832 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.03922, allocations: 266.5 kB / 286.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.03962, allocations: 48.97 kB / 286.8 MB, free: 2.512 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.04124, allocations: 0.7015 MB / 287.5 MB, free: 1.777 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.0415, allocations: 203.1 kB / 287.7 MB, free: 1.559 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.04163, allocations: 30.97 kB / 287.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.426e-05/0.04171, allocations: 24.5 kB / 287.7 MB, free: 1.504 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.04171, allocations: 0 / 287.7 MB, free: 1.504 MB / 266.7 MB Notification: Performance of Templates: time 0.1157/0.1574, allocations: 4.499 MB / 292.2 MB, free: 31.81 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 480] 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.430359818041325]