Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007096/0.0007095, allocations: 90.97 kB / 16.33 MB, free: 6.398 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.0008134/0.0008134, allocations: 188 kB / 17.22 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.223/1.223, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1773/0.1773, allocations: 43.55 MB / 315.2 MB, free: 0.5508 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004567, allocations: 20.27 kB / 384.5 MB, free: 57.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.08723, allocations: 58.86 MB / 443.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.001614/0.08888, allocations: 1.993 MB / 445.4 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.08992, allocations: 0.9449 MB / 446.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.09006, allocations: 3.938 kB / 446.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.09033, allocations: 95.48 kB / 446.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.09048, allocations: 71.53 kB / 446.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.09087, allocations: 223.7 kB / 446.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003922/0.09127, allocations: 0.6234 MB / 447.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.09141, allocations: 77.09 kB / 447.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.09161, allocations: 259.1 kB / 447.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.09185, allocations: 294.9 kB / 448 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.09191, allocations: 32 kB / 448 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.167e-05/0.09196, allocations: 32 kB / 448 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.09207, allocations: 147.5 kB / 448.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.565e-05/0.09214, allocations: 97.45 kB / 448.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.09236, allocations: 383 kB / 448.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.09237, allocations: 0 / 448.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09238, allocations: 0 / 448.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.09239, allocations: 0 / 448.6 MB, free: 0.5 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001688/0.09408, allocations: 0.9353 MB / 449.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.09413, allocations: 16.02 kB / 449.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.09424, allocations: 63.39 kB / 449.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004484/0.0947, allocations: 358.1 kB / 450 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000336/0.09504, allocations: 275.1 kB / 450.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-05/0.09513, allocations: 43.98 kB / 450.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.09688, allocations: 0.8671 MB / 451.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.0969, allocations: 4 kB / 451.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/0.09696, allocations: 16 kB / 451.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.09698, allocations: 11.95 kB / 451.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00304/0.1, allocations: 1.321 MB / 452.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.1025, allocations: 2.078 MB / 454.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.105, allocations: 0.8981 MB / 455.5 MB, free: 9.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.1064, allocations: 0.5404 MB / 456.1 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.573e-05/0.1065, allocations: 13 kB / 456.1 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.1065, allocations: 42.56 kB / 456.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=64): time 1.913e-06/0.1065, allocations: 0 / 456.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.07434/0.1808, allocations: 18.22 MB / 474.3 MB, free: 6.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.1809, allocations: 98.17 kB / 474.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.1813, allocations: 381.5 kB / 474.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.1815, allocations: 45.7 kB / 474.8 MB, free: 5.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1816, allocations: 221 kB / 475.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.182, allocations: 402.1 kB / 475.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.1821, allocations: 24 kB / 475.5 MB, free: 5.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1822, allocations: 374.7 kB / 475.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003168/0.1854, allocations: 1.451 MB / 477.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003258/0.1887, allocations: 1.603 MB / 478.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/0.1916, allocations: 1.304 MB / 480.2 MB, free: 392 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.1917, allocations: 4 kB / 480.2 MB, free: 388 kB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.006648/0.1983, allocations: 3.053 MB / 483.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1983, allocations: 10.09 kB / 483.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.1984, allocations: 8 kB / 483.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.1984, allocations: 8 kB / 483.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/0.2008, allocations: 463.4 kB / 483.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.59e-05/0.2008, allocations: 11.98 kB / 483.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.2025, allocations: 279.7 kB / 484 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.2026, allocations: 39.98 kB / 484.1 MB, free: 12.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.noWphase,integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 148 * 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.0004242/0.2031, allocations: 242.8 kB / 484.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.2032, allocations: 59.25 kB / 484.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.2035, allocations: 108.7 kB / 484.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.2035, allocations: 12 kB / 484.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.2036, allocations: 0 / 484.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.2036, allocations: 11.95 kB / 484.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.2138, allocations: 5.554 MB / 490 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.067e-05/0.2138, allocations: 20 kB / 490.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.2152, allocations: 412 kB / 490.5 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-05/0.2152, allocations: 32 kB / 490.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.999e-05/0.2153, allocations: 47.98 kB / 490.5 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-05/0.2153, allocations: 39.86 kB / 490.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-05/0.2154, allocations: 31.88 kB / 490.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006312/0.2217, allocations: 3.426 MB / 494 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.222, allocations: 236.3 kB / 494.3 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.2221, allocations: 55.97 kB / 494.3 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.2233, allocations: 247.8 kB / 494.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003756/0.2237, allocations: 235.2 kB / 494.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.971e-05/0.2237, allocations: 59.95 kB / 494.8 MB, free: 1.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002597/0.224, allocations: 267.1 kB / 495.1 MB, free: 0.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.224, allocations: 0 / 495.1 MB, free: 0.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000918/0.2249, allocations: 232 kB / 495.3 MB, free: 0.5664 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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.0001954/0.2251, allocations: 166.7 kB / 495.5 MB, free: 400 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005414/0.2306, allocations: 2.562 MB / 498.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.2306, allocations: 4 kB / 498.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002911/0.2335, allocations: 1.176 MB / 499.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.2346, allocations: 146 kB / 499.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.2379, allocations: 2.207 MB / 0.4898 GB, free: 9.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.2384, allocations: 0.9285 MB / 0.4907 GB, free: 9.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006214/0.239, allocations: 75.42 kB / 0.4908 GB, free: 8.957 MB / 382.1 MB Notification: Performance of SimCode: time 3.176e-06/0.239, allocations: 0 / 0.4908 GB, free: 8.957 MB / 382.1 MB Notification: Performance of Templates: time 0.01779/0.2568, allocations: 14.17 MB / 0.5047 GB, free: 10.77 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.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 OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTPCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTPCalcHelperMain.o] Error 1