Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009547/0.0009547, allocations: 80.62 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009523/0.0009523, allocations: 145.2 kB / 25.59 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9344/0.9344, allocations: 173.4 MB / 202.2 MB, free: 8.289 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 269.2 MB, free: 9.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.706e-05, allocations: 5.547 kB / 269.2 MB, free: 9.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005397/0.005424, allocations: 3.614 MB / 272.8 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.007343, allocations: 0.999 MB / 273.8 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003011/0.007644, allocations: 19.88 kB / 273.9 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.007906, allocations: 111.9 kB / 274 MB, free: 4.996 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007518/0.008658, allocations: 248.5 kB / 274.2 MB, free: 4.754 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.008941, allocations: 148.8 kB / 274.4 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000912/0.009853, allocations: 0.9803 MB / 275.3 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004606/0.01031, allocations: 329.7 kB / 275.7 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007521/0.01107, allocations: 0.6042 MB / 276.3 MB, free: 2.684 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007327/0.0118, allocations: 474.9 kB / 276.7 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.01199, allocations: 104 kB / 276.8 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.01215, allocations: 100.9 kB / 276.9 MB, free: 2.02 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.01241, allocations: 295.1 kB / 277.2 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000423/0.01283, allocations: 323.7 kB / 277.5 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009445/0.01378, allocations: 0.7788 MB / 278.3 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.01378, allocations: 0 / 278.3 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01378, allocations: 0 / 278.3 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.0138, allocations: 0 / 278.3 MB, free: 0.6328 MB / 250.7 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.002031/0.01583, allocations: 1.481 MB / 279.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.01587, allocations: 8.031 kB / 279.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.01606, allocations: 148.3 kB / 279.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006431/0.01671, allocations: 0.5019 MB / 280.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.01675, allocations: 49.69 kB / 280.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/0.01684, allocations: 68.38 kB / 280.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/0.01757, allocations: 0.5406 MB / 281.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.01759, allocations: 0 / 281.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/0.01765, allocations: 24 kB / 281.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.01769, allocations: 33.3 kB / 281.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.01805, allocations: 189 kB / 281.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.021, allocations: 2.234 MB / 283.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.0214, allocations: 259.2 kB / 283.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.02162, allocations: 136.2 kB / 284 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.02164, allocations: 4.328 kB / 284 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003214/0.02196, allocations: 273.7 kB / 284.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.743e-06/0.02197, allocations: 0 / 284.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001279/0.02324, allocations: 0.5195 MB / 284.8 MB, free: 9.922 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.0233, allocations: 106.8 kB / 284.9 MB, free: 9.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.02373, allocations: 0.4984 MB / 285.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.02377, allocations: 41.64 kB / 285.4 MB, free: 9.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.02402, allocations: 431.2 kB / 285.8 MB, free: 8.809 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.02413, allocations: 146.7 kB / 286 MB, free: 8.664 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.02427, allocations: 99.8 kB / 286.1 MB, free: 8.559 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.02446, allocations: 0.5507 MB / 286.6 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.02457, allocations: 44.95 kB / 286.7 MB, free: 7.953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.02481, allocations: 276.6 kB / 286.9 MB, free: 7.598 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.02518, allocations: 314.7 kB / 287.2 MB, free: 7.215 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.02519, allocations: 4 kB / 287.2 MB, free: 7.211 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006247/0.02581, allocations: 388.6 kB / 287.6 MB, free: 6.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.02583, allocations: 11.98 kB / 287.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.02584, allocations: 4 kB / 287.6 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003001/0.02614, allocations: 79.62 kB / 287.7 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.02636, allocations: 83.83 kB / 287.8 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.02818, allocations: 2.47 MB / 290.3 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.02839, allocations: 35.78 kB / 290.3 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.02842, allocations: 20 kB / 290.3 MB, free: 4.004 MB / 266.7 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.0001908/0.02861, allocations: 200.3 kB / 290.5 MB, free: 3.797 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.47e-05/0.02869, allocations: 75.56 kB / 290.6 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.618e-05/0.02878, allocations: 65.19 kB / 290.6 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.02879, allocations: 4 kB / 290.6 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.02879, allocations: 0 / 290.6 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.02879, allocations: 0 / 290.6 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.03009, allocations: 1.001 MB / 291.6 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.03009, allocations: 0 / 291.6 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.03025, allocations: 39.97 kB / 291.7 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002404/0.03049, allocations: 95.53 kB / 291.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.03051, allocations: 4 kB / 291.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.0323, allocations: 2.457 MB / 294.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.0323, allocations: 4 kB / 294.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/0.03297, allocations: 0.5316 MB / 294.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.03314, allocations: 111.5 kB / 294.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/0.03319, allocations: 4 kB / 294.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.03337, allocations: 19.98 kB / 294.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/0.03345, allocations: 39.86 kB / 294.9 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.03348, allocations: 12 kB / 295 MB, free: 15.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002494/0.03372, allocations: 314.7 kB / 295.3 MB, free: 14.85 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03372, allocations: 0 / 295.3 MB, free: 14.85 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006612/0.03439, allocations: 207.5 kB / 295.5 MB, free: 14.65 MB / 282.7 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.0001358/0.03452, allocations: 119.4 kB / 295.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006104/0.03513, allocations: 478.2 kB / 296.1 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.03514, allocations: 4 kB / 296.1 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.0355, allocations: 373.3 kB / 296.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.03607, allocations: 150 kB / 296.6 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.03808, allocations: 1.241 MB / 297.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.03829, allocations: 242.1 kB / 298 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.03846, allocations: 56.66 kB / 298.1 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.03875, allocations: 202.1 kB / 298.3 MB, free: 11.7 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03875, allocations: 0 / 298.3 MB, free: 11.7 MB / 282.7 MB Notification: Performance of Templates: time 0.01546/0.05421, allocations: 10.4 MB / 308.7 MB, free: 1.512 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8442092831246555]