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.001008/0.001008, allocations: 103 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001636/0.001636, allocations: 201.6 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.0002618, allocations: 8 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1291, allocations: 51.49 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001885/0.131, allocations: 1.2 MB / 359.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003088/0.1314, allocations: 135.5 kB / 359.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.084e-05/0.1314, allocations: 0 / 359.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.1315, allocations: 0 / 359.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.483e-05/0.1315, allocations: 11.94 kB / 359.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.1317, allocations: 39.53 kB / 359.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.368e-05/0.1318, allocations: 19.91 kB / 359.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.339e-05/0.1318, allocations: 8 kB / 359.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.677e-05/0.1318, allocations: 7.984 kB / 359.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.921e-05/0.1319, allocations: 7.938 kB / 359.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.225e-06/0.1319, allocations: 0 / 359.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-06/0.1319, allocations: 0 / 359.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.1319, allocations: 19.91 kB / 359.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.132, allocations: 33.64 kB / 359.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.62e-05/0.132, allocations: 23.95 kB / 359.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.132, allocations: 4 kB / 359.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.132, allocations: 0 / 359.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.876e-06/0.132, allocations: 3.938 kB / 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000302/0.1324, allocations: 343.5 kB / 360 MB, free: 11.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.1324, allocations: 12.03 kB / 360.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.352e-05/0.1324, allocations: 34.5 kB / 360.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.946e-05/0.1324, allocations: 11.89 kB / 360.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.1326, allocations: 185.3 kB / 360.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.1326, allocations: 4 kB / 360.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.1326, allocations: 3.953 kB / 360.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.1328, allocations: 89.05 kB / 360.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-06/0.1328, allocations: 4 kB / 360.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-06/0.1328, allocations: 0 / 360.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-06/0.1328, allocations: 0 / 360.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.218e-05/0.1329, allocations: 15.94 kB / 360.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.1332, allocations: 269.8 kB / 360.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.169e-05/0.1332, allocations: 49.16 kB / 360.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1333, allocations: 4 kB / 360.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1333, allocations: 30.56 kB / 360.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1333, allocations: 0 / 360.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002035/0.1335, allocations: 61.59 kB / 360.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.1336, allocations: 81.34 kB / 360.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.1337, allocations: 133.8 kB / 361 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1337, allocations: 25.7 kB / 361 MB, free: 10.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.1338, allocations: 88.14 kB / 361.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.675e-06/0.1338, allocations: 0 / 361.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/0.1338, allocations: 0 / 361.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1339, allocations: 310.8 kB / 361.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.862e-05/0.134, allocations: 7.984 kB / 361.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.134, allocations: 25.72 kB / 361.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.904e-05/0.134, allocations: 4 kB / 361.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.134, allocations: 0 / 361.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.893e-05/0.1342, allocations: 61.48 kB / 361.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1342, allocations: 4 kB / 361.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1342, allocations: 0 / 361.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1342, allocations: 8.109 kB / 361.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.908e-05/0.1342, allocations: 0 / 361.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1342, allocations: 7.938 kB / 361.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.666e-05/0.1343, allocations: 3.984 kB / 361.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1343, allocations: 0 / 361.5 MB, free: 10.16 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 0.0001152/0.1344, allocations: 125.7 kB / 361.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.1345, allocations: 33.66 kB / 361.7 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.9e-05/0.1345, allocations: 19.47 kB / 361.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1345, allocations: 4.031 kB / 361.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1345, allocations: 0 / 361.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1345, allocations: 0 / 361.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.1347, allocations: 157.7 kB / 361.9 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1347, allocations: 4 kB / 361.9 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.108e-05/0.1347, allocations: 3.984 kB / 361.9 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1347, allocations: 3.953 kB / 361.9 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.1348, allocations: 0 / 361.9 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1348, allocations: 4 kB / 361.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1348, allocations: 0 / 361.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.1349, allocations: 170 kB / 362.1 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.135, allocations: 100.9 kB / 362.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.135, allocations: 0 / 362.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.446e-05/0.1351, allocations: 4 kB / 362.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.1351, allocations: 0 / 362.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.1351, allocations: 4.031 kB / 362.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.608e-05/0.1352, allocations: 109.6 kB / 362.3 MB, free: 9.316 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1352, allocations: 0 / 362.3 MB, free: 9.316 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000209/0.1354, allocations: 0 / 362.3 MB, free: 9.316 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.0005377/0.136, allocations: 0.7681 MB / 363 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.1361, allocations: 15.98 kB / 363.1 MB, free: 8.496 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1361, allocations: 0 / 363.1 MB, free: 8.496 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.034e-05/0.1361, allocations: 8 kB / 363.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.1364, allocations: 23.66 kB / 363.1 MB, free: 8.469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007813/0.1372, allocations: 0.5614 MB / 363.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.1375, allocations: 0.6888 MB / 364.3 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.062e-05/0.1375, allocations: 3.938 kB / 364.3 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.1376, allocations: 15.42 kB / 364.4 MB, free: 7.117 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1376, allocations: 0 / 364.4 MB, free: 7.117 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.1507, allocations: 1.118 MB / 365.5 MB, free: 6.168 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002743/0.151, allocations: 207.6 kB / 365.7 MB, free: 5.918 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.068, allocations: 0 / 365.7 MB, free: 5.918 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