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.001877/0.001877, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002145/0.002145, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.625/1.625, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.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 0.001632/0.001632, allocations: 51.91 kB / 378.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2439, allocations: 53.37 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005718/0.2497, allocations: 3.442 MB / 435 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.252, allocations: 1.044 MB / 436.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003858/0.2524, allocations: 19.88 kB / 436.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.2527, allocations: 111.1 kB / 436.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008534/0.2536, allocations: 238.7 kB / 436.4 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.254, allocations: 167.6 kB / 436.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.255, allocations: 0.9651 MB / 437.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005453/0.2556, allocations: 343.5 kB / 437.9 MB, free: 352 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005517/0.2561, allocations: 430.6 kB / 438.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007378/0.2569, allocations: 0.4902 MB / 438.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.257, allocations: 100 kB / 438.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.2572, allocations: 108 kB / 439 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002787/0.2575, allocations: 279.1 kB / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004942/0.258, allocations: 390.2 kB / 439.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.2593, allocations: 1.318 MB / 441 MB, free: 13.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2593, allocations: 0 / 441 MB, free: 13.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2593, allocations: 4 kB / 441 MB, free: 13.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.2594, allocations: 3.938 kB / 441 MB, free: 13.25 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.002373/0.2617, allocations: 1.326 MB / 442.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2618, allocations: 12.03 kB / 442.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004079/0.2622, allocations: 124.3 kB / 442.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.2633, allocations: 0.597 MB / 443.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.2633, allocations: 53.25 kB / 443.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.2635, allocations: 68 kB / 443.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.265, allocations: 0.9362 MB / 444.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.2651, allocations: 11.89 kB / 444.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.57e-05/0.2651, allocations: 24 kB / 444.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-05/0.2652, allocations: 41.28 kB / 444.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.2666, allocations: 0.7935 MB / 445 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003885/0.2704, allocations: 2.421 MB / 447.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000827/0.2713, allocations: 492.8 kB / 447.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/0.2718, allocations: 313.3 kB / 448.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.2719, allocations: 4.328 kB / 448.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006456/0.2725, allocations: 407.5 kB / 448.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.816e-06/0.2725, allocations: 0 / 448.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002658/0.2752, allocations: 1.115 MB / 449.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.2753, allocations: 122.6 kB / 449.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006929/0.276, allocations: 0.5722 MB / 450.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.276, allocations: 33.7 kB / 450.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.2763, allocations: 368.6 kB / 450.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.2764, allocations: 146.8 kB / 450.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.2766, allocations: 90.14 kB / 451 MB, free: 2.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.2768, allocations: 366.8 kB / 451.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.2771, allocations: 220.8 kB / 451.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.2776, allocations: 389.4 kB / 452 MB, free: 1.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008778/0.2785, allocations: 0.5699 MB / 452.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.2785, allocations: 4 kB / 452.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001243/0.2798, allocations: 0.7473 MB / 453.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2798, allocations: 4.5 kB / 453.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.2798, allocations: 8 kB / 453.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005223/0.2803, allocations: 204.7 kB / 453.5 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.2806, allocations: 71.84 kB / 453.6 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/0.284, allocations: 2.783 MB / 456.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.2843, allocations: 55.75 kB / 456.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.2844, allocations: 23.94 kB / 456.4 MB, free: 13.28 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.0004368/0.2848, allocations: 337.5 kB / 456.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.373e-05/0.2849, allocations: 55.67 kB / 456.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.285, allocations: 69.39 kB / 456.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.285, allocations: 4 kB / 456.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.285, allocations: 0 / 456.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.285, allocations: 3.984 kB / 456.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.2874, allocations: 1.44 MB / 458.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.2874, allocations: 0 / 458.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.2877, allocations: 43.97 kB / 458.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000434/0.2881, allocations: 204.7 kB / 458.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.2881, allocations: 11.98 kB / 458.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003197/0.2913, allocations: 2.765 MB / 461.4 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2913, allocations: 0 / 461.4 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.2931, allocations: 1.104 MB / 462.5 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/0.2934, allocations: 119.6 kB / 462.6 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.207e-05/0.2935, allocations: 7.984 kB / 462.6 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.2937, allocations: 23.98 kB / 462.6 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.2939, allocations: 51.69 kB / 462.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.2939, allocations: 15.94 kB / 462.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006162/0.2945, allocations: 418.8 kB / 463.1 MB, free: 6.441 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2945, allocations: 3.938 kB / 463.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007078/0.2952, allocations: 203.5 kB / 463.3 MB, free: 6.238 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.0001607/0.2954, allocations: 123.4 kB / 463.4 MB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.2967, allocations: 0.7054 MB / 464.1 MB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2967, allocations: 0 / 464.1 MB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006908/0.2974, allocations: 454.5 kB / 464.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006577/0.298, allocations: 146.4 kB / 464.7 MB, free: 4.793 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.3005, allocations: 1.486 MB / 466.2 MB, free: 3.277 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.301, allocations: 486.1 kB / 466.7 MB, free: 2.777 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002471/0.3013, allocations: 92.69 kB / 466.8 MB, free: 2.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.3014, allocations: 39.42 kB / 466.8 MB, free: 2.648 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3014, allocations: 0 / 466.8 MB, free: 2.648 MB / 366.1 MB Notification: Performance of Templates: time 0.01858/0.32, allocations: 10.53 MB / 477.3 MB, free: 8.34 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.802362069487572]