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.001117/0.001117, allocations: 84.86 kB / 21.5 MB, free: 2.984 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.001056/0.001056, allocations: 163.6 kB / 24.91 MB, free: 9.195 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.8766/0.8766, allocations: 177 MB / 205.2 MB, free: 5.434 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 1.784e-06/1.784e-06, allocations: 0 / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.82e-05, allocations: 9.203 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004653/0.004671, allocations: 3.661 MB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.00689, allocations: 1.094 MB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002912/0.007181, allocations: 19.88 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.007464, allocations: 111.1 kB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008115/0.008275, allocations: 262.3 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.008808, allocations: 163.5 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.009899, allocations: 1.004 MB / 279.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005137/0.01041, allocations: 359.5 kB / 280.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008769/0.01129, allocations: 0.6159 MB / 280.7 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007453/0.01203, allocations: 474.8 kB / 281.1 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.0122, allocations: 104 kB / 281.2 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.01239, allocations: 104 kB / 281.3 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002645/0.01265, allocations: 299.1 kB / 281.6 MB, free: 8.891 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004142/0.01307, allocations: 331.3 kB / 282 MB, free: 8.566 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000874/0.01394, allocations: 0.7827 MB / 282.7 MB, free: 7.781 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.01394, allocations: 0 / 282.7 MB, free: 7.781 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01394, allocations: 0 / 282.7 MB, free: 7.781 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.01396, allocations: 0 / 282.7 MB, free: 7.781 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.001686/0.01565, allocations: 1.061 MB / 283.8 MB, free: 6.695 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.01568, allocations: 11.98 kB / 283.8 MB, free: 6.684 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004238/0.01611, allocations: 140.8 kB / 284 MB, free: 6.547 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007176/0.01683, allocations: 405.5 kB / 284.3 MB, free: 6.125 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.01687, allocations: 53.69 kB / 284.4 MB, free: 6.074 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.01698, allocations: 72.36 kB / 284.5 MB, free: 6.004 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007621/0.01775, allocations: 0.5451 MB / 285 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.01776, allocations: 3.938 kB / 285 MB, free: 5.422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.01781, allocations: 24 kB / 285 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/0.01785, allocations: 33.3 kB / 285.1 MB, free: 5.363 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/0.01811, allocations: 161 kB / 285.2 MB, free: 5.203 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.01997, allocations: 1.736 MB / 287 MB, free: 3.395 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.02021, allocations: 227.3 kB / 287.2 MB, free: 3.164 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.02036, allocations: 121.4 kB / 287.3 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.02038, allocations: 8.328 kB / 287.3 MB, free: 3.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.02059, allocations: 231.7 kB / 287.5 MB, free: 2.781 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.473e-06/0.02059, allocations: 4 kB / 287.6 MB, free: 2.777 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008691/0.02146, allocations: 465.7 kB / 288 MB, free: 2.312 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.0215, allocations: 118.8 kB / 288.1 MB, free: 2.172 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.02175, allocations: 407.3 kB / 288.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.02178, allocations: 37.7 kB / 288.6 MB, free: 1.719 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.0219, allocations: 309.8 kB / 288.9 MB, free: 1.414 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.98e-05/0.02197, allocations: 138.8 kB / 289 MB, free: 1.277 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.552e-05/0.02206, allocations: 90.12 kB / 289.1 MB, free: 1.184 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.02215, allocations: 374.6 kB / 289.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.306e-05/0.02221, allocations: 36.98 kB / 289.5 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.02233, allocations: 203 kB / 289.7 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.02255, allocations: 283.1 kB / 290 MB, free: 180 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.02255, allocations: 0 / 290 MB, free: 180 kB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.09427/0.1168, allocations: 311.5 kB / 290.3 MB, free: 24.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1168, allocations: 9.031 kB / 290.3 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1168, allocations: 6.719 kB / 290.3 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002565/0.1171, allocations: 88.45 kB / 290.4 MB, free: 24.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.1173, allocations: 74 kB / 290.4 MB, free: 24.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.1185, allocations: 1.886 MB / 292.3 MB, free: 23.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.1187, allocations: 44.28 kB / 292.4 MB, free: 23.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.1187, allocations: 14.66 kB / 292.4 MB, free: 23.54 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[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.1189, allocations: 142.9 kB / 292.5 MB, free: 23.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/0.1189, allocations: 52.95 kB / 292.6 MB, free: 23.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.803e-05/0.119, allocations: 64.55 kB / 292.6 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.119, allocations: 5.516 kB / 292.6 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.119, allocations: 1.281 kB / 292.6 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.119, allocations: 7.219 kB / 292.6 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008836/0.1199, allocations: 0.7705 MB / 293.4 MB, free: 23.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1199, allocations: 4.859 kB / 293.4 MB, free: 23.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.12, allocations: 46.81 kB / 293.5 MB, free: 23.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001665/0.1202, allocations: 82.34 kB / 293.5 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.1202, allocations: 14.27 kB / 293.6 MB, free: 23.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009288/0.1211, allocations: 1.826 MB / 295.4 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1211, allocations: 1.125 kB / 295.4 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004725/0.1216, allocations: 466.4 kB / 295.8 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.1217, allocations: 74.5 kB / 295.9 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.1218, allocations: 14.02 kB / 295.9 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1219, allocations: 16.94 kB / 295.9 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.1219, allocations: 37.41 kB / 296 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.122, allocations: 11.61 kB / 296 MB, free: 21.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001635/0.1221, allocations: 184.6 kB / 296.2 MB, free: 21.58 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1221, allocations: 0 / 296.2 MB, free: 21.58 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000453/0.1226, allocations: 208.9 kB / 296.4 MB, free: 21.58 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001005/0.1227, allocations: 100.9 kB / 296.5 MB, free: 21.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004352/0.1231, allocations: 401.4 kB / 296.9 MB, free: 21.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.1231, allocations: 5 kB / 296.9 MB, free: 21.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.1234, allocations: 299.8 kB / 297.2 MB, free: 21.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1237, allocations: 149.9 kB / 297.3 MB, free: 21.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.1254, allocations: 1.358 MB / 298.7 MB, free: 20.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.1255, allocations: 211.2 kB / 298.9 MB, free: 20.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.1257, allocations: 59.78 kB / 298.9 MB, free: 20.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.1259, allocations: 174.2 kB / 299.1 MB, free: 20.53 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1259, allocations: 0 / 299.1 MB, free: 20.53 MB / 266.7 MB Notification: Performance of Templates: time 0.01126/0.1372, allocations: 10.26 MB / 309.4 MB, free: 15.9 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.68005443084985]