Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001729/0.001729, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001907/0.001907, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 177.1 MB / 204.7 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 58 kB / 325.6 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09544/0.09738, allocations: 53.4 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005172/0.1025, allocations: 3.44 MB / 382.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.1046, allocations: 1.052 MB / 383.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.1048, allocations: 19.88 kB / 383.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.1051, allocations: 107.1 kB / 383.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006884/0.1057, allocations: 250.6 kB / 383.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.1061, allocations: 155.7 kB / 384 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.1071, allocations: 0.973 MB / 384.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005257/0.1076, allocations: 339.5 kB / 385.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005395/0.1082, allocations: 434.5 kB / 385.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007285/0.1089, allocations: 0.4942 MB / 386.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.109, allocations: 104 kB / 386.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.1092, allocations: 107.9 kB / 386.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002766/0.1095, allocations: 283.2 kB / 386.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004329/0.1099, allocations: 394.2 kB / 387.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.1113, allocations: 1.308 MB / 388.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1113, allocations: 4 kB / 388.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1113, allocations: 0 / 388.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.1113, allocations: 0 / 388.4 MB, free: 5.969 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.002389/0.1137, allocations: 1.318 MB / 389.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1137, allocations: 11.98 kB / 389.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004243/0.1141, allocations: 128.3 kB / 389.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.1151, allocations: 0.6086 MB / 390.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/0.1152, allocations: 49.25 kB / 390.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.1153, allocations: 67.98 kB / 390.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.1169, allocations: 0.944 MB / 391.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.1169, allocations: 3.953 kB / 391.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.02e-05/0.117, allocations: 28 kB / 391.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.075e-05/0.117, allocations: 29.3 kB / 391.5 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.1185, allocations: 0.7936 MB / 392.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004025/0.1225, allocations: 2.423 MB / 394.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008899/0.1234, allocations: 499.5 kB / 395.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000607/0.124, allocations: 315.2 kB / 395.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.124, allocations: 8.328 kB / 395.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006809/0.1247, allocations: 399.6 kB / 396 MB, free: 14.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.1247, allocations: 0 / 396 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002796/0.1275, allocations: 1.119 MB / 397.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.114e-05/0.1276, allocations: 110.6 kB / 397.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008105/0.1284, allocations: 0.5722 MB / 397.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.1284, allocations: 41.67 kB / 397.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/0.1288, allocations: 380.6 kB / 398.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.1289, allocations: 138.8 kB / 398.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.1291, allocations: 94.14 kB / 398.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.1293, allocations: 362.8 kB / 398.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/0.1297, allocations: 220.8 kB / 399 MB, free: 11.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.1302, allocations: 382.8 kB / 399.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009647/0.1312, allocations: 0.5822 MB / 399.9 MB, free: 9.988 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1312, allocations: 0 / 399.9 MB, free: 9.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001369/0.1326, allocations: 0.7437 MB / 400.7 MB, free: 9.234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.1326, allocations: 11.98 kB / 400.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1326, allocations: 4 kB / 400.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005278/0.1331, allocations: 200.5 kB / 400.9 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.1335, allocations: 80.09 kB / 401 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003562/0.137, allocations: 2.774 MB / 403.7 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/0.1374, allocations: 55.75 kB / 403.8 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.1375, allocations: 23.88 kB / 403.8 MB, free: 5.992 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[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.0005641/0.138, allocations: 336.3 kB / 404.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1381, allocations: 55.67 kB / 404.2 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.1383, allocations: 69.39 kB / 404.3 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1383, allocations: 4 kB / 404.3 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.1383, allocations: 4 kB / 404.3 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.1383, allocations: 7.984 kB / 404.3 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.1407, allocations: 1.428 MB / 405.7 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1407, allocations: 0 / 405.7 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.141, allocations: 47.91 kB / 405.7 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004595/0.1414, allocations: 200.7 kB / 405.9 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.1415, allocations: 8 kB / 406 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003577/0.145, allocations: 2.77 MB / 408.7 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.145, allocations: 4 kB / 408.7 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.1469, allocations: 1.096 MB / 409.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.1472, allocations: 119.5 kB / 409.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.841e-05/0.1473, allocations: 12 kB / 410 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.1476, allocations: 27.97 kB / 410 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.1477, allocations: 51.69 kB / 410 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.1477, allocations: 8 kB / 410 MB, free: 15.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005583/0.1483, allocations: 422.8 kB / 410.4 MB, free: 15.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1483, allocations: 3.938 kB / 410.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007851/0.1491, allocations: 207.5 kB / 410.7 MB, free: 14.96 MB / 382.1 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_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,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.0001777/0.1492, allocations: 122.6 kB / 410.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.1506, allocations: 0.6972 MB / 411.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1506, allocations: 1 kB / 411.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007233/0.1513, allocations: 462.3 kB / 411.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000691/0.152, allocations: 146.2 kB / 412.1 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.1545, allocations: 1.483 MB / 413.6 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.1551, allocations: 490.2 kB / 414 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002523/0.1553, allocations: 92.69 kB / 414.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.1554, allocations: 40.48 kB / 414.2 MB, free: 11.37 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1554, allocations: 0 / 414.2 MB, free: 11.37 MB / 382.1 MB Notification: Performance of Templates: time 0.01755/0.173, allocations: 9.705 MB / 423.9 MB, free: 1.844 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.53255424706731]