Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008955/0.000896, allocations: 104.4 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009173/0.0009174, allocations: 192.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246 MB, free: 10.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002299/0.0002301, allocations: 11.98 kB / 306.8 MB, free: 1.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1174, allocations: 51.49 MB / 358.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002137/0.1196, allocations: 1.539 MB / 359.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1206, allocations: 0.6352 MB / 360.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1207, allocations: 3.938 kB / 360.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.1209, allocations: 23.86 kB / 360.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.169e-05/0.121, allocations: 11.86 kB / 360.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.1213, allocations: 83.84 kB / 360.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1214, allocations: 127.5 kB / 360.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.1216, allocations: 57.44 kB / 360.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1217, allocations: 43.78 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.928e-05/0.1218, allocations: 39.72 kB / 360.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1218, allocations: 4 kB / 360.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.383e-05/0.1219, allocations: 7.938 kB / 360.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.289e-05/0.1219, allocations: 23.91 kB / 360.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.122, allocations: 45.58 kB / 360.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.1222, allocations: 95.8 kB / 361 MB, free: 10.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1222, allocations: 0 / 361 MB, free: 10.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1222, allocations: 0 / 361 MB, free: 10.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.1222, allocations: 0 / 361 MB, free: 10.99 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.0006744/0.1229, allocations: 445.9 kB / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.155e-05/0.123, allocations: 8.031 kB / 361.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.123, allocations: 42.55 kB / 361.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.1232, allocations: 23.81 kB / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.1234, allocations: 232.6 kB / 361.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1235, allocations: 8.188 kB / 361.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.1235, allocations: 15.94 kB / 361.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005669/0.1241, allocations: 291.5 kB / 362.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1241, allocations: 0 / 362.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1241, allocations: 7.938 kB / 362.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1241, allocations: 0 / 362.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.1243, allocations: 95.77 kB / 362.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.1248, allocations: 431.4 kB / 362.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/0.1253, allocations: 306 kB / 362.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.1255, allocations: 124.3 kB / 363 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.1255, allocations: 7.984 kB / 363 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1255, allocations: 46.5 kB / 363.1 MB, free: 8.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.1256, allocations: 0 / 363.1 MB, free: 8.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005526/0.1261, allocations: 233.5 kB / 363.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.1263, allocations: 207.8 kB / 363.5 MB, free: 8.191 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.1264, allocations: 175.1 kB / 363.7 MB, free: 8.012 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1264, allocations: 33.7 kB / 363.7 MB, free: 7.973 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.1265, allocations: 104.8 kB / 363.8 MB, free: 7.863 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.1266, allocations: 15.84 kB / 363.8 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-06/0.1266, allocations: 4 kB / 363.8 MB, free: 7.844 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1267, allocations: 330.8 kB / 364.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.618e-05/0.1268, allocations: 23.98 kB / 364.2 MB, free: 7.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.1269, allocations: 135.4 kB / 364.3 MB, free: 7.301 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.127, allocations: 47.97 kB / 364.4 MB, free: 7.254 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1271, allocations: 4 kB / 364.4 MB, free: 7.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002712/0.1273, allocations: 177.5 kB / 364.5 MB, free: 7.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1274, allocations: 11.95 kB / 364.5 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1274, allocations: 4 kB / 364.6 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1274, allocations: 8 kB / 364.6 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.1275, allocations: 43.91 kB / 364.6 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.1276, allocations: 4 kB / 364.6 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.009e-05/0.1276, allocations: 11.91 kB / 364.6 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.1277, allocations: 12 kB / 364.6 MB, free: 6.977 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001199/0.1278, allocations: 145.9 kB / 364.8 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.1281, allocations: 149.3 kB / 364.9 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.089e-05/0.1282, allocations: 25.34 kB / 364.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1282, allocations: 4 kB / 364.9 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1282, allocations: 0 / 364.9 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.1282, allocations: 8.031 kB / 365 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.1285, allocations: 221.5 kB / 365.2 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1285, allocations: 0 / 365.2 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.1286, allocations: 35.98 kB / 365.2 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1286, allocations: 0 / 365.2 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1287, allocations: 8 kB / 365.2 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.1287, allocations: 7.938 kB / 365.2 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1287, allocations: 4 kB / 365.2 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.1291, allocations: 369 kB / 365.6 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-05/0.1292, allocations: 116.8 kB / 365.7 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.1292, allocations: 4 kB / 365.7 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1294, allocations: 15.98 kB / 365.7 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.1294, allocations: 3.953 kB / 365.7 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1294, allocations: 15.94 kB / 365.7 MB, free: 5.758 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.1295, allocations: 133.2 kB / 365.9 MB, free: 5.629 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.124e-06/0.1296, allocations: 4 kB / 365.9 MB, free: 5.625 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00031/0.1299, allocations: 23.94 kB / 365.9 MB, free: 5.602 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: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0008515/0.1307, allocations: 0.9809 MB / 366.9 MB, free: 4.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.131, allocations: 120.7 kB / 367 MB, free: 4.469 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.131, allocations: 3.938 kB / 367 MB, free: 4.465 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.268e-05/0.1311, allocations: 16.05 kB / 367 MB, free: 4.449 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.1317, allocations: 111.1 kB / 367.1 MB, free: 4.344 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.1332, allocations: 0.9488 MB / 368.1 MB, free: 3.277 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.1336, allocations: 0.7241 MB / 368.8 MB, free: 2.527 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.024e-05/0.1336, allocations: 29.59 kB / 368.8 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/0.1337, allocations: 39.42 kB / 368.9 MB, free: 2.465 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1337, allocations: 0 / 368.9 MB, free: 2.465 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.216/0.3497, allocations: 3.067 MB / 371.9 MB, free: 18.75 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.35, allocations: 207.8 kB / 372.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.235, allocations: 1.203 kB / 372.1 MB, free: 18.52 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat does not exist to compare? outputFormat=mat