Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001049/0.00105, allocations: 93.36 kB / 17 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.001369/0.001369, allocations: 195.2 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.679/1.679, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002677, allocations: 4 kB / 306.8 MB, free: 1.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1305, allocations: 51.5 MB / 358.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001772/0.1323, allocations: 1.2 MB / 359.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003483/0.1327, allocations: 135.6 kB / 359.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.1328, allocations: 7.938 kB / 359.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.1328, allocations: 3.938 kB / 359.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.1329, allocations: 4 kB / 359.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.1332, allocations: 31.91 kB / 359.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.35e-05/0.1333, allocations: 27.92 kB / 359.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.227e-05/0.1333, allocations: 4 kB / 359.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.243e-05/0.1334, allocations: 15.92 kB / 359.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.4e-05/0.1334, allocations: 11.92 kB / 359.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.1334, allocations: 0 / 359.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.1335, allocations: 4 kB / 359.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.599e-05/0.1335, allocations: 15.92 kB / 359.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.1335, allocations: 25.7 kB / 359.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.568e-05/0.1336, allocations: 23.95 kB / 359.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1336, allocations: 4 kB / 359.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1336, allocations: 0 / 359.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1336, allocations: 0 / 359.8 MB, free: 12.44 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.0004285/0.1341, allocations: 351.4 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1341, allocations: 11.97 kB / 360.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.1342, allocations: 30.56 kB / 360.2 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.1342, allocations: 11.89 kB / 360.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.1344, allocations: 186.9 kB / 360.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.1344, allocations: 0 / 360.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.1345, allocations: 11.95 kB / 360.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.1347, allocations: 89.05 kB / 360.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1347, allocations: 3.984 kB / 360.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.1347, allocations: 3.938 kB / 360.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1347, allocations: 0 / 360.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.534e-05/0.1348, allocations: 15.94 kB / 360.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.1351, allocations: 261.8 kB / 360.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.1353, allocations: 45.22 kB / 360.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.967e-05/0.1353, allocations: 21.72 kB / 360.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.1353, allocations: 3.984 kB / 360.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1354, allocations: 34.56 kB / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1354, allocations: 0 / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.000212/0.1356, allocations: 61.53 kB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.1357, allocations: 85.36 kB / 361 MB, free: 11.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.1358, allocations: 128.2 kB / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1358, allocations: 25.7 kB / 361.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.1359, allocations: 84.14 kB / 361.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.1359, allocations: 4 kB / 361.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.1359, allocations: 0 / 361.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.136, allocations: 318.8 kB / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.1361, allocations: 4 kB / 361.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.551e-05/0.1361, allocations: 17.72 kB / 361.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/0.1361, allocations: 15.88 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1361, allocations: 0 / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.628e-05/0.1362, allocations: 49.61 kB / 361.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1363, allocations: 4.125 kB / 361.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1363, allocations: 11.98 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1363, allocations: 0 / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.44e-05/0.1363, allocations: 0 / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1363, allocations: 3.938 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.1364, allocations: 8 kB / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.1364, allocations: 0 / 361.7 MB, free: 10.31 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 (sample1.u,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 9.855e-05/0.1365, allocations: 117.8 kB / 361.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.1365, allocations: 41.69 kB / 361.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.1366, allocations: 11.52 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1366, allocations: 4 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1366, allocations: 0 / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1366, allocations: 3.938 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.1368, allocations: 165.7 kB / 362 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1368, allocations: 11.89 kB / 362 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-06/0.1368, allocations: 0 / 362 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1368, allocations: 4 kB / 362 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1368, allocations: 0 / 362 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1368, allocations: 0 / 362 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1368, allocations: 0 / 362 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.137, allocations: 156.2 kB / 362.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.1371, allocations: 100.9 kB / 362.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.1371, allocations: 4 kB / 362.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.693e-05/0.1372, allocations: 0 / 362.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.1372, allocations: 3.984 kB / 362.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.1372, allocations: 8.031 kB / 362.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.239e-05/0.1373, allocations: 99.27 kB / 362.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1373, allocations: 0 / 362.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1375, allocations: 4 kB / 362.4 MB, free: 9.484 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 (sample1.u,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.000489/0.138, allocations: 0.6859 MB / 363.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.1381, allocations: 15.98 kB / 363.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1381, allocations: 0 / 363.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.712e-05/0.1382, allocations: 7.938 kB / 363.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.1386, allocations: 30.86 kB / 363.1 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/0.1393, allocations: 424.3 kB / 363.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.1396, allocations: 0.6809 MB / 364.2 MB, free: 7.543 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.679e-05/0.1397, allocations: 3.984 kB / 364.2 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.1397, allocations: 19.38 kB / 364.3 MB, free: 7.52 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1397, allocations: 0 / 364.3 MB, free: 7.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/0.1522, allocations: 1.13 MB / 365.4 MB, free: 6.562 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.1525, allocations: 212.9 kB / 365.6 MB, free: 6.312 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.209, allocations: 0 / 365.6 MB, free: 6.312 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat