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: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007593/0.0007596, allocations: 92.27 kB / 16.95 MB, free: 5.953 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.0008124/0.0008124, allocations: 178.6 kB / 17.84 MB, free: 5.617 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.369/1.369, allocations: 223.3 MB / 241.9 MB, free: 340 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002826, allocations: 13.27 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1149, allocations: 50.42 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001644/0.1166, allocations: 1.217 MB / 353.1 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000352/0.117, allocations: 164.3 kB / 353.2 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.1171, allocations: 3.938 kB / 353.2 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.374e-05/0.1171, allocations: 7.922 kB / 353.3 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.498e-05/0.1172, allocations: 7.938 kB / 353.3 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.1174, allocations: 31.91 kB / 353.3 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.651e-05/0.1175, allocations: 35.8 kB / 353.3 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1176, allocations: 19.97 kB / 353.4 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.964e-05/0.1177, allocations: 7.938 kB / 353.4 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.798e-05/0.1177, allocations: 23.92 kB / 353.4 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1178, allocations: 0 / 353.4 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.1178, allocations: 0 / 353.4 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.1178, allocations: 15.92 kB / 353.4 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.1178, allocations: 33.64 kB / 353.4 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.522e-05/0.1179, allocations: 39.92 kB / 353.5 MB, free: 2.398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1179, allocations: 0 / 353.5 MB, free: 2.398 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1179, allocations: 0 / 353.5 MB, free: 2.398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.118, allocations: 0 / 353.5 MB, free: 2.398 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.0004589/0.1184, allocations: 379.3 kB / 353.8 MB, free: 1.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1185, allocations: 8.031 kB / 353.8 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.1185, allocations: 15.84 kB / 353.9 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.1187, allocations: 181.7 kB / 354 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1187, allocations: 4 kB / 354 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1188, allocations: 4 kB / 354 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.1191, allocations: 133.9 kB / 354.2 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1191, allocations: 7.875 kB / 354.2 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1191, allocations: 3.953 kB / 354.2 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.1191, allocations: 4 kB / 354.2 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.1192, allocations: 43.97 kB / 354.2 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.1197, allocations: 369.8 kB / 354.6 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.1198, allocations: 91.77 kB / 354.7 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.1199, allocations: 54.58 kB / 354.7 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.1199, allocations: 3.984 kB / 354.7 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.12, allocations: 30.56 kB / 354.8 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.12, allocations: 0 / 354.8 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003177/0.1203, allocations: 125.6 kB / 354.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.1204, allocations: 102.8 kB / 355 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1205, allocations: 149.7 kB / 355.1 MB, free: 484 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1205, allocations: 25.7 kB / 355.2 MB, free: 452 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.1206, allocations: 84.33 kB / 355.3 MB, free: 364 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.172e-05/0.1206, allocations: 15.94 kB / 355.3 MB, free: 348 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.1206, allocations: 0 / 355.3 MB, free: 348 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.1207, allocations: 314.8 kB / 355.6 MB, free: 24 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.669e-05/0.1208, allocations: 19.98 kB / 355.6 MB, free: 4 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.493e-05/0.1209, allocations: 47.42 kB / 355.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.324e-05/0.1209, allocations: 23.92 kB / 355.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1209, allocations: 0 / 355.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001677/0.1211, allocations: 101.5 kB / 355.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1211, allocations: 4 kB / 355.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1211, allocations: 0 / 355.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1212, allocations: 4 kB / 355.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/0.1212, allocations: 8 kB / 355.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1213, allocations: 7.984 kB / 355.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.1213, allocations: 8.125 kB / 355.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1213, allocations: 4 kB / 355.8 MB, free: 15.78 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.0001007/0.1214, allocations: 129.8 kB / 355.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.303e-05/0.1215, allocations: 45.56 kB / 356 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.1215, allocations: 19.8 kB / 356 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.1216, allocations: 4 kB / 356 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1216, allocations: 0 / 356 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1216, allocations: 4.031 kB / 356 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.1218, allocations: 169.7 kB / 356.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1218, allocations: 7.984 kB / 356.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/0.1219, allocations: 12 kB / 356.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1219, allocations: 3.953 kB / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1219, allocations: 3.984 kB / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1219, allocations: 4 kB / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1219, allocations: 0 / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.1221, allocations: 275.5 kB / 356.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.1222, allocations: 93 kB / 356.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.1222, allocations: 3.953 kB / 356.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.945e-05/0.1223, allocations: 15.98 kB / 356.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.1224, allocations: 0 / 356.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.1224, allocations: 4 kB / 356.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.323e-05/0.1225, allocations: 109.7 kB / 356.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1225, allocations: 0 / 356.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1227, allocations: 4 kB / 356.7 MB, free: 14.79 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.000127/0.1229, allocations: 110.5 kB / 356.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.123, allocations: 59.89 kB / 356.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.123, allocations: 0 / 356.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.933e-05/0.1231, allocations: 24.23 kB / 356.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.1235, allocations: 35.95 kB / 356.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.1239, allocations: 219.9 kB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.1241, allocations: 0.7005 MB / 357.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.1242, allocations: 15.42 kB / 357.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1242, allocations: 0 / 357.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of Templates: time 0.002219/0.1264, allocations: 0.8078 MB / 358.7 MB, free: 12.75 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClockedCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClockedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClockedCalcHelperMain.o] Error 1