Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.001211, allocations: 99.98 kB / 16.99 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.001278/0.001279, allocations: 197.7 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002615, allocations: 4 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.131, allocations: 51.49 MB / 358.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001958/0.133, allocations: 1.129 MB / 359.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001893/0.1332, allocations: 35.84 kB / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.201e-05/0.1332, allocations: 4 kB / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.1333, allocations: 0 / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.855e-05/0.1333, allocations: 7.984 kB / 359.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.1336, allocations: 15.98 kB / 359.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.434e-05/0.1337, allocations: 19.91 kB / 359.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1338, allocations: 11.98 kB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.922e-05/0.1339, allocations: 4 kB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.1339, allocations: 15.92 kB / 359.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.134, allocations: 3.984 kB / 359.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.134, allocations: 4 kB / 359.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.134, allocations: 4 kB / 359.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.134, allocations: 33.58 kB / 359.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.305e-05/0.1341, allocations: 23.95 kB / 359.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1341, allocations: 0 / 359.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.1341, allocations: 4 kB / 359.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1342, allocations: 0 / 359.5 MB, free: 12.45 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.0004649/0.1346, allocations: 331.5 kB / 359.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.1347, allocations: 12.03 kB / 359.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/0.1347, allocations: 34.55 kB / 359.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.1348, allocations: 0 / 359.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.135, allocations: 186.9 kB / 360.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.1351, allocations: 0 / 360.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.1351, allocations: 7.953 kB / 360.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.1355, allocations: 119.2 kB / 360.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1356, allocations: 0 / 360.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1356, allocations: 0 / 360.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1356, allocations: 0 / 360.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1357, allocations: 23.98 kB / 360.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.1358, allocations: 157.7 kB / 360.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.136, allocations: 50.59 kB / 360.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.136, allocations: 0 / 360.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.136, allocations: 38.45 kB / 360.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.1361, allocations: 0 / 360.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002572/0.1363, allocations: 73.8 kB / 360.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.1364, allocations: 63.41 kB / 360.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/0.1365, allocations: 105.8 kB / 360.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1365, allocations: 25.7 kB / 360.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.287e-05/0.1366, allocations: 84.14 kB / 360.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.1366, allocations: 3.938 kB / 360.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.1366, allocations: 4 kB / 360.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002673/0.1369, allocations: 310.8 kB / 361.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.1369, allocations: 11.98 kB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.285e-05/0.137, allocations: 31.38 kB / 361.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.466e-05/0.137, allocations: 12 kB / 361.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.137, allocations: 0 / 361.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001332/0.1371, allocations: 57.72 kB / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1372, allocations: 8 kB / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1372, allocations: 3.953 kB / 361.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1372, allocations: 0 / 361.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.547e-05/0.1373, allocations: 4 kB / 361.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.1373, allocations: 7.938 kB / 361.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.1373, allocations: 7.984 kB / 361.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1373, allocations: 4.375 kB / 361.3 MB, free: 10.47 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.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.0001004/0.1375, allocations: 105.8 kB / 361.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.1376, allocations: 73.61 kB / 361.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.1376, allocations: 3.5 kB / 361.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1377, allocations: 4.188 kB / 361.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1377, allocations: 4 kB / 361.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1377, allocations: 3.938 kB / 361.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.1378, allocations: 161.6 kB / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1378, allocations: 0 / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.1378, allocations: 11.92 kB / 361.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1379, allocations: 0 / 361.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1379, allocations: 4 kB / 361.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1379, allocations: 0 / 361.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1379, allocations: 11.95 kB / 361.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.1381, allocations: 81.11 kB / 361.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.1381, allocations: 85.02 kB / 361.8 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.1381, allocations: 0 / 361.8 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.909e-05/0.1382, allocations: 7.984 kB / 361.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-06/0.1382, allocations: 3.938 kB / 361.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1382, allocations: 3.953 kB / 361.8 MB, free: 9.805 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.264e-05/0.1382, allocations: 87.28 kB / 361.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1383, allocations: 0 / 361.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002046/0.1385, allocations: 4 kB / 361.9 MB, free: 9.715 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.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.0006121/0.1391, allocations: 0.6359 MB / 362.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.1392, allocations: 40.09 kB / 362.6 MB, free: 9.012 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1392, allocations: 0 / 362.6 MB, free: 9.012 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.1392, allocations: 0 / 362.6 MB, free: 9.012 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.1394, allocations: 20 kB / 362.6 MB, free: 8.992 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008223/0.1403, allocations: 0.8251 MB / 363.4 MB, free: 8.098 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.1406, allocations: 0.6885 MB / 364.1 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.612e-05/0.1406, allocations: 0 / 364.1 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.1407, allocations: 11.44 kB / 364.1 MB, free: 7.375 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1407, allocations: 4 kB / 364.1 MB, free: 7.371 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01138/0.152, allocations: 1.076 MB / 365.2 MB, free: 6.465 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.1523, allocations: 200.2 kB / 365.4 MB, free: 6.223 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.043, allocations: 4 kB / 365.4 MB, free: 6.219 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat