Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001327, allocations: 94.75 kB / 16.98 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.001449/0.001449, allocations: 205.4 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.453/1.453, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002848, allocations: 8 kB / 306.7 MB, free: 1.504 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1457, allocations: 51.49 MB / 358.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002744/0.1486, allocations: 1.316 MB / 359.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.1498, allocations: 0.5108 MB / 360 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.1499, allocations: 0 / 360 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.997e-05/0.15, allocations: 3.938 kB / 360 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.1501, allocations: 19.91 kB / 360 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.1505, allocations: 47.34 kB / 360.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.1506, allocations: 31.95 kB / 360.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1507, allocations: 27.91 kB / 360.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1508, allocations: 23.91 kB / 360.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.888e-05/0.1509, allocations: 19.86 kB / 360.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.1509, allocations: 0 / 360.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.726e-05/0.151, allocations: 4 kB / 360.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/0.151, allocations: 11.98 kB / 360.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.151, allocations: 37.64 kB / 360.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.1511, allocations: 39.92 kB / 360.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1512, allocations: 8 kB / 360.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1512, allocations: 0 / 360.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1512, allocations: 0 / 360.3 MB, free: 11.9 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000536/0.1517, allocations: 379.1 kB / 360.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1518, allocations: 8.031 kB / 360.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.1518, allocations: 38.56 kB / 360.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.152, allocations: 19.89 kB / 360.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.1522, allocations: 202.6 kB / 360.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1523, allocations: 0 / 360.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.1523, allocations: 11.95 kB / 360.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.1526, allocations: 134.5 kB / 361.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1527, allocations: 4 kB / 361.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.1527, allocations: 7.984 kB / 361.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1527, allocations: 0 / 361.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.1528, allocations: 35.91 kB / 361.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.1533, allocations: 279.5 kB / 361.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1535, allocations: 94.36 kB / 361.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.1535, allocations: 7.984 kB / 361.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.1536, allocations: 42.62 kB / 361.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1536, allocations: 0 / 361.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003383/0.1539, allocations: 105.9 kB / 361.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.1541, allocations: 136.5 kB / 361.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.1542, allocations: 146.3 kB / 361.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1542, allocations: 29.64 kB / 361.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.1543, allocations: 88.31 kB / 362 MB, free: 9.887 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.1544, allocations: 11.91 kB / 362 MB, free: 9.875 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.1544, allocations: 0 / 362 MB, free: 9.875 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1545, allocations: 322.9 kB / 362.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.814e-05/0.1546, allocations: 12 kB / 362.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.287e-05/0.1547, allocations: 48.22 kB / 362.4 MB, free: 9.477 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.165e-05/0.1547, allocations: 23.98 kB / 362.4 MB, free: 9.453 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1548, allocations: 3.953 kB / 362.4 MB, free: 9.449 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001688/0.1549, allocations: 89.45 kB / 362.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.155, allocations: 4 kB / 362.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.155, allocations: 8.156 kB / 362.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.155, allocations: 0 / 362.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.1551, allocations: 12 kB / 362.5 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.1551, allocations: 0 / 362.5 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.846e-05/0.1552, allocations: 8.109 kB / 362.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.1552, allocations: 8 kB / 362.6 MB, free: 9.316 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.0001307/0.1553, allocations: 117.8 kB / 362.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/0.1554, allocations: 73.52 kB / 362.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.1555, allocations: 7.875 kB / 362.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1555, allocations: 4 kB / 362.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1555, allocations: 0 / 362.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.1555, allocations: 7.984 kB / 362.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.1558, allocations: 173.6 kB / 362.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1558, allocations: 0 / 362.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/0.1558, allocations: 19.94 kB / 363 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1558, allocations: 0 / 363 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.1559, allocations: 8 kB / 363 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1559, allocations: 3.938 kB / 363 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1559, allocations: 4.031 kB / 363 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.1562, allocations: 231.1 kB / 363.2 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.602e-05/0.1563, allocations: 96.98 kB / 363.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.1563, allocations: 4 kB / 363.3 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.1564, allocations: 4 kB / 363.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.1564, allocations: 0 / 363.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1564, allocations: 7.938 kB / 363.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.344e-05/0.1565, allocations: 119.3 kB / 363.4 MB, free: 8.324 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1565, allocations: 4 kB / 363.4 MB, free: 8.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.1568, allocations: 11.95 kB / 363.4 MB, free: 8.309 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0006679/0.1574, allocations: 0.973 MB / 364.4 MB, free: 7.285 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.1576, allocations: 48.11 kB / 364.5 MB, free: 7.238 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1576, allocations: 4.062 kB / 364.5 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.1577, allocations: 11.98 kB / 364.5 MB, free: 7.223 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.158, allocations: 28.02 kB / 364.5 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1593, allocations: 1.175 MB / 365.7 MB, free: 5.941 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.1597, allocations: 0.7004 MB / 366.4 MB, free: 5.215 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.577e-05/0.1597, allocations: 4 kB / 366.4 MB, free: 5.211 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.1598, allocations: 23.48 kB / 366.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1598, allocations: 0 / 366.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.1717, allocations: 1.58 MB / 368 MB, free: 3.746 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002791/0.1721, allocations: 188 kB / 368.2 MB, free: 3.504 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/1.943, allocations: 0 / 368.2 MB, free: 3.504 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat does not exist to compare? outputFormat=mat