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.001037/0.001037, allocations: 87.67 kB / 21.7 MB, free: 2.844 MB / 18.57 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.001126/0.001126, allocations: 160.6 kB / 24.99 MB, free: 8.742 MB / 18.57 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 0.9527/0.9527, allocations: 177 MB / 205.2 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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 2.044e-06/2.044e-06, allocations: 0 / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.392e-05, allocations: 2.312 kB / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005413/0.005437, allocations: 3.708 MB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.007545, allocations: 1.071 MB / 277.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002742/0.007819, allocations: 23.81 kB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.008106, allocations: 103.1 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008208/0.008927, allocations: 254.3 kB / 278.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.009294, allocations: 163.6 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.01031, allocations: 0.9997 MB / 279.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005506/0.01086, allocations: 351.4 kB / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007585/0.01162, allocations: 0.6081 MB / 280.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000688/0.0123, allocations: 482.8 kB / 280.8 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.01246, allocations: 100 kB / 280.9 MB, free: 9.824 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.01263, allocations: 104 kB / 281 MB, free: 9.723 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002564/0.01289, allocations: 299.1 kB / 281.2 MB, free: 9.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003631/0.01325, allocations: 331.3 kB / 281.6 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000933/0.01419, allocations: 0.7865 MB / 282.4 MB, free: 8.316 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.01419, allocations: 0 / 282.4 MB, free: 8.316 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01419, allocations: 4 kB / 282.4 MB, free: 8.312 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.0142, allocations: 0 / 282.4 MB, free: 8.312 MB / 266.7 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.002225/0.01643, allocations: 1.52 MB / 283.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0002847/0.01671, allocations: 11.98 kB / 283.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004484/0.01716, allocations: 172.3 kB / 284.1 MB, free: 6.562 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006013/0.01776, allocations: 0.5522 MB / 284.6 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.01779, allocations: 53.66 kB / 284.7 MB, free: 5.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.425e-05/0.01786, allocations: 72.33 kB / 284.7 MB, free: 5.859 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007272/0.01859, allocations: 0.5758 MB / 285.3 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.01861, allocations: 4 kB / 285.3 MB, free: 5.242 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.01865, allocations: 24 kB / 285.3 MB, free: 5.219 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.01e-05/0.01869, allocations: 37.3 kB / 285.4 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004617/0.01915, allocations: 247.6 kB / 285.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.02124, allocations: 2.401 MB / 288 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/0.02164, allocations: 296.1 kB / 288.3 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.02188, allocations: 148.2 kB / 288.5 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.0219, allocations: 4.328 kB / 288.5 MB, free: 1.988 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.02219, allocations: 269.9 kB / 288.7 MB, free: 1.691 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.503e-06/0.02219, allocations: 0 / 288.7 MB, free: 1.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001242/0.02343, allocations: 0.6494 MB / 289.4 MB, free: 1.031 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.02348, allocations: 114.8 kB / 289.5 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/0.0239, allocations: 0.526 MB / 290 MB, free: 364 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.02393, allocations: 41.69 kB / 290 MB, free: 316 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1094/0.1333, allocations: 422.1 kB / 290.5 MB, free: 28.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.1335, allocations: 147.1 kB / 290.6 MB, free: 28.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.1336, allocations: 95.84 kB / 290.7 MB, free: 28.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1337, allocations: 0.5496 MB / 291.2 MB, free: 27.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.1339, allocations: 62.42 kB / 291.3 MB, free: 27.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.1341, allocations: 286 kB / 291.6 MB, free: 27.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.1344, allocations: 344.2 kB / 291.9 MB, free: 27.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.1344, allocations: 1.906 kB / 291.9 MB, free: 27.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007249/0.1351, allocations: 433.5 kB / 292.3 MB, free: 26.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1352, allocations: 7.625 kB / 292.4 MB, free: 26.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1352, allocations: 5.078 kB / 292.4 MB, free: 26.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003065/0.1355, allocations: 100.4 kB / 292.5 MB, free: 26.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.1357, allocations: 81.81 kB / 292.5 MB, free: 26.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.1371, allocations: 2.541 MB / 295.1 MB, free: 24.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.1373, allocations: 51.08 kB / 295.1 MB, free: 24.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.1373, allocations: 18.89 kB / 295.1 MB, free: 24.97 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: 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.0001539/0.1375, allocations: 198.4 kB / 295.3 MB, free: 24.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.1376, allocations: 76.2 kB / 295.4 MB, free: 24.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.348e-05/0.1376, allocations: 62.84 kB / 295.5 MB, free: 24.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1376, allocations: 4.812 kB / 295.5 MB, free: 24.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1376, allocations: 0.6094 kB / 295.5 MB, free: 24.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1376, allocations: 9.281 kB / 295.5 MB, free: 24.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.1388, allocations: 1.174 MB / 296.7 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1388, allocations: 1.125 kB / 296.7 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.1389, allocations: 39.92 kB / 296.7 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.1391, allocations: 99.19 kB / 296.8 MB, free: 24.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.1391, allocations: 13.2 kB / 296.8 MB, free: 24.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.1404, allocations: 2.527 MB / 299.3 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1404, allocations: 1.547 kB / 299.3 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006534/0.1411, allocations: 0.5775 MB / 299.9 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.1412, allocations: 115.2 kB / 300 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.1412, allocations: 8.859 kB / 300 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.1414, allocations: 27.08 kB / 300.1 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.1415, allocations: 57.11 kB / 300.1 MB, free: 21.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.1415, allocations: 12.33 kB / 300.1 MB, free: 21.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002792/0.1418, allocations: 343.9 kB / 300.5 MB, free: 21.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1418, allocations: 1.688 kB / 300.5 MB, free: 21.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004846/0.1423, allocations: 206.4 kB / 300.7 MB, free: 21.26 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_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.0001021/0.1424, allocations: 117.3 kB / 300.8 MB, free: 21.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005841/0.143, allocations: 498.9 kB / 301.3 MB, free: 20.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.143, allocations: 2.703 kB / 301.3 MB, free: 20.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.1433, allocations: 388.2 kB / 301.7 MB, free: 20.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.1437, allocations: 147 kB / 301.8 MB, free: 20.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.1454, allocations: 1.273 MB / 303.1 MB, free: 19.9 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.1456, allocations: 241.5 kB / 303.3 MB, free: 19.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.1457, allocations: 80.97 kB / 303.4 MB, free: 19.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.1458, allocations: 42.97 kB / 303.4 MB, free: 19.77 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1458, allocations: 0 / 303.4 MB, free: 19.77 MB / 266.7 MB Notification: Performance of Templates: time 0.01101/0.1568, allocations: 9.731 MB / 313.2 MB, free: 13.86 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 2.937955080997199]