Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008451/0.0008457, allocations: 101.3 kB / 17.01 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009467/0.0009473, allocations: 198.2 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.3 MB / 246 MB, free: 10.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002975, allocations: 4 kB / 306.8 MB, free: 1.246 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1385, allocations: 51.49 MB / 358.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.00189/0.1405, allocations: 1.207 MB / 359.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003495/0.1408, allocations: 147.6 kB / 359.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.784e-05/0.1409, allocations: 3.938 kB / 359.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.141, allocations: 3.938 kB / 359.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.1411, allocations: 7.938 kB / 359.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.1413, allocations: 23.97 kB / 359.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.834e-05/0.1414, allocations: 31.86 kB / 359.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1416, allocations: 15.97 kB / 359.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.207e-05/0.1416, allocations: 7.938 kB / 359.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.1417, allocations: 7.938 kB / 359.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1417, allocations: 4 kB / 359.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.1417, allocations: 0 / 359.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.1418, allocations: 11.98 kB / 359.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.1418, allocations: 33.64 kB / 359.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.02e-05/0.1419, allocations: 27.94 kB / 359.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1419, allocations: 0 / 359.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1419, allocations: 0 / 359.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1419, allocations: 0 / 359.8 MB, free: 12.21 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004742/0.1424, allocations: 355.4 kB / 360.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1424, allocations: 16.03 kB / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.1425, allocations: 34.56 kB / 360.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.1425, allocations: 7.906 kB / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.1427, allocations: 182.8 kB / 360.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1428, allocations: 0 / 360.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1428, allocations: 7.953 kB / 360.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.143, allocations: 89.11 kB / 360.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.143, allocations: 3.938 kB / 360.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.1431, allocations: 3.938 kB / 360.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1431, allocations: 0 / 360.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.464e-05/0.1431, allocations: 23.98 kB / 360.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.1435, allocations: 257.8 kB / 360.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.562e-05/0.1436, allocations: 53.09 kB / 360.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.1437, allocations: 21.77 kB / 360.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.1437, allocations: 0 / 360.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1437, allocations: 42.56 kB / 360.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.1437, allocations: 0 / 360.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002353/0.144, allocations: 69.52 kB / 361 MB, free: 10.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.144, allocations: 81.3 kB / 361.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1442, allocations: 140.6 kB / 361.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1442, allocations: 25.7 kB / 361.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.1443, allocations: 84.14 kB / 361.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.1443, allocations: 4 kB / 361.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.1443, allocations: 0 / 361.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1444, allocations: 314.8 kB / 361.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.521e-05/0.1445, allocations: 4 kB / 361.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.592e-05/0.1445, allocations: 33.7 kB / 361.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.972e-05/0.1446, allocations: 11.95 kB / 361.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1446, allocations: 0 / 361.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001169/0.1447, allocations: 61.62 kB / 361.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1447, allocations: 8.031 kB / 361.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1447, allocations: 3.984 kB / 361.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1448, allocations: 0 / 361.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.258e-05/0.1448, allocations: 8 kB / 361.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1448, allocations: 0 / 361.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/0.1449, allocations: 4 kB / 361.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1449, allocations: 0 / 361.7 MB, free: 10.04 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001074/0.145, allocations: 121.8 kB / 361.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.1451, allocations: 45.55 kB / 361.9 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.99e-05/0.1451, allocations: 15.83 kB / 361.9 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1451, allocations: 0 / 361.9 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.1451, allocations: 4 kB / 361.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.1451, allocations: 7.922 kB / 361.9 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.1454, allocations: 157.7 kB / 362.1 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1454, allocations: 3.953 kB / 362.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.1454, allocations: 11.98 kB / 362.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1454, allocations: 0 / 362.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.1454, allocations: 4.031 kB / 362.1 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1454, allocations: 0 / 362.1 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1454, allocations: 4 kB / 362.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.1456, allocations: 152.4 kB / 362.3 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.1457, allocations: 100.9 kB / 362.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1457, allocations: 7.969 kB / 362.4 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.878e-05/0.1458, allocations: 8 kB / 362.4 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.1458, allocations: 7.922 kB / 362.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.1458, allocations: 0 / 362.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.47e-05/0.1459, allocations: 99.27 kB / 362.5 MB, free: 9.191 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1459, allocations: 0 / 362.5 MB, free: 9.191 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.1461, allocations: 8 kB / 362.5 MB, free: 9.184 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: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005049/0.1466, allocations: 0.6898 MB / 363.2 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.1468, allocations: 32.02 kB / 363.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1468, allocations: 0 / 363.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.341e-05/0.1468, allocations: 8 kB / 363.2 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.1472, allocations: 26.33 kB / 363.2 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008684/0.1481, allocations: 436.4 kB / 363.7 MB, free: 7.922 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1484, allocations: 0.6809 MB / 364.4 MB, free: 7.215 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.576e-05/0.1484, allocations: 11.98 kB / 364.4 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.1484, allocations: 15.38 kB / 364.4 MB, free: 7.188 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1485, allocations: 0 / 364.4 MB, free: 7.188 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.1613, allocations: 1.152 MB / 365.5 MB, free: 6.215 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.1616, allocations: 206.6 kB / 365.7 MB, free: 5.969 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.067, allocations: 0 / 365.7 MB, free: 5.969 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat