Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.TickBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00104/0.00104, allocations: 100.8 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.001295/0.001295, allocations: 199.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.565/1.565, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002842, allocations: 8 kB / 306.7 MB, free: 1.289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1289, allocations: 51.49 MB / 358.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.001855/0.1308, allocations: 1.188 MB / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002034/0.131, allocations: 35.86 kB / 359.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.411e-05/0.1311, allocations: 0 / 359.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.1311, allocations: 0 / 359.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.194e-05/0.1312, allocations: 11.92 kB / 359.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.1315, allocations: 19.97 kB / 359.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.785e-05/0.1316, allocations: 23.92 kB / 359.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1317, allocations: 7.984 kB / 359.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.091e-05/0.1317, allocations: 15.92 kB / 359.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.1318, allocations: 23.86 kB / 359.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1318, allocations: 0 / 359.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.1318, allocations: 0 / 359.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.1319, allocations: 11.98 kB / 359.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.1319, allocations: 25.7 kB / 359.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.465e-05/0.132, allocations: 27.94 kB / 359.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.132, allocations: 0 / 359.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.132, allocations: 0 / 359.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.132, allocations: 0 / 359.6 MB, free: 12.4 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005321/0.1326, allocations: 351.5 kB / 359.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.398e-05/0.1326, allocations: 15.97 kB / 359.9 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.616e-05/0.1327, allocations: 30.56 kB / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1327, allocations: 11.91 kB / 360 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.1329, allocations: 167.1 kB / 360.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.133, allocations: 4 kB / 360.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.133, allocations: 11.94 kB / 360.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005944/0.1336, allocations: 163.2 kB / 360.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1336, allocations: 4 kB / 360.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1336, allocations: 0 / 360.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.1337, allocations: 0 / 360.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.1339, allocations: 55.94 kB / 360.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.1341, allocations: 161.6 kB / 360.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.1344, allocations: 86.45 kB / 360.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.1344, allocations: 0 / 360.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.1345, allocations: 46.67 kB / 360.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1345, allocations: 0 / 360.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005123/0.135, allocations: 117.5 kB / 360.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.1351, allocations: 55.41 kB / 360.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.188e-05/0.1352, allocations: 105.8 kB / 360.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1352, allocations: 29.7 kB / 361 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.1353, allocations: 80.14 kB / 361 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.1353, allocations: 4 kB / 361.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.1353, allocations: 4 kB / 361.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1354, allocations: 322.8 kB / 361.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.1355, allocations: 4 kB / 361.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-05/0.1355, allocations: 31.44 kB / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.544e-05/0.1355, allocations: 11.98 kB / 361.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1355, allocations: 4 kB / 361.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.508e-05/0.1356, allocations: 61.55 kB / 361.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1357, allocations: 7.938 kB / 361.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1357, allocations: 3.953 kB / 361.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1357, allocations: 7.984 kB / 361.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.884e-05/0.1358, allocations: 7.938 kB / 361.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1358, allocations: 4.312 kB / 361.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.1358, allocations: 0 / 361.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1358, allocations: 4.125 kB / 361.5 MB, free: 10.23 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: 2 (ramp.counter,$CLKPRE.ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001042/0.1359, allocations: 118.5 kB / 361.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.1363, allocations: 89.62 kB / 361.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.1363, allocations: 7.906 kB / 361.7 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1363, allocations: 3.953 kB / 361.7 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1363, allocations: 3.938 kB / 361.7 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1363, allocations: 0 / 361.7 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.1365, allocations: 161.6 kB / 361.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1365, allocations: 0 / 361.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.814e-05/0.1366, allocations: 15.98 kB / 361.9 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1366, allocations: 4 kB / 361.9 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1366, allocations: 3.984 kB / 361.9 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1366, allocations: 7.984 kB / 361.9 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1366, allocations: 4.188 kB / 361.9 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.1369, allocations: 121 kB / 362 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.137, allocations: 85.05 kB / 362.1 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.137, allocations: 0 / 362.1 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.605e-05/0.1371, allocations: 7.984 kB / 362.1 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-06/0.1371, allocations: 8 kB / 362.1 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.1371, allocations: 3.953 kB / 362.1 MB, free: 9.484 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.187e-05/0.1372, allocations: 83.28 kB / 362.2 MB, free: 9.402 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.924e-06/0.1372, allocations: 0 / 362.2 MB, free: 9.402 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002044/0.1374, allocations: 7.938 kB / 362.2 MB, free: 9.395 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * 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.0008379/0.1382, allocations: 0.6944 MB / 362.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.1385, allocations: 39.91 kB / 363 MB, free: 8.629 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1385, allocations: 0 / 363 MB, free: 8.629 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.1385, allocations: 0 / 363 MB, free: 8.629 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.1389, allocations: 39.97 kB / 363 MB, free: 8.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009968/0.1399, allocations: 0.8489 MB / 363.9 MB, free: 7.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.1402, allocations: 0.6926 MB / 364.6 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.348e-05/0.1403, allocations: 4 kB / 364.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.1403, allocations: 23.36 kB / 364.6 MB, free: 6.934 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1403, allocations: 0 / 364.6 MB, free: 6.934 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.1538, allocations: 1.24 MB / 365.8 MB, free: 5.852 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/0.1541, allocations: 206 kB / 366 MB, free: 5.605 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.058, allocations: 0 / 366 MB, free: 5.605 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat does not exist to compare? outputFormat=mat