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.001785/0.001785, allocations: 105.1 kB / 21.18 MB, free: 0.7656 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.002032/0.002032, allocations: 213.7 kB / 24.49 MB, free: 4.152 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.49/1.49, allocations: 230.5 MB / 258.1 MB, free: 7.977 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.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 0.002085/0.002085, allocations: 59.89 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2489, allocations: 53.42 MB / 432.5 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005976/0.2549, allocations: 3.745 MB / 436.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.2574, allocations: 1.095 MB / 437.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004365/0.2579, allocations: 15.88 kB / 437.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003791/0.2582, allocations: 123 kB / 437.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000995/0.2592, allocations: 238.6 kB / 437.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.2597, allocations: 163.6 kB / 437.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.2611, allocations: 0.9691 MB / 438.8 MB, free: 372 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006342/0.2617, allocations: 363.5 kB / 439.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006994/0.2624, allocations: 426.5 kB / 439.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008858/0.2633, allocations: 0.5019 MB / 440.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00023/0.2635, allocations: 104 kB / 440.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.2638, allocations: 100 kB / 440.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000334/0.2641, allocations: 287.1 kB / 440.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006648/0.2648, allocations: 481.8 kB / 441 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.2663, allocations: 1.309 MB / 442.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2663, allocations: 0 / 442.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2663, allocations: 4 kB / 442.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.106e-05/0.2663, allocations: 0 / 442.3 MB, free: 12.8 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00288/0.2692, allocations: 1.326 MB / 443.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2693, allocations: 8.031 kB / 443.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004857/0.2697, allocations: 132.3 kB / 443.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.2709, allocations: 0.597 MB / 444.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.271, allocations: 53.23 kB / 444.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.2711, allocations: 64 kB / 444.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.2728, allocations: 0.9228 MB / 445.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.2728, allocations: 3.953 kB / 445.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.078e-05/0.2729, allocations: 27.98 kB / 445.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/0.273, allocations: 29.31 kB / 445.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.2745, allocations: 0.7936 MB / 446.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004766/0.2792, allocations: 2.741 MB / 449 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000919/0.2802, allocations: 499.9 kB / 449.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006438/0.2808, allocations: 312.4 kB / 449.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.2808, allocations: 8.328 kB / 449.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006781/0.2815, allocations: 377.9 kB / 450.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.594e-06/0.2815, allocations: 0 / 450.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.00296/0.2845, allocations: 1.119 MB / 451.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.541e-05/0.2846, allocations: 118.6 kB / 451.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009285/0.2855, allocations: 0.584 MB / 452 MB, free: 2.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.2856, allocations: 37.7 kB / 452.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/0.2859, allocations: 368.6 kB / 452.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.2861, allocations: 142.8 kB / 452.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.2862, allocations: 94.14 kB / 452.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.2864, allocations: 378.7 kB / 453 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004241/0.2869, allocations: 212.9 kB / 453.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005455/0.2874, allocations: 361.1 kB / 453.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009448/0.2883, allocations: 0.566 MB / 454.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.2884, allocations: 4 kB / 454.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001455/0.2898, allocations: 0.7473 MB / 454.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.2898, allocations: 4.5 kB / 454.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2898, allocations: 12 kB / 454.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005792/0.2904, allocations: 204.6 kB / 455.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.2907, allocations: 75.89 kB / 455.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00371/0.2945, allocations: 2.836 MB / 458 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.2949, allocations: 59.75 kB / 458.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/0.2949, allocations: 16 kB / 458.1 MB, free: 12.51 MB / 366.1 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.0005254/0.2955, allocations: 329.5 kB / 458.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.2956, allocations: 55.67 kB / 458.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.2958, allocations: 77.42 kB / 458.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2958, allocations: 4 kB / 458.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2958, allocations: 3.938 kB / 458.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.2958, allocations: 7.984 kB / 458.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.2986, allocations: 1.596 MB / 460.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2986, allocations: 0 / 460.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.2988, allocations: 51.91 kB / 460.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004907/0.2993, allocations: 196 kB / 460.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.2994, allocations: 8 kB / 460.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003599/0.303, allocations: 2.823 MB / 463.2 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.303, allocations: 0 / 463.2 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.305, allocations: 1.104 MB / 464.3 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.3053, allocations: 119.6 kB / 464.5 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.3055, allocations: 15.98 kB / 464.5 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.3058, allocations: 15.98 kB / 464.5 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.3059, allocations: 59.62 kB / 464.5 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.306, allocations: 15.98 kB / 464.6 MB, free: 5.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006335/0.3066, allocations: 430.8 kB / 465 MB, free: 5.414 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3066, allocations: 0 / 465 MB, free: 5.414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008057/0.3074, allocations: 207.5 kB / 465.2 MB, free: 5.211 MB / 366.1 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.0001824/0.3076, allocations: 119.9 kB / 465.3 MB, free: 5.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.309, allocations: 0.7089 MB / 466 MB, free: 4.363 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.309, allocations: 3.938 kB / 466 MB, free: 4.359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007799/0.3098, allocations: 463.2 kB / 466.5 MB, free: 3.895 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008702/0.3107, allocations: 146.4 kB / 466.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.3136, allocations: 1.512 MB / 468.1 MB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008265/0.3144, allocations: 1.066 MB / 469.2 MB, free: 1.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.3146, allocations: 43.44 kB / 469.2 MB, free: 1.074 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3146, allocations: 0 / 469.2 MB, free: 1.074 MB / 366.1 MB Notification: Performance of Templates: time 0.02004/0.3346, allocations: 13.14 MB / 482.4 MB, free: 3.969 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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: 8.675143006024882]