Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.0008201/0.0008201, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00426/0.00426, allocations: 164.1 kB / 24.7 MB, free: 9.43 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.8483/0.8483, allocations: 177.2 MB / 205 MB, free: 5.723 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 325.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.44e-05/3.619e-05, allocations: 2.281 kB / 325.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004232/0.004268, allocations: 4.204 MB / 330.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.006457, allocations: 1.273 MB / 331.3 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003808/0.006838, allocations: 27.81 kB / 331.4 MB, free: 9.887 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.007167, allocations: 178.6 kB / 331.5 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009459/0.008112, allocations: 381.5 kB / 331.9 MB, free: 9.336 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.008503, allocations: 215.5 kB / 332.1 MB, free: 9.125 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.0097, allocations: 1.68 MB / 333.8 MB, free: 7.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006375/0.01034, allocations: 0.5677 MB / 334.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.01139, allocations: 1.021 MB / 335.4 MB, free: 5.809 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008909/0.01228, allocations: 0.791 MB / 336.2 MB, free: 5.016 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.01245, allocations: 176 kB / 336.4 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.01269, allocations: 180 kB / 336.5 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.01302, allocations: 0.4907 MB / 337 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004403/0.01346, allocations: 0.5378 MB / 337.6 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.01508, allocations: 2.329 MB / 339.9 MB, free: 1.301 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.01509, allocations: 0 / 339.9 MB, free: 1.301 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.01509, allocations: 0 / 339.9 MB, free: 1.301 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.01511, allocations: 0 / 339.9 MB, free: 1.301 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002519/0.01763, allocations: 2.045 MB / 341.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.01768, allocations: 12.03 kB / 341.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000437/0.01811, allocations: 219.9 kB / 342.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.01921, allocations: 0.9741 MB / 343.1 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.906e-05/0.01926, allocations: 82.44 kB / 343.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.01938, allocations: 100.4 kB / 343.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.02111, allocations: 1.583 MB / 344.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.02114, allocations: 3.938 kB / 344.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.45e-05/0.02121, allocations: 40 kB / 344.9 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.064e-05/0.02126, allocations: 49.97 kB / 345 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.02282, allocations: 1.429 MB / 346.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00451/0.02733, allocations: 4.322 MB / 350.7 MB, free: 6.125 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009594/0.02829, allocations: 0.9424 MB / 351.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007812/0.02907, allocations: 0.6848 MB / 352.4 MB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.02912, allocations: 8.656 kB / 352.4 MB, free: 4.477 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006585/0.02978, allocations: 0.6374 MB / 353 MB, free: 3.816 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.016e-06/0.02978, allocations: 3.938 kB / 353 MB, free: 3.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.003553/0.03333, allocations: 2.356 MB / 355.4 MB, free: 1.441 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.03339, allocations: 85.77 kB / 355.5 MB, free: 1.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009244/0.03431, allocations: 0.9228 MB / 356.4 MB, free: 420 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.03436, allocations: 49.62 kB / 356.4 MB, free: 364 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/0.03473, allocations: 0.5436 MB / 357 MB, free: 15.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.03489, allocations: 237.9 kB / 357.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.03503, allocations: 130.7 kB / 357.3 MB, free: 15.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.03513, allocations: 330 kB / 357.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.03555, allocations: 413.7 kB / 358.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004916/0.03604, allocations: 0.5854 MB / 358.6 MB, free: 14.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009031/0.03695, allocations: 0.9483 MB / 359.6 MB, free: 13.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.03695, allocations: 4 kB / 359.6 MB, free: 13.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001427/0.03838, allocations: 1.287 MB / 360.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.0384, allocations: 8 kB / 360.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.03841, allocations: 4 kB / 360.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005939/0.03901, allocations: 391.2 kB / 361.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.03929, allocations: 111.8 kB / 361.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00377/0.04306, allocations: 4.329 MB / 365.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/0.04358, allocations: 75.64 kB / 365.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.04362, allocations: 28 kB / 365.8 MB, free: 6.723 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (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_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0007555/0.04437, allocations: 0.4957 MB / 366.3 MB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.04455, allocations: 95.39 kB / 366.4 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.04471, allocations: 116.5 kB / 366.5 MB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.04472, allocations: 11.98 kB / 366.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.04473, allocations: 7.938 kB / 366.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.04473, allocations: 0 / 366.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.04737, allocations: 2.282 MB / 368.8 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.04738, allocations: 0 / 368.8 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.04761, allocations: 83.88 kB / 368.9 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005301/0.04814, allocations: 380.5 kB / 369.3 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.04818, allocations: 19.98 kB / 369.3 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003582/0.05176, allocations: 4.291 MB / 373.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.05176, allocations: 128 / 373.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.05393, allocations: 1.948 MB / 375.5 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/0.05435, allocations: 223.2 kB / 375.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-05/0.05442, allocations: 15.94 kB / 375.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.05468, allocations: 43.95 kB / 375.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.05484, allocations: 80.5 kB / 375.9 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.05487, allocations: 23.98 kB / 375.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006873/0.05556, allocations: 0.6629 MB / 376.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05556, allocations: 3.938 kB / 376.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008584/0.05641, allocations: 359.1 kB / 376.9 MB, free: 11.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000226/0.05664, allocations: 125.3 kB / 377 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.05827, allocations: 1.249 MB / 378.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.05828, allocations: 0 / 378.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008055/0.05908, allocations: 0.772 MB / 379.1 MB, free: 9.254 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006984/0.05978, allocations: 236.2 kB / 379.3 MB, free: 9.023 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.06326, allocations: 2.671 MB / 382 MB, free: 6.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/0.06384, allocations: 0.7648 MB / 382.7 MB, free: 5.523 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.06403, allocations: 68.48 kB / 382.8 MB, free: 5.457 MB / 346.7 MB Notification: Performance of SimCode: time 1.904e-06/0.06403, allocations: 0 / 382.8 MB, free: 5.457 MB / 346.7 MB Notification: Performance of Templates: time 0.0204/0.08443, allocations: 22.71 MB / 405.5 MB, free: 14.82 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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: 5.320607276633382]