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.001381/0.001381, allocations: 81.55 kB / 21.25 MB, free: 0.5469 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.001398/0.001398, allocations: 158.5 kB / 24.5 MB, free: 3.719 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.44/1.44, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.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.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99999,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=99999,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 0.001982/0.001982, allocations: 61.36 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1348, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004112/0.1389, allocations: 2.49 MB / 381.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1404, allocations: 0.6467 MB / 382.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.1405, allocations: 8 kB / 382.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.1407, allocations: 35.64 kB / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.1409, allocations: 79.28 kB / 382.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.1412, allocations: 95.86 kB / 382.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004722/0.1416, allocations: 358.7 kB / 382.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.1418, allocations: 61.12 kB / 382.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.142, allocations: 143.5 kB / 382.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.1422, allocations: 143.3 kB / 383 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.042e-05/0.1423, allocations: 28 kB / 383 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.072e-05/0.1423, allocations: 32 kB / 383 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.1425, allocations: 63.77 kB / 383.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.1426, allocations: 127.4 kB / 383.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.1431, allocations: 326.8 kB / 383.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1431, allocations: 0 / 383.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1431, allocations: 0 / 383.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.1431, allocations: 0 / 383.5 MB, free: 10.81 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001138/0.1442, allocations: 0.5711 MB / 384.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1443, allocations: 11.98 kB / 384.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.093e-05/0.1443, allocations: 36.75 kB / 384.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.1447, allocations: 190.7 kB / 384.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.1449, allocations: 161.5 kB / 384.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.1449, allocations: 28.38 kB / 384.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.1455, allocations: 332 kB / 384.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1455, allocations: 0 / 384.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.1455, allocations: 12 kB / 384.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1455, allocations: 4 kB / 384.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005199/0.146, allocations: 197.8 kB / 385.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.1473, allocations: 0.7272 MB / 385.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.1478, allocations: 190.7 kB / 386 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.1481, allocations: 117.1 kB / 386.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.1482, allocations: 0 / 386.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004247/0.1486, allocations: 258.9 kB / 386.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.1486, allocations: 0 / 386.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001425/0.15, allocations: 417.1 kB / 386.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.1501, allocations: 106.8 kB / 386.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.1503, allocations: 199.8 kB / 387 MB, free: 7.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.1503, allocations: 33.7 kB / 387.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.1505, allocations: 160.3 kB / 387.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/0.1505, allocations: 71.42 kB / 387.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1506, allocations: 53.94 kB / 387.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1508, allocations: 330.8 kB / 387.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.1511, allocations: 155.6 kB / 387.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.1515, allocations: 228.9 kB / 388.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006298/0.1521, allocations: 239.1 kB / 388.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1521, allocations: 0 / 388.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001269/0.1534, allocations: 466.9 kB / 388.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.269e-05/0.1534, allocations: 63.39 kB / 388.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1534, allocations: 0 / 388.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000463/0.1539, allocations: 112.7 kB / 388.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.1542, allocations: 35.97 kB / 389 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/0.1577, allocations: 1.93 MB / 390.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006755/0.1584, allocations: 71.92 kB / 391 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.1584, allocations: 4 kB / 391 MB, free: 2.875 MB / 350.1 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.0002206/0.1586, allocations: 143.5 kB / 391.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.1587, allocations: 19.86 kB / 391.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.137e-05/0.1588, allocations: 33.8 kB / 391.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.1588, allocations: 7.875 kB / 391.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1588, allocations: 0 / 391.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.1588, allocations: 7.938 kB / 391.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/0.1595, allocations: 347 kB / 391.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1595, allocations: 0 / 391.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.1598, allocations: 23.98 kB / 391.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004253/0.1602, allocations: 124.7 kB / 391.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.1602, allocations: 0 / 391.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003377/0.1636, allocations: 1.915 MB / 393.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.1636, allocations: 7.984 kB / 393.6 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.1649, allocations: 402.5 kB / 394 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.1651, allocations: 39.8 kB / 394 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/0.1651, allocations: 7.938 kB / 394 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.1654, allocations: 28.09 kB / 394 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.1656, allocations: 27.95 kB / 394.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.1656, allocations: 8 kB / 394.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.1658, allocations: 145.5 kB / 394.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1658, allocations: 0 / 394.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007712/0.1666, allocations: 87.89 kB / 394.3 MB, free: 15.36 MB / 366.1 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.000174/0.1667, allocations: 107.1 kB / 394.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.1683, allocations: 0.524 MB / 394.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.1683, allocations: 0 / 394.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006902/0.169, allocations: 238.5 kB / 395.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.1695, allocations: 60 kB / 395.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.1712, allocations: 0.524 MB / 395.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.1714, allocations: 142.2 kB / 395.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.1716, allocations: 9.656 kB / 395.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.1716, allocations: 20.48 kB / 395.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1716, allocations: 0 / 395.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of Templates: time 0.01495/0.1866, allocations: 4.815 MB / 400.7 MB, free: 8.875 MB / 366.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupplyWithBuffer/DemoPowerSupplyWithBuffer.csv","/var/lib/jenkins1/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.470849203993566]