Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001445/0.001445, allocations: 118.2 kB / 18.49 MB, free: 4.566 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.001385/0.001385, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.71/1.71, allocations: 230.4 MB / 254.7 MB, free: 15.19 MB / 206.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 63.91 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1541, allocations: 53.37 MB / 427.1 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003605/0.1577, allocations: 1.888 MB / 429 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1593, allocations: 0.6974 MB / 429.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.1594, allocations: 7.938 kB / 429.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.1596, allocations: 23.73 kB / 429.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.1597, allocations: 27.73 kB / 429.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.1602, allocations: 111.7 kB / 429.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.1604, allocations: 143.6 kB / 430 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.1606, allocations: 45.7 kB / 430 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.1608, allocations: 67.7 kB / 430.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1609, allocations: 43.72 kB / 430.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.1609, allocations: 12 kB / 430.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.037e-05/0.161, allocations: 20 kB / 430.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.161, allocations: 27.86 kB / 430.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.101e-05/0.1611, allocations: 63.55 kB / 430.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.1614, allocations: 155.2 kB / 430.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.1614, allocations: 8 kB / 430.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1614, allocations: 3.938 kB / 430.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1614, allocations: 0 / 430.4 MB, free: 1.277 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007548/0.1622, allocations: 450.8 kB / 430.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1622, allocations: 12.03 kB / 430.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.974e-05/0.1622, allocations: 384 / 430.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.44e-05/0.1623, allocations: 42.73 kB / 430.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.1625, allocations: 28.84 kB / 430.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004886/0.163, allocations: 255.7 kB / 431.2 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.163, allocations: 8 kB / 431.2 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.163, allocations: 4 kB / 431.2 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006315/0.1637, allocations: 288.3 kB / 431.5 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1637, allocations: 0 / 431.5 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.1637, allocations: 0 / 431.5 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.1637, allocations: 11.94 kB / 431.5 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.1639, allocations: 79.86 kB / 431.6 MB, free: 0 / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.1645, allocations: 427.4 kB / 432 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.1651, allocations: 286 kB / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.1653, allocations: 104.4 kB / 432.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.1653, allocations: 7.938 kB / 432.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.1654, allocations: 42.5 kB / 432.4 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.1654, allocations: 0 / 432.4 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006323/0.166, allocations: 209.7 kB / 432.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001799/0.1662, allocations: 204.3 kB / 432.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1664, allocations: 178.3 kB / 433 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.1664, allocations: 29.7 kB / 433 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/0.1665, allocations: 108.1 kB / 433.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.1665, allocations: 7.984 kB / 433.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.111e-05/0.1666, allocations: 37.67 kB / 433.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.1668, allocations: 326.8 kB / 433.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.774e-05/0.1669, allocations: 31.89 kB / 433.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.167, allocations: 130.5 kB / 433.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.1673, allocations: 157.6 kB / 433.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1673, allocations: 4 kB / 433.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003235/0.1676, allocations: 165.6 kB / 434 MB, free: 13.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.1676, allocations: 13.91 kB / 434 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.1676, allocations: 7.984 kB / 434 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1677, allocations: 4 kB / 434 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.1678, allocations: 35.92 kB / 434 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1678, allocations: 4 kB / 434 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.1679, allocations: 15.94 kB / 434 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.1679, allocations: 8 kB / 434 MB, free: 13.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.1681, allocations: 133.8 kB / 434.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004047/0.1685, allocations: 149.4 kB / 434.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.693e-05/0.1685, allocations: 21.39 kB / 434.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1685, allocations: 4 kB / 434.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1686, allocations: 0 / 434.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.1686, allocations: 7.938 kB / 434.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.1689, allocations: 217.5 kB / 434.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.1689, allocations: 7.938 kB / 434.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.169, allocations: 35.92 kB / 434.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.169, allocations: 4.031 kB / 434.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.1691, allocations: 4 kB / 434.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1691, allocations: 3.984 kB / 434.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1691, allocations: 4 kB / 434.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000496/0.1696, allocations: 361.1 kB / 435 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.1697, allocations: 112.9 kB / 435.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.1697, allocations: 4.094 kB / 435.1 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.1699, allocations: 19.92 kB / 435.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.1699, allocations: 0 / 435.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1699, allocations: 4.234 kB / 435.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.17, allocations: 140.3 kB / 435.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.17, allocations: 4 kB / 435.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003531/0.1704, allocations: 20 kB / 435.3 MB, free: 11.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009118/0.1713, allocations: 0.8924 MB / 436.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003332/0.1716, allocations: 116.4 kB / 436.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.1716, allocations: 4.25 kB / 436.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.018e-05/0.1717, allocations: 15.94 kB / 436.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007126/0.1724, allocations: 106 kB / 436.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/0.1754, allocations: 2.069 MB / 438.5 MB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.1758, allocations: 0.7202 MB / 439.2 MB, free: 7.641 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.167e-05/0.1759, allocations: 17.55 kB / 439.2 MB, free: 7.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.746e-05/0.1759, allocations: 43.42 kB / 439.2 MB, free: 7.586 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1759, allocations: 0 / 439.2 MB, free: 7.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.1994, allocations: 3.457 MB / 442.7 MB, free: 4.297 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.31/8.509, allocations: 19.66 kB / 442.7 MB, free: 4.277 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98486e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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: 11.555054689990357]