Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.BooleanSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009938/0.0009949, allocations: 100.8 kB / 17.01 MB, free: 6.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001334, allocations: 194.9 kB / 17.91 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.603/1.603, allocations: 227.3 MB / 246 MB, free: 10.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002775/0.0002775, allocations: 4 kB / 306.8 MB, free: 1.254 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1237, allocations: 51.5 MB / 358.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.00286/0.1266, allocations: 1.603 MB / 359.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.1289, allocations: 1.166 MB / 361.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.1292, allocations: 7.938 kB / 361.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006155/0.1298, allocations: 127.7 kB / 361.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.1302, allocations: 135.5 kB / 361.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.1308, allocations: 175.4 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.131, allocations: 175.5 kB / 361.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1311, allocations: 37.62 kB / 361.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1312, allocations: 67.64 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1314, allocations: 71.62 kB / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.1314, allocations: 8 kB / 361.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1315, allocations: 39.98 kB / 361.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.577e-05/0.1316, allocations: 43.81 kB / 362 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.1317, allocations: 53.58 kB / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1319, allocations: 159.9 kB / 362.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1319, allocations: 0 / 362.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1319, allocations: 3.938 kB / 362.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1319, allocations: 0 / 362.2 MB, free: 9.887 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007425/0.1327, allocations: 500 kB / 362.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1327, allocations: 16.03 kB / 362.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.1328, allocations: 42.48 kB / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.1328, allocations: 19.81 kB / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.1332, allocations: 265.6 kB / 363 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1332, allocations: 4 kB / 363 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.1332, allocations: 11.95 kB / 363 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.1336, allocations: 167.5 kB / 363.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1336, allocations: 0 / 363.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1336, allocations: 4 kB / 363.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1337, allocations: 3.938 kB / 363.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1338, allocations: 43.91 kB / 363.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.1343, allocations: 375.2 kB / 363.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.1346, allocations: 142.5 kB / 363.7 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1347, allocations: 51.42 kB / 363.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.1347, allocations: 4 kB / 363.8 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.1349, allocations: 83.31 kB / 363.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.914e-06/0.135, allocations: 0 / 363.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004119/0.1354, allocations: 145.4 kB / 364 MB, free: 7.789 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/0.1355, allocations: 166.5 kB / 364.2 MB, free: 7.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.1358, allocations: 286.5 kB / 364.4 MB, free: 7.301 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.1359, allocations: 33.7 kB / 364.5 MB, free: 7.262 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.136, allocations: 120.5 kB / 364.6 MB, free: 7.137 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.136, allocations: 19.8 kB / 364.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/0.136, allocations: 4 kB / 364.6 MB, free: 7.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1362, allocations: 330.8 kB / 364.9 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.804e-05/0.1363, allocations: 19.98 kB / 365 MB, free: 6.762 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.1364, allocations: 87.7 kB / 365 MB, free: 6.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.25e-05/0.1365, allocations: 31.94 kB / 365.1 MB, free: 6.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1365, allocations: 32 / 365.1 MB, free: 6.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002327/0.1367, allocations: 129.3 kB / 365.2 MB, free: 6.484 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1368, allocations: 8 kB / 365.2 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1368, allocations: 0 / 365.2 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1368, allocations: 4 kB / 365.2 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.1369, allocations: 19.92 kB / 365.2 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1369, allocations: 4 kB / 365.2 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.889e-05/0.137, allocations: 16.03 kB / 365.3 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.137, allocations: 8 kB / 365.3 MB, free: 6.426 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001556/0.1372, allocations: 149.7 kB / 365.4 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1373, allocations: 73.34 kB / 365.5 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.306e-05/0.1374, allocations: 29.7 kB / 365.5 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1374, allocations: 0 / 365.5 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1374, allocations: 0 / 365.5 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1374, allocations: 4 kB / 365.5 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.1377, allocations: 237.6 kB / 365.7 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1377, allocations: 320 / 365.7 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.342e-05/0.1377, allocations: 11.98 kB / 365.8 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1377, allocations: 4 kB / 365.8 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1378, allocations: 4 kB / 365.8 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1378, allocations: 4 kB / 365.8 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1378, allocations: 0 / 365.8 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.138, allocations: 179.2 kB / 365.9 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.1382, allocations: 120.8 kB / 366.1 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.1382, allocations: 4 kB / 366.1 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.375e-05/0.1383, allocations: 4 kB / 366.1 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.1383, allocations: 7.984 kB / 366.1 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.1384, allocations: 4 kB / 366.1 MB, free: 5.488 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002239/0.1386, allocations: 210 kB / 366.3 MB, free: 5.285 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1386, allocations: 0 / 366.3 MB, free: 5.285 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.1389, allocations: 35.98 kB / 366.3 MB, free: 5.25 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: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.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 (11): * Single equations (assignments): 9 * 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.001578/0.1405, allocations: 1.027 MB / 367.4 MB, free: 4.328 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.1408, allocations: 79.84 kB / 367.4 MB, free: 4.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1408, allocations: 0 / 367.4 MB, free: 4.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.143e-05/0.1408, allocations: 19.98 kB / 367.4 MB, free: 4.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.1413, allocations: 71.88 kB / 367.5 MB, free: 4.164 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.143, allocations: 1.076 MB / 368.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1434, allocations: 0.7362 MB / 369.3 MB, free: 2.246 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.1435, allocations: 25.52 kB / 369.4 MB, free: 2.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.1436, allocations: 59.36 kB / 369.4 MB, free: 2.164 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1436, allocations: 0 / 369.4 MB, free: 2.164 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2284/0.372, allocations: 4.417 MB / 373.8 MB, free: 18.95 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/0.3722, allocations: 241.6 kB / 374.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/2.407, allocations: 3.625 kB / 374.1 MB, free: 18.7 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat does not exist to compare? outputFormat=mat