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.001122/0.001121, allocations: 95.31 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 195.7 kB / 17.91 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.3 MB / 246 MB, free: 10.24 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003177, allocations: 8 kB / 306.8 MB, free: 1.25 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1206, allocations: 51.5 MB / 358.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002323/0.123, allocations: 1.539 MB / 359.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1242, allocations: 0.6356 MB / 360.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.1243, allocations: 7.938 kB / 360.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.1244, allocations: 15.86 kB / 360.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.1246, allocations: 19.84 kB / 360.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.1249, allocations: 79.8 kB / 360.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1251, allocations: 131.5 kB / 360.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.1253, allocations: 53.44 kB / 360.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1255, allocations: 51.72 kB / 360.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.968e-05/0.1256, allocations: 31.8 kB / 360.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1256, allocations: 4 kB / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.786e-05/0.1256, allocations: 7.984 kB / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.1257, allocations: 23.86 kB / 360.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.1257, allocations: 45.64 kB / 361 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1259, allocations: 99.78 kB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1259, allocations: 0 / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1259, allocations: 0 / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.126, allocations: 0 / 361 MB, free: 11 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.0006624/0.1266, allocations: 435.1 kB / 361.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1267, allocations: 11.97 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.86e-05/0.1267, allocations: 46.5 kB / 361.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.1269, allocations: 31.8 kB / 361.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.1272, allocations: 232.6 kB / 361.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1272, allocations: 4.188 kB / 361.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.1273, allocations: 11.95 kB / 361.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005889/0.1278, allocations: 296.5 kB / 362.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1279, allocations: 4 kB / 362.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.1279, allocations: 4 kB / 362.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1279, allocations: 0 / 362.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.1281, allocations: 87.88 kB / 362.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005955/0.1287, allocations: 427.4 kB / 362.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004758/0.1292, allocations: 310.1 kB / 362.9 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.1295, allocations: 112.4 kB / 363 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.1295, allocations: 11.98 kB / 363 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1295, allocations: 38.5 kB / 363.1 MB, free: 8.707 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.1295, allocations: 0 / 363.1 MB, free: 8.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006019/0.1301, allocations: 233.2 kB / 363.3 MB, free: 8.473 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.1303, allocations: 196.7 kB / 363.5 MB, free: 8.238 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.1305, allocations: 179.1 kB / 363.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.1305, allocations: 29.7 kB / 363.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.1306, allocations: 104.1 kB / 363.8 MB, free: 7.914 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.1307, allocations: 11.84 kB / 363.8 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.1307, allocations: 4 kB / 363.8 MB, free: 7.898 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1308, allocations: 326.8 kB / 364.1 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.244e-05/0.1309, allocations: 23.98 kB / 364.2 MB, free: 7.547 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.1311, allocations: 137.2 kB / 364.3 MB, free: 7.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.245e-05/0.1312, allocations: 47.95 kB / 364.3 MB, free: 7.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1312, allocations: 0 / 364.3 MB, free: 7.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002612/0.1314, allocations: 165.3 kB / 364.5 MB, free: 7.148 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1315, allocations: 11.98 kB / 364.5 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.1315, allocations: 4 kB / 364.5 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.1315, allocations: 4 kB / 364.5 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1316, allocations: 35.92 kB / 364.5 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.1316, allocations: 4 kB / 364.6 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.37e-05/0.1317, allocations: 16.31 kB / 364.6 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.1318, allocations: 12 kB / 364.6 MB, free: 7.062 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.0001484/0.1319, allocations: 149.6 kB / 364.7 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.1322, allocations: 149.4 kB / 364.9 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/0.1323, allocations: 25.42 kB / 364.9 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1323, allocations: 8.031 kB / 364.9 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1323, allocations: 0 / 364.9 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1323, allocations: 4 kB / 364.9 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.1326, allocations: 221.5 kB / 365.1 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1326, allocations: 0 / 365.1 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.1328, allocations: 31.98 kB / 365.2 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.1328, allocations: 4 kB / 365.2 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1328, allocations: 11.98 kB / 365.2 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1328, allocations: 3.938 kB / 365.2 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1328, allocations: 4 kB / 365.2 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/0.1334, allocations: 365 kB / 365.5 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1335, allocations: 116.8 kB / 365.6 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.1335, allocations: 4 kB / 365.7 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.1337, allocations: 15.98 kB / 365.7 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.1337, allocations: 3.938 kB / 365.7 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.1337, allocations: 12 kB / 365.7 MB, free: 5.848 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1338, allocations: 133.3 kB / 365.8 MB, free: 5.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1339, allocations: 3.938 kB / 365.8 MB, free: 5.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003108/0.1342, allocations: 20 kB / 365.8 MB, free: 5.695 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.0007186/0.1349, allocations: 0.9014 MB / 366.7 MB, free: 4.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.1352, allocations: 122.2 kB / 366.9 MB, free: 4.637 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1352, allocations: 1 kB / 366.9 MB, free: 4.637 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.743e-05/0.1352, allocations: 16.06 kB / 366.9 MB, free: 4.621 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.1359, allocations: 104.1 kB / 367 MB, free: 4.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.1376, allocations: 0.9838 MB / 368 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.1379, allocations: 0.728 MB / 368.7 MB, free: 2.664 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.534e-05/0.138, allocations: 13.55 kB / 368.7 MB, free: 2.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.1381, allocations: 43.42 kB / 368.7 MB, free: 2.613 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1381, allocations: 0 / 368.7 MB, free: 2.613 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2191/0.3572, allocations: 2.97 MB / 371.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.3574, allocations: 208.3 kB / 371.9 MB, free: 18.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.224, allocations: 1.969 kB / 371.9 MB, free: 18.41 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