Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 94.86 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 199 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002428/0.0002429, allocations: 8 kB / 306.8 MB, free: 1.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1256, allocations: 51.49 MB / 358.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002362/0.128, allocations: 1.58 MB / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.13, allocations: 1.217 MB / 361.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1302, allocations: 7.938 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.1305, allocations: 59.8 kB / 361.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.1308, allocations: 103.6 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007351/0.1316, allocations: 223.4 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.1318, allocations: 155.5 kB / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.132, allocations: 25.53 kB / 361.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1321, allocations: 63.7 kB / 361.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.1322, allocations: 71.67 kB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.1322, allocations: 4 kB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.1324, allocations: 51.92 kB / 361.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.061e-05/0.1325, allocations: 43.83 kB / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.1325, allocations: 53.58 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.1328, allocations: 179.8 kB / 362.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.1328, allocations: 0 / 362.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1328, allocations: 0 / 362.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1328, allocations: 0 / 362.1 MB, free: 10.13 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007129/0.1335, allocations: 0.5 MB / 362.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1336, allocations: 15.97 kB / 362.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.199e-05/0.1336, allocations: 38.55 kB / 362.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.1337, allocations: 23.72 kB / 362.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.134, allocations: 290.3 kB / 363 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1341, allocations: 4 kB / 363 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.1341, allocations: 11.95 kB / 363 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.1344, allocations: 151.6 kB / 363.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1344, allocations: 4 kB / 363.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1345, allocations: 0 / 363.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.1345, allocations: 0 / 363.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1346, allocations: 39.91 kB / 363.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.1351, allocations: 386.3 kB / 363.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.1353, allocations: 123.8 kB / 363.7 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.711e-05/0.1354, allocations: 46.56 kB / 363.7 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.1355, allocations: 4 kB / 363.7 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.1357, allocations: 79.44 kB / 363.8 MB, free: 8.199 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1357, allocations: 4 kB / 363.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003821/0.1361, allocations: 157.2 kB / 364 MB, free: 8.035 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.1362, allocations: 154.2 kB / 364.1 MB, free: 7.848 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.1366, allocations: 338.7 kB / 364.5 MB, free: 7.504 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1366, allocations: 25.7 kB / 364.5 MB, free: 7.473 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1367, allocations: 128.1 kB / 364.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.1367, allocations: 24.05 kB / 364.6 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.1367, allocations: 0 / 364.6 MB, free: 7.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1369, allocations: 330.8 kB / 365 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-05/0.137, allocations: 23.98 kB / 365 MB, free: 6.965 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1371, allocations: 94.78 kB / 365.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.313e-05/0.1372, allocations: 31.94 kB / 365.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1372, allocations: 4 kB / 365.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002473/0.1375, allocations: 125.2 kB / 365.2 MB, free: 6.684 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1375, allocations: 4 kB / 365.2 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1375, allocations: 4 kB / 365.2 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1375, allocations: 4.125 kB / 365.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1377, allocations: 19.98 kB / 365.3 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1377, allocations: 0 / 365.3 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.652e-05/0.1377, allocations: 11.94 kB / 365.3 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1378, allocations: 4 kB / 365.3 MB, free: 6.637 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: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001534/0.1379, allocations: 157.7 kB / 365.4 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.193e-05/0.138, allocations: 65.41 kB / 365.5 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.1381, allocations: 33.77 kB / 365.5 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1381, allocations: 0 / 365.5 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1381, allocations: 4 kB / 365.5 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1381, allocations: 4.25 kB / 365.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.1383, allocations: 241.5 kB / 365.8 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1383, allocations: 7.938 kB / 365.8 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.223e-05/0.1384, allocations: 12 kB / 365.8 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1384, allocations: 0 / 365.8 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1384, allocations: 3.984 kB / 365.8 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1384, allocations: 4 kB / 365.8 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1385, allocations: 0 / 365.8 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.1387, allocations: 170.4 kB / 366 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.885e-05/0.1388, allocations: 116.8 kB / 366.1 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.1388, allocations: 4 kB / 366.1 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.364e-05/0.1389, allocations: 4 kB / 366.1 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.139, allocations: 12.02 kB / 366.1 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.139, allocations: 12 kB / 366.1 MB, free: 5.695 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002458/0.1393, allocations: 245.9 kB / 366.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1393, allocations: 0 / 366.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1395, allocations: 36 kB / 366.4 MB, free: 5.426 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001429/0.141, allocations: 1.023 MB / 367.4 MB, free: 4.508 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.1412, allocations: 75.84 kB / 367.5 MB, free: 4.434 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1412, allocations: 0 / 367.5 MB, free: 4.434 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.977e-05/0.1413, allocations: 27.98 kB / 367.5 MB, free: 4.406 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.1418, allocations: 63.62 kB / 367.6 MB, free: 4.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.1436, allocations: 1.194 MB / 368.8 MB, free: 3.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.144, allocations: 0.7477 MB / 369.5 MB, free: 2.309 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.947e-05/0.1441, allocations: 29.53 kB / 369.5 MB, free: 2.281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.1442, allocations: 63.41 kB / 369.6 MB, free: 2.219 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1442, allocations: 0 / 369.6 MB, free: 2.219 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2711/0.4153, allocations: 4.712 MB / 374.3 MB, free: 18.5 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.4156, allocations: 246.4 kB / 374.6 MB, free: 18.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.184/2.6, allocations: 0 / 374.6 MB, free: 18.25 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat