Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009966/0.0009961, allocations: 88.77 kB / 16.95 MB, free: 5.66 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.001154/0.001154, allocations: 187.5 kB / 17.85 MB, free: 5.312 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.438/1.438, allocations: 223.2 MB / 241.9 MB, free: 64 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003275, allocations: 8 kB / 301.5 MB, free: 6.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1161, allocations: 50.41 MB / 351.9 MB, free: 3.973 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.001788/0.1179, allocations: 1.174 MB / 353 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007079/0.1187, allocations: 400.1 kB / 353.4 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/0.1187, allocations: 0 / 353.4 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.1188, allocations: 3.938 kB / 353.4 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.396e-05/0.1188, allocations: 3.984 kB / 353.4 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.1191, allocations: 23.92 kB / 353.5 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.878e-05/0.1192, allocations: 31.92 kB / 353.5 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1193, allocations: 15.97 kB / 353.5 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.637e-05/0.1194, allocations: 11.94 kB / 353.5 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.326e-05/0.1194, allocations: 11.92 kB / 353.5 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.1195, allocations: 3.938 kB / 353.5 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.1195, allocations: 0 / 353.5 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.1195, allocations: 11.98 kB / 353.6 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.1195, allocations: 29.64 kB / 353.6 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.493e-05/0.1196, allocations: 35.94 kB / 353.6 MB, free: 2.203 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.1196, allocations: 0 / 353.6 MB, free: 2.203 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.1196, allocations: 0 / 353.6 MB, free: 2.203 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1196, allocations: 0 / 353.6 MB, free: 2.203 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004904/0.1201, allocations: 347.5 kB / 354 MB, free: 1.816 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1202, allocations: 8.031 kB / 354 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.1202, allocations: 11.86 kB / 354 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.1204, allocations: 171.1 kB / 354.1 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1205, allocations: 0 / 354.1 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.1205, allocations: 8 kB / 354.2 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/0.1209, allocations: 155.2 kB / 354.3 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.121, allocations: 0 / 354.3 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.121, allocations: 0 / 354.3 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.121, allocations: 0 / 354.3 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.1212, allocations: 59.91 kB / 354.4 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.1213, allocations: 161.5 kB / 354.5 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.1216, allocations: 102.4 kB / 354.6 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.79e-05/0.1217, allocations: 32.92 kB / 354.7 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1217, allocations: 4 kB / 354.7 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1218, allocations: 34.56 kB / 354.7 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1218, allocations: 0 / 354.7 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003341/0.1221, allocations: 109.6 kB / 354.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.1222, allocations: 63.41 kB / 354.9 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.1223, allocations: 113.7 kB / 355 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.1223, allocations: 25.7 kB / 355 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.1223, allocations: 84.08 kB / 355.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.577e-06/0.1223, allocations: 4 kB / 355.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-06/0.1223, allocations: 0 / 355.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1225, allocations: 318.8 kB / 355.4 MB, free: 216 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.512e-05/0.1225, allocations: 3.984 kB / 355.4 MB, free: 212 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.1225, allocations: 31.44 kB / 355.4 MB, free: 168 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.183e-05/0.1225, allocations: 4 kB / 355.4 MB, free: 164 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1226, allocations: 3.938 kB / 355.4 MB, free: 160 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.632e-05/0.1226, allocations: 61.56 kB / 355.5 MB, free: 92 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1227, allocations: 12.12 kB / 355.5 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1227, allocations: 0 / 355.5 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1227, allocations: 0 / 355.5 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.806e-05/0.1227, allocations: 8 kB / 355.5 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.1228, allocations: 4 kB / 355.5 MB, free: 68 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/0.1228, allocations: 7.906 kB / 355.5 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1228, allocations: 3.953 kB / 355.5 MB, free: 56 kB / 286.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 9.827e-05/0.1229, allocations: 113.8 kB / 355.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.1231, allocations: 93.86 kB / 355.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.1231, allocations: 7.906 kB / 355.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1232, allocations: 0 / 355.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1232, allocations: 0 / 355.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1232, allocations: 4 kB / 355.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.1233, allocations: 161.6 kB / 355.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1233, allocations: 0 / 355.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.121e-05/0.1234, allocations: 19.98 kB / 355.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1234, allocations: 0 / 355.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1234, allocations: 0 / 355.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1234, allocations: 0 / 355.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1234, allocations: 0 / 355.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.1236, allocations: 121 kB / 356 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.1237, allocations: 77.11 kB / 356.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1237, allocations: 3.984 kB / 356.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.485e-05/0.1238, allocations: 8 kB / 356.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-06/0.1238, allocations: 3.938 kB / 356.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.1238, allocations: 0 / 356.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.967e-05/0.1238, allocations: 95.27 kB / 356.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1238, allocations: 0 / 356.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001818/0.124, allocations: 4 kB / 356.2 MB, free: 15.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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 Backend phase and start with SimCode phase: time 0.0001165/0.1241, allocations: 99.25 kB / 356.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.1243, allocations: 35.97 kB / 356.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1243, allocations: 8.188 kB / 356.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1243, allocations: 0 / 356.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1247, allocations: 43.89 kB / 356.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.125, allocations: 157.2 kB / 356.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.1253, allocations: 0.6848 MB / 357.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.1253, allocations: 7.438 kB / 357.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1253, allocations: 4 kB / 357.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of Templates: time 0.001837/0.1272, allocations: 0.5842 MB / 357.8 MB, free: 13.57 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.TimeBasedRampCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRampCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRampCalcHelperMain.o] Error 1