Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009214/0.0009216, allocations: 98.98 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008945/0.0008946, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003313, allocations: 4 kB / 306.8 MB, free: 1.246 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1237, allocations: 51.49 MB / 358.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002054/0.1258, allocations: 1.281 MB / 359.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009006/0.1267, allocations: 499.1 kB / 360.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.239e-05/0.1269, allocations: 0 / 360.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.1269, allocations: 3.938 kB / 360.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.127, allocations: 11.92 kB / 360.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.1273, allocations: 39.91 kB / 360.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.691e-05/0.1274, allocations: 39.86 kB / 360.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.046e-05/0.1275, allocations: 11.97 kB / 360.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.1276, allocations: 23.91 kB / 360.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.487e-05/0.1277, allocations: 19.92 kB / 360.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1277, allocations: 0 / 360.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.954e-05/0.1277, allocations: 7.938 kB / 360.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.001e-05/0.1278, allocations: 4 kB / 360.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.1278, allocations: 37.64 kB / 360.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.391e-05/0.1279, allocations: 43.92 kB / 360.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1279, allocations: 3.938 kB / 360.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1279, allocations: 0 / 360.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.257e-06/0.1279, allocations: 0 / 360.3 MB, free: 11.73 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004451/0.1284, allocations: 371.2 kB / 360.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1284, allocations: 8.031 kB / 360.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.816e-05/0.1285, allocations: 38.56 kB / 360.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.1286, allocations: 23.89 kB / 360.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1288, allocations: 182.9 kB / 360.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.453e-06/0.1288, allocations: 0 / 360.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.1288, allocations: 11.94 kB / 360.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.1291, allocations: 121 kB / 361.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.1292, allocations: 0 / 361.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1292, allocations: 4 kB / 361.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1292, allocations: 0 / 361.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.807e-05/0.1293, allocations: 23.92 kB / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.1296, allocations: 269.7 kB / 361.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.1298, allocations: 142.2 kB / 361.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.457e-05/0.1299, allocations: 29.77 kB / 361.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.1299, allocations: 3.984 kB / 361.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.1299, allocations: 38.56 kB / 361.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1299, allocations: 0 / 361.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002352/0.1301, allocations: 85.52 kB / 361.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.1302, allocations: 81.09 kB / 361.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1303, allocations: 141.9 kB / 361.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.1303, allocations: 25.7 kB / 361.9 MB, free: 9.898 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.1304, allocations: 92.08 kB / 362 MB, free: 9.805 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.1304, allocations: 11.89 kB / 362 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.1304, allocations: 0 / 362 MB, free: 9.793 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.99e-05/0.1305, allocations: 314.8 kB / 362.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.221e-05/0.1306, allocations: 11.98 kB / 362.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.734e-05/0.1306, allocations: 39.38 kB / 362.4 MB, free: 9.414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.69e-05/0.1307, allocations: 19.94 kB / 362.4 MB, free: 9.395 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1307, allocations: 0 / 362.4 MB, free: 9.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001276/0.1308, allocations: 77.61 kB / 362.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1308, allocations: 6.5 kB / 362.5 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1308, allocations: 4 kB / 362.5 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1309, allocations: 0 / 362.5 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.1309, allocations: 8 kB / 362.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1309, allocations: 7.922 kB / 362.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.131, allocations: 15.83 kB / 362.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.131, allocations: 8.125 kB / 362.5 MB, free: 9.266 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 8.061e-05/0.1311, allocations: 118.9 kB / 362.6 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.1312, allocations: 45.69 kB / 362.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.1312, allocations: 12.25 kB / 362.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1312, allocations: 0 / 362.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1312, allocations: 0 / 362.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1312, allocations: 0 / 362.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.1314, allocations: 177.9 kB / 362.8 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1314, allocations: 7.953 kB / 362.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.572e-05/0.1315, allocations: 15.94 kB / 362.9 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1315, allocations: 0 / 362.9 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.1315, allocations: 4 kB / 362.9 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1315, allocations: 0 / 362.9 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1315, allocations: 0 / 362.9 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.1317, allocations: 176.3 kB / 363 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.1317, allocations: 93.05 kB / 363.1 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.1318, allocations: 3.984 kB / 363.1 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.408e-05/0.1318, allocations: 4 kB / 363.1 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.1319, allocations: 0 / 363.1 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.1319, allocations: 4 kB / 363.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.3e-05/0.1319, allocations: 111.2 kB / 363.3 MB, free: 8.398 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.132, allocations: 3.938 kB / 363.3 MB, free: 8.395 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.1322, allocations: 8 kB / 363.3 MB, free: 8.387 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0004029/0.1326, allocations: 0.7015 MB / 364 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.1327, allocations: 39.92 kB / 364 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1327, allocations: 0 / 364 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.914e-05/0.1328, allocations: 11.98 kB / 364 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.1331, allocations: 20.02 kB / 364 MB, free: 7.582 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000759/0.1339, allocations: 0.51 MB / 364.5 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.1342, allocations: 0.6887 MB / 365.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.99e-05/0.1342, allocations: 7.922 kB / 365.2 MB, free: 6.285 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.1342, allocations: 19.44 kB / 365.3 MB, free: 6.266 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1342, allocations: 0 / 365.3 MB, free: 6.266 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.146, allocations: 1.315 MB / 366.6 MB, free: 5.094 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.1463, allocations: 188 kB / 366.8 MB, free: 4.855 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/1.929, allocations: 4 kB / 366.8 MB, free: 4.852 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat does not exist to compare? outputFormat=mat