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.001002/0.001002, allocations: 100 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.001195/0.001196, allocations: 200.6 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: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002695, allocations: 11.98 kB / 306.7 MB, free: 1.281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.128, allocations: 51.49 MB / 358.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002364/0.1304, allocations: 1.531 MB / 359.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1316, allocations: 0.6355 MB / 360.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.1318, allocations: 0 / 360.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.573e-05/0.1318, allocations: 7.875 kB / 360.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.1321, allocations: 35.88 kB / 360.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.1325, allocations: 83.78 kB / 360.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.1327, allocations: 91.73 kB / 360.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.1329, allocations: 61.31 kB / 360.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.133, allocations: 39.84 kB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.579e-05/0.1331, allocations: 43.72 kB / 360.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1332, allocations: 4 kB / 360.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.984e-05/0.1332, allocations: 8 kB / 360.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.1333, allocations: 19.91 kB / 360.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.1333, allocations: 49.58 kB / 360.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.1335, allocations: 87.8 kB / 360.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.1335, allocations: 0 / 360.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1335, allocations: 0 / 360.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1335, allocations: 0 / 360.9 MB, free: 11.09 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.000652/0.1342, allocations: 443.1 kB / 361.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.1342, allocations: 8.031 kB / 361.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.956e-05/0.1343, allocations: 46.55 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.1345, allocations: 23.81 kB / 361.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.1348, allocations: 240.5 kB / 361.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1348, allocations: 8.188 kB / 361.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.1349, allocations: 15.95 kB / 361.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.1355, allocations: 293.4 kB / 361.9 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1355, allocations: 4 kB / 361.9 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.1355, allocations: 4 kB / 362 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1355, allocations: 4 kB / 362 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.1357, allocations: 83.83 kB / 362 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.1363, allocations: 431.4 kB / 362.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.1368, allocations: 302.2 kB / 362.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.1368, allocations: 12.11 kB / 362.8 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.1369, allocations: 42.5 kB / 362.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.1369, allocations: 0 / 362.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005764/0.1374, allocations: 233.5 kB / 363 MB, free: 8.668 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.1376, allocations: 207.7 kB / 363.2 MB, free: 8.422 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.1377, allocations: 179.1 kB / 363.4 MB, free: 8.238 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.1378, allocations: 29.98 kB / 363.4 MB, free: 8.203 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/0.1379, allocations: 104.5 kB / 363.5 MB, free: 8.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.1379, allocations: 19.83 kB / 363.6 MB, free: 8.074 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-06/0.1379, allocations: 4 kB / 363.6 MB, free: 8.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.138, allocations: 326.8 kB / 363.9 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.676e-05/0.1381, allocations: 31.92 kB / 363.9 MB, free: 7.711 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.1382, allocations: 138.9 kB / 364.1 MB, free: 7.523 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.177e-05/0.1383, allocations: 51.97 kB / 364.1 MB, free: 7.473 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1384, allocations: 4 kB / 364.1 MB, free: 7.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002753/0.1386, allocations: 177.4 kB / 364.3 MB, free: 7.289 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1387, allocations: 8 kB / 364.3 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1387, allocations: 11.89 kB / 364.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1387, allocations: 4 kB / 364.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.1388, allocations: 39.92 kB / 364.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.1388, allocations: 7.984 kB / 364.4 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.914e-05/0.139, allocations: 15.91 kB / 364.4 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.139, allocations: 12.16 kB / 364.4 MB, free: 7.191 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.0001301/0.1391, allocations: 141.8 kB / 364.5 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.1394, allocations: 145.4 kB / 364.7 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.1395, allocations: 25.39 kB / 364.7 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1395, allocations: 8.188 kB / 364.7 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.1395, allocations: 4.031 kB / 364.7 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1395, allocations: 7.938 kB / 364.7 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.1398, allocations: 213.6 kB / 364.9 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1398, allocations: 4 kB / 364.9 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.14, allocations: 39.98 kB / 365 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.14, allocations: 0 / 365 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.14, allocations: 4 kB / 365 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.14, allocations: 3.984 kB / 365 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.14, allocations: 11.89 kB / 365 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.1405, allocations: 415.8 kB / 365.4 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.1407, allocations: 116.8 kB / 365.5 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.1407, allocations: 4 kB / 365.5 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.1409, allocations: 23.98 kB / 365.5 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.1409, allocations: 4 kB / 365.5 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1409, allocations: 7.984 kB / 365.5 MB, free: 5.902 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.141, allocations: 129.2 kB / 365.7 MB, free: 5.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.141, allocations: 0 / 365.7 MB, free: 5.777 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.1414, allocations: 20 kB / 365.7 MB, free: 5.758 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.001236/0.1426, allocations: 1.303 MB / 367 MB, free: 4.402 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002983/0.1429, allocations: 127.7 kB / 367.1 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1429, allocations: 1.062 kB / 367.1 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.628e-05/0.143, allocations: 15.98 kB / 367.1 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.1435, allocations: 111.4 kB / 367.2 MB, free: 4.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.1466, allocations: 3.336 MB / 370.6 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2225/0.3692, allocations: 0.7277 MB / 371.3 MB, free: 19.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.3693, allocations: 16.14 kB / 371.3 MB, free: 19.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.3695, allocations: 43.8 kB / 371.4 MB, free: 19.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.455e-06/0.3695, allocations: 0 / 371.4 MB, free: 19.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.384, allocations: 3.07 MB / 374.4 MB, free: 19.03 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001339/0.3842, allocations: 203.8 kB / 374.6 MB, free: 18.79 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.273, allocations: 4.469 kB / 374.6 MB, free: 18.79 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