Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008182/0.0008184, allocations: 94.7 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 195.9 kB / 17.91 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 227.3 MB / 246 MB, free: 11.95 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002332/0.0002334, allocations: 4 kB / 306.8 MB, free: 1.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1326, allocations: 51.49 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002186/0.1348, allocations: 1.215 MB / 359.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003973/0.1352, allocations: 147.5 kB / 359.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.323e-05/0.1353, allocations: 0 / 359.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.1354, allocations: 7.766 kB / 359.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.1355, allocations: 7.938 kB / 359.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.1358, allocations: 35.91 kB / 359.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.112e-05/0.1359, allocations: 31.92 kB / 359.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.136, allocations: 7.984 kB / 359.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.726e-05/0.136, allocations: 11.94 kB / 359.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.031e-05/0.1361, allocations: 15.91 kB / 359.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1361, allocations: 0 / 359.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.1361, allocations: 0 / 359.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.1362, allocations: 15.94 kB / 359.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.1362, allocations: 25.7 kB / 359.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.832e-05/0.1363, allocations: 27.94 kB / 359.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1363, allocations: 4 kB / 359.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1363, allocations: 0 / 359.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1363, allocations: 0 / 359.9 MB, free: 12.42 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005432/0.1369, allocations: 362.8 kB / 360.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.1369, allocations: 8.031 kB / 360.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.858e-05/0.137, allocations: 38.56 kB / 360.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.137, allocations: 7.906 kB / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.1373, allocations: 189.4 kB / 360.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.1373, allocations: 0 / 360.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.1373, allocations: 11.95 kB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.1376, allocations: 113 kB / 360.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1377, allocations: 3.938 kB / 360.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1377, allocations: 0 / 360.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1377, allocations: 0 / 360.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.595e-05/0.1378, allocations: 23.98 kB / 360.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.1381, allocations: 261.8 kB / 360.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.1383, allocations: 138.2 kB / 361 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.1384, allocations: 21.78 kB / 361 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1384, allocations: 3.984 kB / 361 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.1385, allocations: 42.5 kB / 361.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.1385, allocations: 0 / 361.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002619/0.1388, allocations: 77.52 kB / 361.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.1388, allocations: 81.11 kB / 361.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.139, allocations: 129.8 kB / 361.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.139, allocations: 25.7 kB / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.1391, allocations: 95.97 kB / 361.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.969e-06/0.1391, allocations: 0 / 361.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.1391, allocations: 0 / 361.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1393, allocations: 314.8 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.212e-05/0.1393, allocations: 12.12 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.201e-05/0.1393, allocations: 31.42 kB / 361.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.275e-05/0.1394, allocations: 15.95 kB / 361.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1394, allocations: 4 kB / 361.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00011/0.1395, allocations: 65.56 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1396, allocations: 7.984 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1396, allocations: 0 / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.1396, allocations: 4 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.308e-05/0.1396, allocations: 0 / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1396, allocations: 0 / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.1397, allocations: 7.938 kB / 361.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1397, allocations: 12.12 kB / 361.9 MB, free: 10.07 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001048/0.1398, allocations: 122.9 kB / 362 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-05/0.1399, allocations: 49.55 kB / 362.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.1399, allocations: 7.891 kB / 362.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1399, allocations: 4 kB / 362.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1399, allocations: 0 / 362.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1399, allocations: 0 / 362.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.1401, allocations: 169.6 kB / 362.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.1402, allocations: 7.953 kB / 362.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-06/0.1402, allocations: 8 kB / 362.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1402, allocations: 0 / 362.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1402, allocations: 0 / 362.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1402, allocations: 0 / 362.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.1402, allocations: 4 kB / 362.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.1404, allocations: 160.2 kB / 362.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/0.1405, allocations: 96.95 kB / 362.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.1405, allocations: 4 kB / 362.5 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.301e-05/0.1406, allocations: 7.984 kB / 362.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.1406, allocations: 0 / 362.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.1406, allocations: 0 / 362.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.305e-05/0.1407, allocations: 105.7 kB / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1407, allocations: 0 / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.141, allocations: 4 kB / 362.7 MB, free: 9.227 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0005171/0.1415, allocations: 0.7018 MB / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1416, allocations: 27.98 kB / 363.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1416, allocations: 4.188 kB / 363.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.037e-05/0.1417, allocations: 11.94 kB / 363.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1421, allocations: 28.2 kB / 363.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008755/0.1429, allocations: 465.8 kB / 363.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.1434, allocations: 0.6848 MB / 364.6 MB, free: 7.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.245e-05/0.1435, allocations: 3.984 kB / 364.6 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.1436, allocations: 15.44 kB / 364.6 MB, free: 7.172 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1436, allocations: 4 kB / 364.6 MB, free: 7.168 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.1588, allocations: 1.22 MB / 365.8 MB, free: 6.102 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.159, allocations: 191.5 kB / 366 MB, free: 5.863 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.084, allocations: 3.938 kB / 366 MB, free: 5.859 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat does not exist to compare? outputFormat=mat