Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009075/0.0009075, allocations: 89.09 kB / 16.31 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 181.4 kB / 17.21 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 241.2 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004022, allocations: 4 kB / 300.9 MB, free: 6.316 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1328, allocations: 50.41 MB / 351.3 MB, free: 3.895 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001893/0.1347, allocations: 1.3 MB / 352.6 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007924/0.1355, allocations: 475.1 kB / 353.1 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.69e-05/0.1356, allocations: 7.938 kB / 353.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.425e-05/0.1357, allocations: 0 / 353.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.1358, allocations: 15.86 kB / 353.1 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.1361, allocations: 39.89 kB / 353.2 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.1362, allocations: 55.78 kB / 353.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1363, allocations: 19.97 kB / 353.2 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.191e-05/0.1364, allocations: 23.86 kB / 353.3 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.67e-05/0.1365, allocations: 19.92 kB / 353.3 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1365, allocations: 4 kB / 353.3 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.1366, allocations: 0 / 353.3 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.1366, allocations: 15.91 kB / 353.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.1366, allocations: 37.64 kB / 353.3 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.448e-05/0.1367, allocations: 47.92 kB / 353.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1367, allocations: 0 / 353.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1368, allocations: 0 / 353.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.505e-06/0.1368, allocations: 0 / 353.4 MB, free: 1.824 MB / 286.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.0005558/0.1373, allocations: 383.3 kB / 353.8 MB, free: 1.402 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1374, allocations: 12.02 kB / 353.8 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.1374, allocations: 34.56 kB / 353.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.1375, allocations: 19.77 kB / 353.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1377, allocations: 205.6 kB / 354 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.1377, allocations: 0 / 354 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.1377, allocations: 8 kB / 354 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.1381, allocations: 125.9 kB / 354.1 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1381, allocations: 0 / 354.1 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1381, allocations: 4 kB / 354.2 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.1381, allocations: 3.953 kB / 354.2 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1383, allocations: 51.91 kB / 354.2 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.1388, allocations: 373.9 kB / 354.6 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.1389, allocations: 95.77 kB / 354.7 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.659e-05/0.139, allocations: 38.62 kB / 354.7 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1391, allocations: 0 / 354.7 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.1391, allocations: 50.45 kB / 354.8 MB, free: 236 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.1391, allocations: 0 / 354.8 MB, free: 236 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003791/0.1395, allocations: 129.8 kB / 354.9 MB, free: 100 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.66e-05/0.1396, allocations: 106.8 kB / 355 MB, free: 15.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.1398, allocations: 146.2 kB / 355.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1398, allocations: 25.7 kB / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.1398, allocations: 104 kB / 355.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.1399, allocations: 7.906 kB / 355.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.1399, allocations: 4 kB / 355.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.14, allocations: 314.8 kB / 355.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.968e-05/0.1401, allocations: 31.95 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.155e-05/0.1402, allocations: 43.42 kB / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.293e-05/0.1403, allocations: 27.98 kB / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1403, allocations: 0 / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001883/0.1405, allocations: 93.69 kB / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1405, allocations: 4 kB / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1405, allocations: 7.953 kB / 355.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1405, allocations: 0 / 355.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1406, allocations: 19.92 kB / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1407, allocations: 0 / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/0.1407, allocations: 11.89 kB / 355.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.1407, allocations: 11.92 kB / 355.8 MB, free: 15.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 0.0001038/0.1409, allocations: 125.9 kB / 355.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.353e-05/0.1409, allocations: 45.59 kB / 356 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.141, allocations: 15.86 kB / 356 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.141, allocations: 7.953 kB / 356 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.141, allocations: 0 / 356 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.141, allocations: 4 kB / 356 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.1413, allocations: 177.6 kB / 356.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1413, allocations: 3.938 kB / 356.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-05/0.1414, allocations: 12.03 kB / 356.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1414, allocations: 7.984 kB / 356.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1414, allocations: 0 / 356.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1414, allocations: 0 / 356.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1414, allocations: 3.953 kB / 356.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.1417, allocations: 279.6 kB / 356.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.923e-05/0.1418, allocations: 93 kB / 356.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1418, allocations: 4 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.1419, allocations: 7.984 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.142, allocations: 11.89 kB / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.142, allocations: 0 / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.517e-05/0.1421, allocations: 117.5 kB / 356.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1421, allocations: 0 / 356.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1424, allocations: 15.98 kB / 356.7 MB, free: 14.07 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.0006306/0.143, allocations: 0.8062 MB / 357.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.1432, allocations: 64.08 kB / 357.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1432, allocations: 4 kB / 357.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.775e-05/0.1433, allocations: 23.92 kB / 357.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.1438, allocations: 37.78 kB / 357.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.1449, allocations: 0.6234 MB / 358.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1452, allocations: 0.6965 MB / 359 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.737e-05/0.1453, allocations: 8 kB / 359 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.1454, allocations: 23.48 kB / 359 MB, free: 11.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1454, allocations: 0 / 359 MB, free: 11.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.1605, allocations: 1.607 MB / 360.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002823/0.1609, allocations: 237.5 kB / 360.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.96/2.121, allocations: 2.969 kB / 360.9 MB, free: 9.977 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat