Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001117/0.001117, allocations: 92.78 kB / 16.31 MB, free: 5.602 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.00147/0.001471, allocations: 181.6 kB / 17.21 MB, free: 5.52 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.534/1.534, allocations: 223.2 MB / 241.2 MB, free: 344 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002962, allocations: 8 kB / 300.9 MB, free: 6.371 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 50.41 MB / 351.3 MB, free: 3.953 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002056/0.1303, allocations: 1.233 MB / 352.6 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004016/0.1307, allocations: 156.2 kB / 352.7 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.978e-05/0.1308, allocations: 3.938 kB / 352.7 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.214e-05/0.1309, allocations: 7.938 kB / 352.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.274e-05/0.131, allocations: 3.984 kB / 352.7 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.1312, allocations: 35.91 kB / 352.8 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.784e-05/0.1313, allocations: 35.86 kB / 352.8 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1315, allocations: 15.98 kB / 352.8 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.028e-05/0.1315, allocations: 11.94 kB / 352.8 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.205e-05/0.1316, allocations: 23.84 kB / 352.9 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1316, allocations: 0 / 352.9 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.1316, allocations: 0 / 352.9 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.1317, allocations: 19.92 kB / 352.9 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.1317, allocations: 33.7 kB / 352.9 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.1318, allocations: 27.94 kB / 352.9 MB, free: 2.332 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1318, allocations: 3.938 kB / 352.9 MB, free: 2.328 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1318, allocations: 0 / 352.9 MB, free: 2.328 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.279e-06/0.1319, allocations: 0 / 352.9 MB, free: 2.328 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.0005181/0.1324, allocations: 380.3 kB / 353.3 MB, free: 1.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1324, allocations: 11.97 kB / 353.3 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.16e-05/0.1325, allocations: 38.5 kB / 353.4 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.1325, allocations: 7.906 kB / 353.4 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.1327, allocations: 187 kB / 353.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-06/0.1328, allocations: 0 / 353.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.1328, allocations: 4 kB / 353.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.1331, allocations: 137.9 kB / 353.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1331, allocations: 3.953 kB / 353.7 MB, free: 1.457 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.1331, allocations: 4 kB / 353.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.1331, allocations: 0 / 353.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.1333, allocations: 47.91 kB / 353.7 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.1338, allocations: 377.9 kB / 354.1 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1339, allocations: 91.72 kB / 354.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.375e-05/0.134, allocations: 42.62 kB / 354.2 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.134, allocations: 7.938 kB / 354.2 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.1341, allocations: 34.56 kB / 354.3 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1341, allocations: 0 / 354.3 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003461/0.1344, allocations: 117.6 kB / 354.4 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.1345, allocations: 114.7 kB / 354.5 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.1346, allocations: 148.4 kB / 354.7 MB, free: 360 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.1347, allocations: 29.7 kB / 354.7 MB, free: 324 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.1347, allocations: 92.08 kB / 354.8 MB, free: 228 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.1348, allocations: 0 / 354.8 MB, free: 228 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.1348, allocations: 4 kB / 354.8 MB, free: 224 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1349, allocations: 318.8 kB / 355.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.16e-05/0.135, allocations: 19.98 kB / 355.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.388e-05/0.1351, allocations: 47.42 kB / 355.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.508e-05/0.1351, allocations: 19.98 kB / 355.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1352, allocations: 3.953 kB / 355.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001711/0.1353, allocations: 97.44 kB / 355.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1354, allocations: 8 kB / 355.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1354, allocations: 0 / 355.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1354, allocations: 0 / 355.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.142e-05/0.1355, allocations: 20.11 kB / 355.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1355, allocations: 0 / 355.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.1355, allocations: 8 kB / 355.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.1356, allocations: 0 / 355.3 MB, free: 15.66 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[2],sample1.u[1],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.0001431/0.1357, allocations: 121.8 kB / 355.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.832e-05/0.1358, allocations: 57.5 kB / 355.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.1358, allocations: 15.86 kB / 355.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.1359, allocations: 4.031 kB / 355.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1359, allocations: 4 kB / 355.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1359, allocations: 0 / 355.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.1361, allocations: 169.7 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1361, allocations: 3.984 kB / 355.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.1362, allocations: 11.95 kB / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.1362, allocations: 4 kB / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1362, allocations: 0 / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1362, allocations: 0 / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1362, allocations: 0 / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1365, allocations: 279.4 kB / 356 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.75e-05/0.1366, allocations: 97 kB / 356.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.1366, allocations: 7.953 kB / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1367, allocations: 7.984 kB / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.1368, allocations: 4 kB / 356.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1368, allocations: 0 / 356.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.667e-05/0.1368, allocations: 110.2 kB / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1369, allocations: 0 / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1371, allocations: 8 kB / 356.2 MB, free: 14.67 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[2],sample1.u[1],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.0005958/0.1377, allocations: 0.8219 MB / 357 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.1379, allocations: 51.97 kB / 357.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1379, allocations: 7.875 kB / 357.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.097e-05/0.138, allocations: 20.23 kB / 357.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.1384, allocations: 28 kB / 357.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1395, allocations: 0.5528 MB / 357.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.1398, allocations: 0.6966 MB / 358.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.069e-05/0.1398, allocations: 11.98 kB / 358.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.1399, allocations: 15.44 kB / 358.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1399, allocations: 0 / 358.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.1525, allocations: 1.443 MB / 359.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.1528, allocations: 225 kB / 360.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.043, allocations: 3.938 kB / 360.1 MB, free: 10.84 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat