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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008831/0.0008832, allocations: 102.5 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001033/0.001033, allocations: 201.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.000412, allocations: 8 kB / 306.7 MB, free: 1.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1558, allocations: 51.49 MB / 358.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002385/0.1583, allocations: 1.531 MB / 359.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1596, allocations: 0.6316 MB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.1598, allocations: 7.875 kB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.265e-05/0.1598, allocations: 11.86 kB / 360.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.1601, allocations: 27.91 kB / 360.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.1606, allocations: 91.77 kB / 360.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.1607, allocations: 91.73 kB / 360.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.1609, allocations: 49.45 kB / 360.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.1611, allocations: 43.78 kB / 360.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1612, allocations: 43.7 kB / 360.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1612, allocations: 0 / 360.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.989e-05/0.1613, allocations: 8 kB / 360.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.1613, allocations: 15.92 kB / 360.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.1614, allocations: 49.58 kB / 360.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.1615, allocations: 95.78 kB / 360.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1615, allocations: 4 kB / 360.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.1615, allocations: 0 / 360.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.83e-06/0.1616, allocations: 0 / 360.9 MB, free: 11.27 MB / 302.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.0006565/0.1622, allocations: 439.1 kB / 361.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.1623, allocations: 8.031 kB / 361.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.208e-05/0.1623, allocations: 42.55 kB / 361.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.1625, allocations: 31.8 kB / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.1628, allocations: 232.5 kB / 361.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1628, allocations: 8.141 kB / 361.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.1629, allocations: 8 kB / 361.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006247/0.1635, allocations: 299.6 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1635, allocations: 3.938 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.1635, allocations: 11.98 kB / 362 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1636, allocations: 0 / 362 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.1638, allocations: 83.89 kB / 362 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.1643, allocations: 427.4 kB / 362.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.1648, allocations: 306.4 kB / 362.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.1648, allocations: 12 kB / 362.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1649, allocations: 30.56 kB / 362.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.1649, allocations: 4 kB / 362.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005497/0.1654, allocations: 241.5 kB / 363 MB, free: 8.859 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.1656, allocations: 187.9 kB / 363.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1658, allocations: 179.1 kB / 363.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.1658, allocations: 33.7 kB / 363.4 MB, free: 8.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.1659, allocations: 100.1 kB / 363.5 MB, free: 8.309 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.1659, allocations: 15.83 kB / 363.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-06/0.1659, allocations: 4 kB / 363.5 MB, free: 8.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.166, allocations: 330.8 kB / 363.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.983e-05/0.1661, allocations: 23.98 kB / 363.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.1663, allocations: 130.6 kB / 364 MB, free: 7.754 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.818e-05/0.1664, allocations: 43.97 kB / 364.1 MB, free: 7.711 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1664, allocations: 0 / 364.1 MB, free: 7.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002517/0.1666, allocations: 169.1 kB / 364.2 MB, free: 7.539 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1666, allocations: 8 kB / 364.2 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1667, allocations: 4 kB / 364.2 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1667, allocations: 4.5 kB / 364.2 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1668, allocations: 43.92 kB / 364.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.1668, allocations: 11.92 kB / 364.3 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.086e-05/0.1669, allocations: 11.94 kB / 364.3 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.1669, allocations: 8 kB / 364.3 MB, free: 7.449 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.1671, allocations: 141.7 kB / 364.5 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/0.1674, allocations: 157.2 kB / 364.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.792e-05/0.1674, allocations: 21.41 kB / 364.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1674, allocations: 4 kB / 364.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1674, allocations: 0 / 364.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.1675, allocations: 7.984 kB / 364.6 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.1677, allocations: 210 kB / 364.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1677, allocations: 4 kB / 364.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.1679, allocations: 43.94 kB / 364.9 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.1679, allocations: 4 kB / 364.9 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1679, allocations: 8 kB / 364.9 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.1679, allocations: 11.92 kB / 364.9 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1679, allocations: 240 / 364.9 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.1684, allocations: 426 kB / 365.3 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.705e-05/0.1685, allocations: 112.8 kB / 365.4 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.1686, allocations: 4 kB / 365.4 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.1687, allocations: 15.95 kB / 365.5 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.1688, allocations: 3.984 kB / 365.5 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1688, allocations: 12 kB / 365.5 MB, free: 6.156 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1689, allocations: 133.2 kB / 365.6 MB, free: 6.027 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1689, allocations: 4 kB / 365.6 MB, free: 6.023 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003141/0.1692, allocations: 20 kB / 365.6 MB, free: 6.004 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007931/0.17, allocations: 1.218 MB / 366.8 MB, free: 4.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.1703, allocations: 112.7 kB / 367 MB, free: 4.621 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1703, allocations: 0 / 367 MB, free: 4.621 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.571e-05/0.1704, allocations: 24.05 kB / 367 MB, free: 4.598 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.1709, allocations: 100.1 kB / 367.1 MB, free: 4.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.1738, allocations: 3.31 MB / 370.4 MB, free: 1.051 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.1742, allocations: 0.7319 MB / 371.1 MB, free: 300 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.913e-05/0.1742, allocations: 13.55 kB / 371.1 MB, free: 288 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/0.1743, allocations: 43.17 kB / 371.2 MB, free: 252 kB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1743, allocations: 0 / 371.2 MB, free: 252 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2137/0.3881, allocations: 2.979 MB / 374.2 MB, free: 19.27 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.3883, allocations: 205.8 kB / 374.4 MB, free: 19.03 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.268, allocations: 0 / 374.4 MB, free: 19.03 MB / 302.1 MB (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/linux/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 --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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat does not exist to compare? outputFormat=mat