Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.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.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.0009839, allocations: 95.52 kB / 16.96 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.001218/0.001218, allocations: 177.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.2 MB / 241.9 MB, free: 312 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.000273, allocations: 9.969 kB / 301.4 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09681/0.0971, allocations: 50.42 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0005709/0.0977, allocations: 242.1 kB / 352.1 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.09937, allocations: 1.417 MB / 353.5 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.0994, allocations: 4 kB / 353.5 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.297e-06/0.09942, allocations: 0 / 353.5 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004472/0.09987, allocations: 123.7 kB / 353.6 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.261e-05/0.09991, allocations: 12 kB / 353.7 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.077e-05/0.09995, allocations: 11.92 kB / 353.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.1, allocations: 8 kB / 353.7 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.572e-05/0.1, allocations: 0 / 353.7 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.1001, allocations: 11.94 kB / 353.7 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.1001, allocations: 0 / 353.7 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000323/0.1005, allocations: 227.7 kB / 353.9 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.1005, allocations: 11.97 kB / 353.9 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.1005, allocations: 25.7 kB / 353.9 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1007, allocations: 111.9 kB / 354.1 MB, free: 1.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1007, allocations: 3.938 kB / 354.1 MB, free: 1.809 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1007, allocations: 4 kB / 354.1 MB, free: 1.805 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.1007, allocations: 4 kB / 354.1 MB, free: 1.801 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003991/0.1011, allocations: 351.3 kB / 354.4 MB, free: 1.41 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1012, allocations: 15.97 kB / 354.4 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.1012, allocations: 3.953 kB / 354.4 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.1013, allocations: 171.3 kB / 354.6 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1014, allocations: 7.922 kB / 354.6 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.1014, allocations: 0 / 354.6 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.042e-05/0.1015, allocations: 33.69 kB / 354.6 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1015, allocations: 0 / 354.6 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1015, allocations: 8 kB / 354.6 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1015, allocations: 0 / 354.6 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.718e-05/0.1015, allocations: 15.94 kB / 354.7 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.1017, allocations: 153.7 kB / 354.8 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.959e-05/0.1018, allocations: 34.52 kB / 354.8 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.1018, allocations: 12.94 kB / 354.9 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-06/0.1018, allocations: 0 / 354.9 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1019, allocations: 38.56 kB / 354.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1019, allocations: 0 / 354.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001548/0.102, allocations: 53.53 kB / 354.9 MB, free: 0.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1021, allocations: 51.41 kB / 355 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.006e-05/0.1022, allocations: 109.8 kB / 355.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1022, allocations: 25.7 kB / 355.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.1023, allocations: 84.12 kB / 355.2 MB, free: 464 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.1023, allocations: 15.89 kB / 355.2 MB, free: 448 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.1023, allocations: 4 kB / 355.2 MB, free: 444 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1024, allocations: 310.8 kB / 355.5 MB, free: 124 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.1025, allocations: 8 kB / 355.5 MB, free: 116 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/0.1025, allocations: 17.7 kB / 355.6 MB, free: 92 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.337e-05/0.1025, allocations: 8 kB / 355.6 MB, free: 84 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1025, allocations: 4 kB / 355.6 MB, free: 80 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.947e-05/0.1026, allocations: 61.53 kB / 355.6 MB, free: 12 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.1026, allocations: 11.97 kB / 355.6 MB, free: 0 / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1027, allocations: 0 / 355.6 MB, free: 0 / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.1027, allocations: 0 / 355.6 MB, free: 0 / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.451e-05/0.1028, allocations: 8.047 kB / 355.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1028, allocations: 0 / 355.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.1028, allocations: 4 kB / 355.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1028, allocations: 7.891 kB / 355.7 MB, free: 15.98 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 7.559e-05/0.1029, allocations: 109.8 kB / 355.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-06/0.1029, allocations: 4.359 kB / 355.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.1029, allocations: 11.5 kB / 355.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1029, allocations: 0 / 355.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.103, allocations: 3.984 kB / 355.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.103, allocations: 4 kB / 355.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.1031, allocations: 165.7 kB / 356 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1031, allocations: 0 / 356 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/0.1032, allocations: 4 kB / 356 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.1032, allocations: 7.938 kB / 356 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1032, allocations: 3.984 kB / 356 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1032, allocations: 0 / 356 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1032, allocations: 0 / 356 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.1033, allocations: 84.98 kB / 356.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.1034, allocations: 77.11 kB / 356.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.1034, allocations: 4.031 kB / 356.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.578e-05/0.1034, allocations: 0 / 356.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.1034, allocations: 7.922 kB / 356.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.1035, allocations: 0 / 356.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.106e-05/0.1035, allocations: 83.28 kB / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1035, allocations: 4.062 kB / 356.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1038, allocations: 47.98 kB / 356.3 MB, free: 15.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * 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): 3 * 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.0002401/0.104, allocations: 147.2 kB / 356.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.702e-05/0.1041, allocations: 19.98 kB / 356.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1041, allocations: 0 / 356.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.697e-05/0.1041, allocations: 11.94 kB / 356.4 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.1043, allocations: 7.891 kB / 356.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002488/0.1045, allocations: 164.6 kB / 356.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.1048, allocations: 0.6809 MB / 357.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.1048, allocations: 7.438 kB / 357.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1048, allocations: 4 kB / 357.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of Templates: time 0.002584/0.1074, allocations: 1.136 MB / 358.4 MB, free: 13.02 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.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.Math.Nonlinear.Examples.QuadratureLobatto3CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3CalcHelperMain.o] Error 1