Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009738/0.0009738, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001072/0.001072, allocations: 175.1 kB / 24.92 MB, free: 9.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9542/0.9542, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.679e-05, allocations: 5.828 kB / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.00449/0.004507, allocations: 3.701 MB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.006143, allocations: 1.11 MB / 278.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.006349, allocations: 19.88 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.006556, allocations: 107.1 kB / 278.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000594/0.00715, allocations: 258.3 kB / 278.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.007421, allocations: 155.6 kB / 278.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007385/0.008159, allocations: 0.9998 MB / 279.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003648/0.008524, allocations: 359.4 kB / 280.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005865/0.00911, allocations: 0.608 MB / 280.8 MB, free: 9.871 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005106/0.009621, allocations: 482.8 kB / 281.3 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.00973, allocations: 100 kB / 281.4 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.00987, allocations: 104 kB / 281.5 MB, free: 9.199 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.01004, allocations: 295.1 kB / 281.8 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.01029, allocations: 335.2 kB / 282.1 MB, free: 8.582 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007389/0.01103, allocations: 0.7827 MB / 282.9 MB, free: 7.797 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.01103, allocations: 0 / 282.9 MB, free: 7.797 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.01103, allocations: 0 / 282.9 MB, free: 7.797 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.01105, allocations: 0 / 282.9 MB, free: 7.797 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.001325/0.01237, allocations: 1.057 MB / 283.9 MB, free: 6.715 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.0124, allocations: 12.03 kB / 283.9 MB, free: 6.703 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002592/0.01266, allocations: 136.8 kB / 284.1 MB, free: 6.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005947/0.01325, allocations: 417.4 kB / 284.5 MB, free: 6.137 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.01329, allocations: 53.67 kB / 284.5 MB, free: 6.086 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.125e-05/0.01336, allocations: 64.38 kB / 284.6 MB, free: 6.023 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/0.01397, allocations: 0.5451 MB / 285.1 MB, free: 5.445 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.01399, allocations: 0 / 285.1 MB, free: 5.445 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.01403, allocations: 24 kB / 285.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/0.01416, allocations: 33.3 kB / 285.2 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.01443, allocations: 165 kB / 285.4 MB, free: 5.227 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.01622, allocations: 1.728 MB / 287.1 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.01647, allocations: 231.3 kB / 287.3 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.01663, allocations: 115.8 kB / 287.4 MB, free: 3.078 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.01665, allocations: 8.328 kB / 287.4 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.01687, allocations: 239.7 kB / 287.7 MB, free: 2.809 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.302e-06/0.01687, allocations: 0 / 287.7 MB, free: 2.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008777/0.01774, allocations: 485.3 kB / 288.2 MB, free: 2.324 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.01779, allocations: 114.7 kB / 288.3 MB, free: 2.188 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.01804, allocations: 399.3 kB / 288.7 MB, free: 1.785 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.01806, allocations: 37.7 kB / 288.7 MB, free: 1.742 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.01819, allocations: 313.8 kB / 289 MB, free: 1.434 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.584e-05/0.01826, allocations: 150.8 kB / 289.1 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/0.01835, allocations: 82.16 kB / 289.2 MB, free: 1.199 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.01844, allocations: 370.6 kB / 289.6 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.367e-05/0.0185, allocations: 45 kB / 289.6 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.01863, allocations: 210.1 kB / 289.8 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.01885, allocations: 279.1 kB / 290.1 MB, free: 192 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01885, allocations: 0 / 290.1 MB, free: 192 kB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.1037/0.1226, allocations: 303.8 kB / 290.4 MB, free: 24.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1226, allocations: 12.53 kB / 290.4 MB, free: 24.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.1226, allocations: 4.5 kB / 290.4 MB, free: 24.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/0.1229, allocations: 89.41 kB / 290.5 MB, free: 24.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.1231, allocations: 80.3 kB / 290.6 MB, free: 24.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.1246, allocations: 1.884 MB / 292.5 MB, free: 23.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.1248, allocations: 41.81 kB / 292.5 MB, free: 23.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.1248, allocations: 16.69 kB / 292.5 MB, free: 23.51 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.000182/0.125, allocations: 148.9 kB / 292.7 MB, free: 23.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.1251, allocations: 47.67 kB / 292.7 MB, free: 23.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.297e-05/0.1251, allocations: 65.86 kB / 292.8 MB, free: 23.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1251, allocations: 5.25 kB / 292.8 MB, free: 23.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.1251, allocations: 0.5469 kB / 292.8 MB, free: 23.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.1251, allocations: 7.375 kB / 292.8 MB, free: 23.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008865/0.126, allocations: 0.7785 MB / 293.6 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.126, allocations: 1.031 kB / 293.6 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.1262, allocations: 48.59 kB / 293.6 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/0.1263, allocations: 85.44 kB / 293.7 MB, free: 23.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.1264, allocations: 14.75 kB / 293.7 MB, free: 23.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009854/0.1273, allocations: 1.82 MB / 295.5 MB, free: 21.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1273, allocations: 4.844 kB / 295.5 MB, free: 21.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004754/0.1278, allocations: 457.9 kB / 296 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.1279, allocations: 79.64 kB / 296.1 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.128, allocations: 13.05 kB / 296.1 MB, free: 21.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.1281, allocations: 23.48 kB / 296.1 MB, free: 21.56 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.1282, allocations: 38 kB / 296.1 MB, free: 21.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.1282, allocations: 7.062 kB / 296.1 MB, free: 21.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001591/0.1283, allocations: 186.3 kB / 296.3 MB, free: 21.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1283, allocations: 0 / 296.3 MB, free: 21.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004188/0.1288, allocations: 206.5 kB / 296.5 MB, free: 21.54 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 9.311e-05/0.1288, allocations: 105.4 kB / 296.6 MB, free: 21.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.1293, allocations: 400.5 kB / 297 MB, free: 21.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.1293, allocations: 5.469 kB / 297 MB, free: 21.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.1295, allocations: 300.5 kB / 297.3 MB, free: 21.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1299, allocations: 144.7 kB / 297.5 MB, free: 21.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.1316, allocations: 1.343 MB / 298.8 MB, free: 20.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.1317, allocations: 213.9 kB / 299 MB, free: 20.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.1318, allocations: 56.08 kB / 299.1 MB, free: 20.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.1321, allocations: 173.6 kB / 299.2 MB, free: 20.5 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1321, allocations: 0 / 299.2 MB, free: 20.5 MB / 266.7 MB Notification: Performance of Templates: time 0.01206/0.1441, allocations: 10.28 MB / 309.5 MB, free: 15.91 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.6501317908987403]