Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009196/0.0009196, allocations: 94.86 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 192.3 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.3 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.00037, allocations: 4 kB / 306.8 MB, free: 1.484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1349, allocations: 51.49 MB / 358.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.00178/0.1367, allocations: 1.231 MB / 359.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003861/0.1371, allocations: 147.5 kB / 359.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.1372, allocations: 4 kB / 359.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.904e-05/0.1373, allocations: 0 / 359.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.939e-05/0.1374, allocations: 15.92 kB / 359.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.1377, allocations: 35.91 kB / 359.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.025e-05/0.1378, allocations: 35.84 kB / 359.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1379, allocations: 11.98 kB / 359.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.1379, allocations: 19.86 kB / 359.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.308e-05/0.138, allocations: 11.92 kB / 359.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.138, allocations: 8 kB / 359.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.138, allocations: 0 / 359.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.475e-05/0.1381, allocations: 11.94 kB / 359.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.1381, allocations: 33.7 kB / 359.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.884e-05/0.1382, allocations: 39.92 kB / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1382, allocations: 0 / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1382, allocations: 0 / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.1382, allocations: 0 / 359.9 MB, free: 12.38 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.000523/0.1387, allocations: 363.2 kB / 360.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.1388, allocations: 16.03 kB / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.75e-05/0.1389, allocations: 38.55 kB / 360.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.1389, allocations: 7.906 kB / 360.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.1391, allocations: 179 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1391, allocations: 4 kB / 360.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1392, allocations: 7.953 kB / 360.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.1394, allocations: 125.9 kB / 360.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1395, allocations: 0 / 360.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1395, allocations: 7.922 kB / 360.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.1395, allocations: 4 kB / 360.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1396, allocations: 35.91 kB / 360.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.1401, allocations: 361.9 kB / 361 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.1402, allocations: 87.77 kB / 361.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.517e-05/0.1403, allocations: 42.58 kB / 361.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.1403, allocations: 0 / 361.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1404, allocations: 34.55 kB / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1404, allocations: 0 / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000336/0.1407, allocations: 101.5 kB / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/0.1408, allocations: 110.8 kB / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.1409, allocations: 148.6 kB / 361.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.141, allocations: 25.7 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.141, allocations: 88.42 kB / 361.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.141, allocations: 8 kB / 361.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.141, allocations: 0 / 361.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.1413, allocations: 322.8 kB / 362 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.652e-05/0.1413, allocations: 11.98 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.216e-05/0.1414, allocations: 35.44 kB / 362 MB, free: 9.969 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.704e-05/0.1415, allocations: 23.98 kB / 362 MB, free: 9.945 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1415, allocations: 0 / 362 MB, free: 9.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001467/0.1416, allocations: 81.45 kB / 362.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.1417, allocations: 12.12 kB / 362.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.1417, allocations: 0 / 362.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1417, allocations: 0 / 362.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.157e-05/0.1417, allocations: 4 kB / 362.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1417, allocations: 0 / 362.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.063e-05/0.1418, allocations: 7.984 kB / 362.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.1418, allocations: 0 / 362.1 MB, free: 9.836 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 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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.0001358/0.1419, allocations: 121.8 kB / 362.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.411e-05/0.142, allocations: 61.53 kB / 362.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.1421, allocations: 11.83 kB / 362.3 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.1421, allocations: 3.984 kB / 362.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1421, allocations: 4 kB / 362.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1421, allocations: 0 / 362.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.1424, allocations: 177.6 kB / 362.5 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1424, allocations: 3.938 kB / 362.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-06/0.1424, allocations: 0 / 362.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.1424, allocations: 8 kB / 362.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1424, allocations: 0 / 362.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1424, allocations: 0 / 362.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1424, allocations: 8.031 kB / 362.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.1427, allocations: 259.5 kB / 362.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.1428, allocations: 96.95 kB / 362.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.1428, allocations: 4 kB / 362.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.861e-05/0.1429, allocations: 8 kB / 362.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.1429, allocations: 0 / 362.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.143, allocations: 4 kB / 362.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.881e-05/0.143, allocations: 103.2 kB / 363 MB, free: 8.871 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1431, allocations: 4 kB / 363 MB, free: 8.867 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1433, allocations: 4 kB / 363 MB, free: 8.863 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0005719/0.1439, allocations: 0.7983 MB / 363.8 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.1441, allocations: 47.92 kB / 363.9 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1441, allocations: 0 / 363.9 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.583e-05/0.1441, allocations: 11.98 kB / 363.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.1446, allocations: 29.52 kB / 363.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009315/0.1455, allocations: 0.5185 MB / 364.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.1459, allocations: 0.6926 MB / 365.1 MB, free: 6.645 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.674e-05/0.146, allocations: 15.91 kB / 365.1 MB, free: 6.629 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.146, allocations: 15.5 kB / 365.1 MB, free: 6.613 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.146, allocations: 0 / 365.1 MB, free: 6.613 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.1593, allocations: 1.444 MB / 366.6 MB, free: 5.359 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.1596, allocations: 228.5 kB / 366.8 MB, free: 5.109 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.14, allocations: 64 / 366.8 MB, free: 5.109 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat