Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.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.001758/0.001758, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002124/0.002124, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.497/1.497, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 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.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|bufferCapacitor.v|bufferCapacitor.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|bufferCapacitor.v|bufferCapacitor.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.815e-05, allocations: 2.312 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.006388/0.006416, allocations: 2.473 MB / 274.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.008501, allocations: 0.6543 MB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002652/0.008766, allocations: 4 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.009009, allocations: 43.58 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.009371, allocations: 75.28 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.009829, allocations: 99.78 kB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007899/0.01062, allocations: 370.6 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.01086, allocations: 61.05 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005004/0.01136, allocations: 215.6 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004125/0.01177, allocations: 115.6 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.01189, allocations: 32 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.309e-05/0.01198, allocations: 32 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.01208, allocations: 59.8 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.01232, allocations: 107.7 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007039/0.01303, allocations: 350.9 kB / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.01303, allocations: 3.984 kB / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01304, allocations: 0 / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.01305, allocations: 0 / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001859/0.01491, allocations: 0.5633 MB / 277.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.01496, allocations: 15.98 kB / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.01516, allocations: 48.75 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/0.01576, allocations: 197.1 kB / 277.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.01598, allocations: 157.6 kB / 277.9 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.01609, allocations: 32.38 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009434/0.01703, allocations: 328.4 kB / 278.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.01706, allocations: 192 / 278.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/0.01711, allocations: 12.12 kB / 278.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.01713, allocations: 8 kB / 278.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008641/0.01799, allocations: 193.9 kB / 278.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.02011, allocations: 0.7272 MB / 279.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/0.02093, allocations: 186.7 kB / 279.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/0.02145, allocations: 116.8 kB / 279.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.02148, allocations: 4 kB / 279.5 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006918/0.02217, allocations: 255.2 kB / 279.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.164e-06/0.02217, allocations: 0 / 279.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.002612/0.02478, allocations: 429.4 kB / 280.1 MB, free: 9.617 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.0249, allocations: 110.8 kB / 280.2 MB, free: 9.484 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.02526, allocations: 199.8 kB / 280.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.02532, allocations: 37.64 kB / 280.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.02551, allocations: 156.4 kB / 280.6 MB, free: 9.078 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.02563, allocations: 67.44 kB / 280.7 MB, free: 9.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.02581, allocations: 53.94 kB / 280.7 MB, free: 8.953 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002731/0.02609, allocations: 330.8 kB / 281.1 MB, free: 8.621 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/0.02662, allocations: 155.6 kB / 281.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000639/0.02726, allocations: 232.9 kB / 281.4 MB, free: 8.199 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008743/0.02814, allocations: 238.9 kB / 281.7 MB, free: 7.945 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.02814, allocations: 0 / 281.7 MB, free: 7.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00152/0.02966, allocations: 479.2 kB / 282.1 MB, free: 7.445 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.046e-05/0.02975, allocations: 63.39 kB / 282.2 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.02976, allocations: 0 / 282.2 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/0.03031, allocations: 116.6 kB / 282.3 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.0306, allocations: 35.97 kB / 282.3 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004081/0.03468, allocations: 1.931 MB / 284.3 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007672/0.03545, allocations: 71.83 kB / 284.3 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/0.0355, allocations: 12 kB / 284.4 MB, free: 5.109 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (dcPowerSupply.cp,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,diode.off,dcPowerSupply.cc,dcPowerSupply.cv,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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 {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002691/0.03577, allocations: 137.8 kB / 284.5 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/0.03586, allocations: 27.86 kB / 284.5 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.146e-05/0.03595, allocations: 29.8 kB / 284.6 MB, free: 4.902 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.03596, allocations: 4 kB / 284.6 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.03596, allocations: 0 / 284.6 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.03597, allocations: 3.938 kB / 284.6 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007793/0.03675, allocations: 354.9 kB / 284.9 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.03675, allocations: 0 / 284.9 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.037, allocations: 23.98 kB / 284.9 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004594/0.03746, allocations: 116.7 kB / 285 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.03749, allocations: 4 kB / 285 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004053/0.04155, allocations: 1.938 MB / 287 MB, free: 2.324 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.04155, allocations: 7.969 kB / 287 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.04305, allocations: 405.8 kB / 287.4 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.04319, allocations: 35.86 kB / 287.4 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.04325, allocations: 11.94 kB / 287.4 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.04359, allocations: 19.97 kB / 287.5 MB, free: 1.832 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.04373, allocations: 36.02 kB / 287.5 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.04376, allocations: 4 kB / 287.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002237/0.04398, allocations: 149.5 kB / 287.6 MB, free: 1.648 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04398, allocations: 3.938 kB / 287.6 MB, free: 1.645 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006722/0.04466, allocations: 87.89 kB / 287.7 MB, free: 1.559 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (bufferCapacitor.v) * Number of discrete variables: 6 ($whenCondition1,dcPowerSupply.cv,dcPowerSupply.cc,diode.off,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001562/0.04481, allocations: 111.1 kB / 287.8 MB, free: 1.438 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.04589, allocations: 0.5232 MB / 288.4 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.0459, allocations: 0 / 288.4 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004975/0.04639, allocations: 242.3 kB / 288.6 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.04676, allocations: 48.47 kB / 288.6 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.04788, allocations: 0.5054 MB / 289.2 MB, free: 40 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.04804, allocations: 138.2 kB / 289.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.152e-05/0.04812, allocations: 21.62 kB / 289.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.04818, allocations: 20.5 kB / 289.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.04818, allocations: 0 / 289.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of Templates: time 0.01055/0.05873, allocations: 4.785 MB / 294.1 MB, free: 11.12 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupplyWithBuffer/DemoPowerSupplyWithBuffer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.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.466236599022523]