Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.001359/0.001359, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001381/0.001381, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.516/1.516, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 63.89 kB / 374.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1108, allocations: 53.32 MB / 427.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.2097/0.3206, allocations: 4.614 MB / 432.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002789/0.3234, allocations: 1.323 MB / 433.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004014/0.3238, allocations: 23.38 kB / 433.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.3241, allocations: 179.6 kB / 434 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009804/0.3251, allocations: 360.1 kB / 434.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.3255, allocations: 213.8 kB / 434.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001588/0.3271, allocations: 1.642 MB / 436.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009944/0.3281, allocations: 0.796 MB / 437 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.3292, allocations: 0.7025 MB / 437.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.3306, allocations: 0.8654 MB / 438.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002655/0.3309, allocations: 176.8 kB / 438.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003914/0.3313, allocations: 186.9 kB / 438.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004428/0.3317, allocations: 492.9 kB / 439.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008933/0.3326, allocations: 0.7951 MB / 440.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002732/0.3353, allocations: 2.28 MB / 442.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.3353, allocations: 1.5 kB / 442.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3353, allocations: 0 / 442.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.413e-05/0.3354, allocations: 0 / 442.5 MB, free: 5.18 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.004311/0.3397, allocations: 1.83 MB / 444.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3398, allocations: 8.969 kB / 444.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008499/0.3406, allocations: 217.1 kB / 444.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.3422, allocations: 1.041 MB / 445.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-05/0.3423, allocations: 78.39 kB / 445.6 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.3425, allocations: 106.5 kB / 445.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/0.3452, allocations: 1.557 MB / 447.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.3452, allocations: 9.859 kB / 447.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.3453, allocations: 42.25 kB / 447.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.829e-05/0.3454, allocations: 46.78 kB / 447.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/0.348, allocations: 1.431 MB / 448.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007861/0.3559, allocations: 4.908 MB / 453.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.3577, allocations: 1.391 MB / 455.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.3591, allocations: 0.6781 MB / 455.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.359e-05/0.3592, allocations: 9.094 kB / 455.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.3603, allocations: 0.6118 MB / 456.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.645e-06/0.3603, allocations: 1.156 kB / 456.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006477/0.3668, allocations: 2.431 MB / 458.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/0.3669, allocations: 86.33 kB / 458.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.3687, allocations: 0.9606 MB / 459.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001811/0.3689, allocations: 41.11 kB / 459.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006803/0.3696, allocations: 0.5489 MB / 460.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.3699, allocations: 240.1 kB / 460.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.3701, allocations: 131.5 kB / 460.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3703, allocations: 341 kB / 461.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008178/0.3711, allocations: 422 kB / 461.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008806/0.372, allocations: 0.551 MB / 462.1 MB, free: 9.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.3736, allocations: 0.9499 MB / 463.1 MB, free: 9.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3736, allocations: 2.344 kB / 463.1 MB, free: 9.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002637/0.3763, allocations: 1.282 MB / 464.4 MB, free: 8.387 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.3763, allocations: 11.5 kB / 464.4 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.3763, allocations: 3.875 kB / 464.4 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.3773, allocations: 397.1 kB / 464.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.3779, allocations: 121.8 kB / 464.9 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006381/0.3842, allocations: 4.507 MB / 469.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000879/0.3851, allocations: 80.14 kB / 469.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/0.3852, allocations: 28.98 kB / 469.5 MB, free: 4.734 MB / 366.1 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_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: 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.0009812/0.3862, allocations: 0.4905 MB / 470 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.3864, allocations: 102.2 kB / 470.1 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.3867, allocations: 130.6 kB / 470.2 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.3867, allocations: 6.531 kB / 470.2 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.3867, allocations: 0 / 470.2 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.3867, allocations: 5.609 kB / 470.2 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00455/0.3912, allocations: 2.579 MB / 472.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3912, allocations: 0 / 472.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004505/0.3917, allocations: 87.88 kB / 472.9 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009127/0.3926, allocations: 387.2 kB / 473.3 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/0.3927, allocations: 23.88 kB / 473.3 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006084/0.3988, allocations: 4.482 MB / 477.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3988, allocations: 0 / 477.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003537/0.4023, allocations: 1.955 MB / 479.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007245/0.403, allocations: 292.3 kB / 480 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.4032, allocations: 12 kB / 480 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.4036, allocations: 39.95 kB / 480.1 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.4039, allocations: 84.53 kB / 480.2 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.241e-05/0.4039, allocations: 17.59 kB / 480.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001114/0.405, allocations: 0.6903 MB / 480.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.405, allocations: 4 kB / 480.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001299/0.4063, allocations: 351.1 kB / 481.2 MB, free: 9.922 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,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 (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.0002451/0.4066, allocations: 136.7 kB / 481.4 MB, free: 9.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002482/0.4091, allocations: 1.245 MB / 482.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.4091, allocations: 4 kB / 482.6 MB, free: 8.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001386/0.4105, allocations: 0.7791 MB / 483.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.4117, allocations: 248.2 kB / 483.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005374/0.4171, allocations: 2.687 MB / 486.3 MB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.4183, allocations: 1.362 MB / 487.7 MB, free: 3.375 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.4186, allocations: 71.36 kB / 487.7 MB, free: 3.305 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4186, allocations: 0 / 487.7 MB, free: 3.305 MB / 382.1 MB Notification: Performance of Templates: time 0.03403/0.4526, allocations: 22.48 MB / 0.4983 GB, free: 12.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.711432453012094]