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.0009883/0.0009883, allocations: 98.7 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.001125/0.001125, 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.486/1.486, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.0002661, allocations: 11.98 kB / 306.7 MB, free: 1.273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1326, allocations: 51.48 MB / 358.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002218/0.1349, allocations: 1.219 MB / 359.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003687/0.1353, allocations: 135.6 kB / 359.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.354e-05/0.1354, allocations: 0 / 359.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.678e-05/0.1354, allocations: 7.938 kB / 359.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.1356, allocations: 11.98 kB / 359.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.1358, allocations: 35.84 kB / 359.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.341e-05/0.1359, allocations: 15.98 kB / 359.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.804e-05/0.136, allocations: 11.98 kB / 359.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.714e-05/0.136, allocations: 7.938 kB / 359.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.526e-05/0.1361, allocations: 15.92 kB / 359.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1361, allocations: 0 / 359.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.1361, allocations: 0 / 359.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.1362, allocations: 7.938 kB / 359.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.1362, allocations: 37.7 kB / 359.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.894e-05/0.1363, allocations: 31.92 kB / 359.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1363, allocations: 3.938 kB / 359.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1363, allocations: 0 / 359.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1363, allocations: 0 / 359.7 MB, free: 12.25 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.0004418/0.1368, allocations: 351.4 kB / 360.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.1368, allocations: 8.031 kB / 360.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/0.137, allocations: 38.5 kB / 360.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.137, allocations: 11.84 kB / 360.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.1373, allocations: 186.9 kB / 360.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.1373, allocations: 0 / 360.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.1373, allocations: 11.95 kB / 360.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.1377, allocations: 117 kB / 360.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1377, allocations: 4 kB / 360.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1377, allocations: 0 / 360.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1377, allocations: 0 / 360.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.965e-05/0.1378, allocations: 23.97 kB / 360.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.1383, allocations: 257.7 kB / 360.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.1385, allocations: 138.4 kB / 360.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1385, allocations: 3.984 kB / 360.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1386, allocations: 38.56 kB / 360.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1386, allocations: 0 / 360.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003522/0.1389, allocations: 73.53 kB / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.139, allocations: 85.09 kB / 361.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.1392, allocations: 132.1 kB / 361.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1392, allocations: 25.7 kB / 361.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.1392, allocations: 88.05 kB / 361.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.115e-06/0.1393, allocations: 0 / 361.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-06/0.1393, allocations: 4 kB / 361.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1394, allocations: 314.8 kB / 361.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/0.1394, allocations: 12.11 kB / 361.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.1395, allocations: 31.44 kB / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.524e-05/0.1395, allocations: 7.984 kB / 361.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1395, allocations: 4 kB / 361.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001071/0.1396, allocations: 73.52 kB / 361.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1397, allocations: 4 kB / 361.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1397, allocations: 0 / 361.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1397, allocations: 4 kB / 361.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.374e-05/0.1397, allocations: 0 / 361.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1397, allocations: 7.938 kB / 361.7 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.1398, allocations: 3.938 kB / 361.8 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1398, allocations: 8.125 kB / 361.8 MB, free: 9.938 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 9.537e-05/0.1399, allocations: 117.8 kB / 361.9 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.542e-05/0.14, allocations: 57.48 kB / 361.9 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.14, allocations: 15.84 kB / 361.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.14, allocations: 0 / 361.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.14, allocations: 0 / 361.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1401, allocations: 4 kB / 362 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.1403, allocations: 161.7 kB / 362.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1403, allocations: 4 kB / 362.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-06/0.1403, allocations: 8 kB / 362.1 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1403, allocations: 3.953 kB / 362.1 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1403, allocations: 0 / 362.1 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1403, allocations: 0 / 362.1 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1403, allocations: 4 kB / 362.1 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.1405, allocations: 178 kB / 362.3 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.1406, allocations: 96.95 kB / 362.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.1406, allocations: 0 / 362.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.674e-05/0.1406, allocations: 4.375 kB / 362.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.1407, allocations: 0 / 362.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1407, allocations: 4 kB / 362.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.231e-05/0.1408, allocations: 103.2 kB / 362.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1408, allocations: 0 / 362.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.141, allocations: 4 kB / 362.5 MB, free: 9.07 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.0008978/0.1419, allocations: 0.7836 MB / 363.3 MB, free: 8.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.142, allocations: 28.11 kB / 363.3 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.142, allocations: 0 / 363.3 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.955e-05/0.1421, allocations: 11.92 kB / 363.3 MB, free: 8.211 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.1423, allocations: 20.03 kB / 363.4 MB, free: 8.191 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.1435, allocations: 0.9067 MB / 364.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1438, allocations: 0.6887 MB / 364.9 MB, free: 6.504 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.611e-05/0.1439, allocations: 4 kB / 365 MB, free: 6.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.1439, allocations: 15.42 kB / 365 MB, free: 6.484 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1439, allocations: 0 / 365 MB, free: 6.484 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.1586, allocations: 1.207 MB / 366.2 MB, free: 5.426 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002769/0.1589, allocations: 190.1 kB / 366.4 MB, free: 5.184 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.96/2.119, allocations: 0 / 366.4 MB, free: 5.184 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