Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 79.73 kB / 21.97 MB, free: 2.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 166.9 kB / 25.33 MB, free: 8.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9764/0.9764, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 251.1 MB, free: 7.496 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.199e-05, allocations: 6.25 kB / 251.1 MB, free: 7.488 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.00388/0.003912, allocations: 3.629 MB / 254.7 MB, free: 3.832 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.005809, allocations: 1.041 MB / 255.7 MB, free: 2.785 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.006086, allocations: 19.88 kB / 255.8 MB, free: 2.766 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.006321, allocations: 107.1 kB / 255.9 MB, free: 2.66 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007614/0.007082, allocations: 258.3 kB / 256.1 MB, free: 2.406 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.007423, allocations: 151.6 kB / 256.3 MB, free: 2.258 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009328/0.008356, allocations: 0.988 MB / 257.3 MB, free: 1.262 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004023/0.008758, allocations: 306.9 kB / 257.6 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00071/0.009468, allocations: 0.5847 MB / 258.1 MB, free: 372 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006633/0.01013, allocations: 482.8 kB / 258.6 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.01026, allocations: 100 kB / 258.7 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.01038, allocations: 96 kB / 258.8 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004983/0.01088, allocations: 283.1 kB / 259.1 MB, free: 15.42 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.01117, allocations: 343.2 kB / 259.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007752/0.01194, allocations: 0.7593 MB / 260.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01194, allocations: 0 / 260.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.01195, allocations: 0 / 260.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.155e-05/0.01197, allocations: 0 / 260.2 MB, free: 14.32 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001726/0.01369, allocations: 1.478 MB / 261.7 MB, free: 12.8 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.01374, allocations: 11.98 kB / 261.7 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.01396, allocations: 152.3 kB / 261.8 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006219/0.01459, allocations: 0.4942 MB / 262.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.01462, allocations: 53.62 kB / 262.4 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.776e-05/0.0147, allocations: 68.33 kB / 262.4 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007862/0.01548, allocations: 0.572 MB / 263 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.0155, allocations: 0 / 263 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/0.01555, allocations: 27.98 kB / 263 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.01559, allocations: 33.3 kB / 263.1 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.01605, allocations: 243.6 kB / 263.3 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.01857, allocations: 2.386 MB / 265.7 MB, free: 8.605 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.01897, allocations: 284.2 kB / 266 MB, free: 8.316 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.01922, allocations: 148.2 kB / 266.1 MB, free: 8.168 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.01925, allocations: 8.328 kB / 266.1 MB, free: 8.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006729/0.01992, allocations: 261.8 kB / 266.4 MB, free: 7.875 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.723e-06/0.01992, allocations: 0 / 266.4 MB, free: 7.875 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.001316/0.02124, allocations: 0.6638 MB / 267 MB, free: 7.199 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.02129, allocations: 110.8 kB / 267.1 MB, free: 7.066 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.02169, allocations: 0.5065 MB / 267.6 MB, free: 6.543 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.02172, allocations: 41.69 kB / 267.7 MB, free: 6.496 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.02193, allocations: 411.3 kB / 268.1 MB, free: 6.086 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.121e-05/0.02201, allocations: 146.8 kB / 268.2 MB, free: 5.941 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.952e-05/0.02211, allocations: 99.83 kB / 268.3 MB, free: 5.836 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.02227, allocations: 0.5547 MB / 268.9 MB, free: 5.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.02238, allocations: 68.89 kB / 268.9 MB, free: 5.203 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.02259, allocations: 280.7 kB / 269.2 MB, free: 4.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.02291, allocations: 341.8 kB / 269.6 MB, free: 4.43 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.02291, allocations: 4 kB / 269.6 MB, free: 4.426 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006938/0.02361, allocations: 428.3 kB / 270 MB, free: 3.996 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.02362, allocations: 8 kB / 270 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.02363, allocations: 7.938 kB / 270 MB, free: 3.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002904/0.02392, allocations: 107.8 kB / 270.1 MB, free: 3.875 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.02412, allocations: 83.77 kB / 270.2 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.02591, allocations: 2.533 MB / 272.7 MB, free: 1.141 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.0261, allocations: 55.64 kB / 272.8 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.02613, allocations: 19.98 kB / 272.8 MB, free: 1.066 MB / 250.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: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001661/0.02629, allocations: 192.3 kB / 273 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.035e-05/0.02636, allocations: 71.62 kB / 273 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.981e-05/0.02643, allocations: 61.19 kB / 273.1 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.02644, allocations: 7.938 kB / 273.1 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.02644, allocations: 8 kB / 273.1 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.02645, allocations: 3.984 kB / 273.1 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.02775, allocations: 1.169 MB / 274.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.02776, allocations: 0 / 274.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.02789, allocations: 51.97 kB / 274.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002295/0.02812, allocations: 91.64 kB / 274.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.02815, allocations: 16.02 kB / 274.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/0.02977, allocations: 2.513 MB / 277 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.02977, allocations: 7.938 kB / 277 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006255/0.0304, allocations: 0.5787 MB / 277.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.03053, allocations: 99.56 kB / 277.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.03058, allocations: 15.98 kB / 277.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.03072, allocations: 19.98 kB / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.03084, allocations: 55.89 kB / 277.7 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.03087, allocations: 12 kB / 277.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002416/0.03111, allocations: 334.8 kB / 278.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03111, allocations: 0 / 278.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004852/0.03159, allocations: 211.5 kB / 278.3 MB, free: 11.36 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y,rootMeanSquareVoltage.mean.y,meanVoltage.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (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.0001386/0.03173, allocations: 115.2 kB / 278.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006333/0.03236, allocations: 0.4976 MB / 278.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.03237, allocations: 0 / 278.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.0327, allocations: 388.8 kB / 279.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.03313, allocations: 154.4 kB / 279.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.03517, allocations: 1.315 MB / 280.7 MB, free: 8.812 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.03534, allocations: 242.2 kB / 281 MB, free: 8.555 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.0355, allocations: 72.64 kB / 281 MB, free: 8.484 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/0.03558, allocations: 44.48 kB / 281.1 MB, free: 8.438 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.03558, allocations: 0 / 281.1 MB, free: 8.438 MB / 266.7 MB Notification: Performance of Templates: time 0.01332/0.0489, allocations: 10.03 MB / 291.1 MB, free: 14.44 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.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: 3.0154219027608633]