Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_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.001011/0.00101, allocations: 97.27 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 198.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.3 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003108, allocations: 8 kB / 306.8 MB, free: 1.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1334, allocations: 51.49 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001939/0.1354, allocations: 1.317 MB / 359.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000822/0.1362, allocations: 0.5029 MB / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.928e-05/0.1363, allocations: 4 kB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.582e-05/0.1364, allocations: 3.938 kB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.839e-05/0.1365, allocations: 15.92 kB / 360.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.1368, allocations: 43.89 kB / 360.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.1369, allocations: 55.72 kB / 360.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.137, allocations: 19.97 kB / 360.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.1371, allocations: 27.91 kB / 360.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.705e-05/0.1372, allocations: 23.86 kB / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1372, allocations: 4 kB / 360.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.612e-05/0.1373, allocations: 7.938 kB / 360.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.278e-05/0.1373, allocations: 15.92 kB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.1373, allocations: 37.64 kB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.12e-05/0.1374, allocations: 51.91 kB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1374, allocations: 0 / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1375, allocations: 0 / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.1375, allocations: 0 / 360.4 MB, free: 11.84 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.0004487/0.1379, allocations: 379.3 kB / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.138, allocations: 8.031 kB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.138, allocations: 42.56 kB / 360.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.1382, allocations: 31.8 kB / 360.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.1384, allocations: 192.1 kB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.1384, allocations: 4 kB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.1384, allocations: 11.89 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.1387, allocations: 129.9 kB / 361.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.1387, allocations: 0 / 361.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1388, allocations: 4 kB / 361.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.1388, allocations: 3.938 kB / 361.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.1389, allocations: 51.95 kB / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.1394, allocations: 385.8 kB / 361.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1395, allocations: 83.78 kB / 361.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.164e-05/0.1396, allocations: 42.62 kB / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.1396, allocations: 7.922 kB / 361.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1397, allocations: 38.56 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 2.735e-06/0.1397, allocations: 3.984 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003549/0.14, allocations: 125.6 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.1401, allocations: 110.8 kB / 362.1 MB, free: 9.965 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1403, allocations: 149.7 kB / 362.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1403, allocations: 25.7 kB / 362.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.1403, allocations: 100.2 kB / 362.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.1404, allocations: 19.88 kB / 362.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.1404, allocations: 0 / 362.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1405, allocations: 318.8 kB / 362.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.296e-05/0.1406, allocations: 19.98 kB / 362.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.481e-05/0.1407, allocations: 51.41 kB / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.252e-05/0.1407, allocations: 27.92 kB / 362.8 MB, free: 9.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1407, allocations: 0 / 362.8 MB, free: 9.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001895/0.1409, allocations: 93.59 kB / 362.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.141, allocations: 4 kB / 362.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.141, allocations: 4 kB / 362.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.141, allocations: 0 / 362.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.1411, allocations: 19.98 kB / 362.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1411, allocations: 0 / 362.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.1412, allocations: 12.03 kB / 362.9 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1412, allocations: 4 kB / 362.9 MB, free: 9.09 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: 0 () * 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 8.568e-05/0.1413, allocations: 129.7 kB / 363 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.18e-05/0.1414, allocations: 49.59 kB / 363.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/0.1414, allocations: 11.83 kB / 363.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.1414, allocations: 4 kB / 363.1 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1414, allocations: 0 / 363.1 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1414, allocations: 8.031 kB / 363.1 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.1417, allocations: 181.6 kB / 363.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1417, allocations: 0 / 363.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.1417, allocations: 15.92 kB / 363.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1418, allocations: 4 kB / 363.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1418, allocations: 0 / 363.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1418, allocations: 0 / 363.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1418, allocations: 3.938 kB / 363.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.1421, allocations: 279.5 kB / 363.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-05/0.1421, allocations: 96.95 kB / 363.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.1422, allocations: 4 kB / 363.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1423, allocations: 8 kB / 363.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.1423, allocations: 7.984 kB / 363.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.1423, allocations: 0 / 363.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.503e-05/0.1424, allocations: 123 kB / 363.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1424, allocations: 0 / 363.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1427, allocations: 8 kB / 363.8 MB, free: 8.066 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: 0 () * 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.0005498/0.1432, allocations: 0.8139 MB / 364.6 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.1434, allocations: 59.91 kB / 364.7 MB, free: 7.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1435, allocations: 0 / 364.7 MB, free: 7.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.838e-05/0.1435, allocations: 23.98 kB / 364.7 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.144, allocations: 24.11 kB / 364.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1451, allocations: 0.635 MB / 365.4 MB, free: 6.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.1454, allocations: 0.7005 MB / 366.1 MB, free: 5.684 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.226e-05/0.1454, allocations: 11.92 kB / 366.1 MB, free: 5.672 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.1455, allocations: 23.42 kB / 366.1 MB, free: 5.648 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1455, allocations: 0 / 366.1 MB, free: 5.648 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.1592, allocations: 1.609 MB / 367.7 MB, free: 4.227 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003582/0.1596, allocations: 220.9 kB / 367.9 MB, free: 3.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.052, allocations: 0 / 367.9 MB, free: 3.98 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat