Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 93.42 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.0008262/0.0008262, allocations: 181.5 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.436/1.436, allocations: 223.3 MB / 241.9 MB, free: 14.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002523/0.0002524, allocations: 8 kB / 301.5 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1141, allocations: 50.43 MB / 351.9 MB, free: 3.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002454/0.1166, allocations: 1.304 MB / 353.2 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1178, allocations: 499 kB / 353.7 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.729e-05/0.1179, allocations: 0 / 353.7 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.761e-05/0.1179, allocations: 3.938 kB / 353.7 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.1181, allocations: 23.91 kB / 353.7 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.1184, allocations: 43.89 kB / 353.7 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.1186, allocations: 51.8 kB / 353.8 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1187, allocations: 11.98 kB / 353.8 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.839e-05/0.1188, allocations: 27.84 kB / 353.8 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.882e-05/0.1189, allocations: 19.88 kB / 353.9 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.1189, allocations: 4 kB / 353.9 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.119, allocations: 4 kB / 353.9 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.119, allocations: 11.92 kB / 353.9 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.1191, allocations: 37.64 kB / 353.9 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.1192, allocations: 43.91 kB / 353.9 MB, free: 1.676 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1192, allocations: 0 / 353.9 MB, free: 1.676 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1192, allocations: 0 / 353.9 MB, free: 1.676 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.1192, allocations: 3.938 kB / 354 MB, free: 1.672 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005721/0.1198, allocations: 383.2 kB / 354.3 MB, free: 1.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1198, allocations: 8.031 kB / 354.3 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.1199, allocations: 19.81 kB / 354.4 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.1202, allocations: 194.9 kB / 354.5 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1202, allocations: 4 kB / 354.5 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.1202, allocations: 7.938 kB / 354.6 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.1206, allocations: 142.7 kB / 354.7 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1207, allocations: 4 kB / 354.7 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1207, allocations: 0 / 354.7 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1207, allocations: 3.953 kB / 354.7 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.1208, allocations: 31.92 kB / 354.7 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.1213, allocations: 283.5 kB / 355 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.1215, allocations: 98.36 kB / 355.1 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.1216, allocations: 51.42 kB / 355.2 MB, free: 252 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.1216, allocations: 4 kB / 355.2 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.1217, allocations: 42.45 kB / 355.2 MB, free: 196 kB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1217, allocations: 0 / 355.2 MB, free: 196 kB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004037/0.1221, allocations: 105.5 kB / 355.3 MB, free: 84 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.1222, allocations: 137 kB / 355.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.1224, allocations: 150.5 kB / 355.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1225, allocations: 29.7 kB / 355.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.1225, allocations: 92.23 kB / 355.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.1226, allocations: 7.984 kB / 355.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.1226, allocations: 0 / 355.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1227, allocations: 314.8 kB / 356 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.1228, allocations: 15.98 kB / 356 MB, free: 15.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.364e-05/0.1229, allocations: 53.14 kB / 356.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.24e-05/0.123, allocations: 19.94 kB / 356.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.123, allocations: 4 kB / 356.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002319/0.1232, allocations: 89.45 kB / 356.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1233, allocations: 4 kB / 356.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.1233, allocations: 7.953 kB / 356.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1233, allocations: 0 / 356.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1234, allocations: 20.17 kB / 356.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1234, allocations: 0 / 356.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.548e-05/0.1235, allocations: 4 kB / 356.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1236, allocations: 4 kB / 356.2 MB, free: 15.06 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.0001211/0.1237, allocations: 125.8 kB / 356.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.1238, allocations: 61.53 kB / 356.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.1239, allocations: 15.81 kB / 356.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1239, allocations: 11.98 kB / 356.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1239, allocations: 4.125 kB / 356.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.1239, allocations: 7.984 kB / 356.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.1242, allocations: 181.6 kB / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1242, allocations: 0 / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.1243, allocations: 15.98 kB / 356.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1244, allocations: 0 / 356.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1244, allocations: 4 kB / 356.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1244, allocations: 0 / 356.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.351e-05/0.1244, allocations: 7.953 kB / 356.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.1247, allocations: 201.9 kB / 356.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.214e-05/0.1248, allocations: 97 kB / 357 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.1248, allocations: 3.984 kB / 357 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.125, allocations: 8 kB / 357 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.125, allocations: 3.953 kB / 357 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.125, allocations: 7.938 kB / 357 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1252, allocations: 117.5 kB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1252, allocations: 0 / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004093/0.1256, allocations: 8 kB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001294/0.1257, allocations: 95.25 kB / 357.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.126, allocations: 51.91 kB / 357.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.126, allocations: 3.938 kB / 357.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.1261, allocations: 8 kB / 357.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006084/0.1267, allocations: 40.02 kB / 357.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.1272, allocations: 258 kB / 357.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1276, allocations: 0.6965 MB / 358.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.1277, allocations: 15.38 kB / 358.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1277, allocations: 0 / 358.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of Templates: time 0.00339/0.1311, allocations: 1.01 MB / 359.3 MB, free: 11.86 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.RealSignals.BackSampleCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSampleCalcHelperMain.o] Error 1