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.001278/0.001278, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001439/0.001439, allocations: 209.2 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.55/1.55, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001591/0.001591, allocations: 51.86 kB / 378.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2321, allocations: 53.36 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006568/0.2386, allocations: 4.199 MB / 435.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.2414, allocations: 1.274 MB / 437.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003674/0.2418, allocations: 27.81 kB / 437.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004281/0.2422, allocations: 174.6 kB / 437.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.2432, allocations: 374 kB / 437.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.2437, allocations: 211.6 kB / 437.8 MB, free: 444 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001846/0.2456, allocations: 1.631 MB / 439.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008861/0.2465, allocations: 0.5834 MB / 440 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009955/0.2475, allocations: 0.7047 MB / 440.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.2486, allocations: 0.8795 MB / 441.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002581/0.2489, allocations: 176 kB / 441.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003304/0.2492, allocations: 184 kB / 442 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004706/0.2497, allocations: 490.5 kB / 442.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007353/0.2504, allocations: 0.6379 MB / 443.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.2527, allocations: 2.295 MB / 445.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2527, allocations: 0 / 445.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2527, allocations: 0 / 445.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.515e-05/0.2527, allocations: 7.984 kB / 445.4 MB, free: 8.805 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.003662/0.2564, allocations: 2.063 MB / 447.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2564, allocations: 8.031 kB / 447.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000729/0.2571, allocations: 219.9 kB / 447.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.259, allocations: 0.9787 MB / 448.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-05/0.259, allocations: 74.44 kB / 448.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.2592, allocations: 108.1 kB / 448.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/0.2618, allocations: 1.586 MB / 450.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.2618, allocations: 4 kB / 450.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.2619, allocations: 43.94 kB / 450.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-05/0.262, allocations: 46.03 kB / 450.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/0.2645, allocations: 1.437 MB / 452 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007117/0.2716, allocations: 4.308 MB / 456.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.2731, allocations: 0.9305 MB / 457.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.2744, allocations: 0.6806 MB / 457.9 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.415e-05/0.2745, allocations: 8.656 kB / 457.9 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.2755, allocations: 0.6452 MB / 458.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.246e-06/0.2755, allocations: 0 / 458.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006027/0.2816, allocations: 2.36 MB / 460.9 MB, free: 8.957 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.2816, allocations: 85.77 kB / 461 MB, free: 8.855 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.2829, allocations: 0.9306 MB / 461.9 MB, free: 7.914 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-05/0.283, allocations: 37.7 kB / 461.9 MB, free: 7.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/0.2835, allocations: 0.5513 MB / 462.5 MB, free: 7.312 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.2838, allocations: 245.9 kB / 462.7 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.284, allocations: 130.7 kB / 462.9 MB, free: 6.938 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2842, allocations: 333.9 kB / 463.2 MB, free: 6.605 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007335/0.2849, allocations: 417.7 kB / 463.6 MB, free: 6.199 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008524/0.2857, allocations: 0.5737 MB / 464.2 MB, free: 5.566 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.2873, allocations: 0.9483 MB / 465.1 MB, free: 4.562 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.2874, allocations: 4 kB / 465.1 MB, free: 4.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002238/0.2896, allocations: 1.283 MB / 466.4 MB, free: 3.266 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2896, allocations: 4 kB / 466.4 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.2896, allocations: 4 kB / 466.4 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009369/0.2906, allocations: 411 kB / 466.8 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.291, allocations: 103.9 kB / 466.9 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005755/0.2968, allocations: 4.313 MB / 471.2 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006053/0.2974, allocations: 79.64 kB / 471.3 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.2975, allocations: 27.98 kB / 471.3 MB, free: 14.23 MB / 382.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_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.000769/0.2982, allocations: 0.4985 MB / 471.8 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.2984, allocations: 99.33 kB / 471.9 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.2986, allocations: 124.5 kB / 472.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.2986, allocations: 8 kB / 472.1 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2986, allocations: 0 / 472.1 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.2986, allocations: 7.969 kB / 472.1 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003943/0.3026, allocations: 2.278 MB / 474.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3026, allocations: 0 / 474.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.303, allocations: 83.88 kB / 474.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008395/0.3039, allocations: 389 kB / 474.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/0.3039, allocations: 19.92 kB / 474.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005613/0.3095, allocations: 4.279 MB / 479.1 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3095, allocations: 4 kB / 479.1 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003153/0.3127, allocations: 1.94 MB / 481 MB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005791/0.3133, allocations: 223.1 kB / 481.3 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.3134, allocations: 16.12 kB / 481.3 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/0.3138, allocations: 55.88 kB / 481.3 MB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.314, allocations: 80.5 kB / 481.4 MB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-05/0.3141, allocations: 16 kB / 481.4 MB, free: 3.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009184/0.315, allocations: 0.6707 MB / 482.1 MB, free: 3.285 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.315, allocations: 0 / 482.1 MB, free: 3.285 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001036/0.316, allocations: 355.1 kB / 482.4 MB, free: 2.938 MB / 382.1 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.0001886/0.3162, allocations: 129.3 kB / 482.6 MB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002234/0.3184, allocations: 1.241 MB / 483.8 MB, free: 1.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3184, allocations: 4 kB / 483.8 MB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.3197, allocations: 0.7802 MB / 484.6 MB, free: 0.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.3207, allocations: 243.1 kB / 484.8 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.3255, allocations: 2.688 MB / 487.5 MB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008904/0.3264, allocations: 0.8025 MB / 488.3 MB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004235/0.3268, allocations: 171.2 kB / 488.5 MB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.327, allocations: 55.44 kB / 488.6 MB, free: 12.73 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.327, allocations: 0 / 488.6 MB, free: 12.73 MB / 398.1 MB Notification: Performance of Templates: time 0.03201/0.359, allocations: 19.07 MB / 0.4957 GB, free: 9.992 MB / 414.1 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.359474779106677]