Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.00116, allocations: 91.98 kB / 17.63 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 196.8 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 45.91 MB / 344.7 MB, free: 12.28 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003331, allocations: 11.98 kB / 418.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1488, allocations: 63.47 MB / 482.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002454/0.1513, allocations: 1.999 MB / 484.1 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1528, allocations: 0.9285 MB / 485 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1529, allocations: 15.81 kB / 485.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.1532, allocations: 87.52 kB / 485.1 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.1534, allocations: 75.58 kB / 485.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.1539, allocations: 223.6 kB / 485.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005963/0.1545, allocations: 0.6198 MB / 486.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.1547, allocations: 61.22 kB / 486.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.155, allocations: 255.1 kB / 486.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003237/0.1553, allocations: 294.9 kB / 486.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.506e-05/0.1554, allocations: 36 kB / 486.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.42e-05/0.1555, allocations: 32 kB / 486.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.1557, allocations: 151.5 kB / 486.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1558, allocations: 93.45 kB / 487 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000416/0.1562, allocations: 387.3 kB / 487.3 MB, free: 200 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1562, allocations: 0 / 487.3 MB, free: 200 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1562, allocations: 0 / 487.3 MB, free: 200 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.1562, allocations: 0 / 487.3 MB, free: 200 kB / 350.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.002245/0.1585, allocations: 0.9237 MB / 488.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.1586, allocations: 12.03 kB / 488.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.1587, allocations: 67.33 kB / 488.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.1593, allocations: 366 kB / 488.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004491/0.1598, allocations: 275.1 kB / 489 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.1599, allocations: 47.91 kB / 489 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.1619, allocations: 0.871 MB / 489.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.1619, allocations: 4 kB / 489.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.162, allocations: 16 kB / 489.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.162, allocations: 12 kB / 489.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003396/0.1654, allocations: 1.325 MB / 491.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003148/0.1686, allocations: 2.07 MB / 493.3 MB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/0.1713, allocations: 0.896 MB / 494.2 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.1728, allocations: 0.5564 MB / 494.8 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.832e-05/0.1729, allocations: 4 kB / 494.8 MB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.1729, allocations: 38.56 kB / 494.8 MB, free: 8.441 MB / 366.1 MB Notification: Performance of pre-optimization done (n=64): time 3.055e-06/0.1729, allocations: 0 / 494.8 MB, free: 8.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.07738/0.2503, allocations: 18.23 MB / 0.501 GB, free: 6.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.2504, allocations: 94.17 kB / 0.5011 GB, free: 5.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005132/0.251, allocations: 385.4 kB / 0.5015 GB, free: 5.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.2511, allocations: 45.7 kB / 0.5015 GB, free: 5.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.2513, allocations: 221.1 kB / 0.5017 GB, free: 5.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003973/0.2517, allocations: 398.1 kB / 0.5021 GB, free: 4.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.2518, allocations: 24 kB / 0.5021 GB, free: 4.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.252, allocations: 382.7 kB / 0.5025 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003229/0.2553, allocations: 1.447 MB / 0.5039 GB, free: 3.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003315/0.2586, allocations: 1.603 MB / 0.5055 GB, free: 1.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/0.2616, allocations: 1.301 MB / 0.5067 GB, free: 68 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2616, allocations: 0 / 0.5067 GB, free: 68 kB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.3464/0.608, allocations: 3.047 MB / 0.5097 GB, free: 43.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.6081, allocations: 7.344 kB / 0.5097 GB, free: 43.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.6081, allocations: 5.25 kB / 0.5097 GB, free: 43.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-05/0.6082, allocations: 8.219 kB / 0.5097 GB, free: 43.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/0.6109, allocations: 470.8 kB / 0.5102 GB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.737e-05/0.6109, allocations: 9.953 kB / 0.5102 GB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/0.6128, allocations: 284.9 kB / 0.5105 GB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/0.613, allocations: 41.27 kB / 0.5105 GB, free: 43.35 MB / 382.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.0005237/0.6135, allocations: 229.3 kB / 0.5107 GB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/0.6139, allocations: 64.03 kB / 0.5108 GB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.6142, allocations: 116.1 kB / 0.5109 GB, free: 43.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.6142, allocations: 11.12 kB / 0.5109 GB, free: 43.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/0.6143, allocations: 5.062 kB / 0.5109 GB, free: 43.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.6143, allocations: 7.266 kB / 0.5109 GB, free: 43.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.6275, allocations: 5.54 MB / 0.5163 GB, free: 40.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.097e-05/0.6276, allocations: 22.25 kB / 0.5163 GB, free: 40.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/0.6292, allocations: 411.5 kB / 0.5167 GB, free: 40.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-05/0.6293, allocations: 30.25 kB / 0.5168 GB, free: 40.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.6294, allocations: 51.92 kB / 0.5168 GB, free: 40.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.223e-05/0.6295, allocations: 40.03 kB / 0.5169 GB, free: 40.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.762e-05/0.6295, allocations: 32.03 kB / 0.5169 GB, free: 40.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007999/0.6376, allocations: 3.414 MB / 0.5202 GB, free: 38.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005388/0.6381, allocations: 239.2 kB / 0.5204 GB, free: 38.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.6383, allocations: 52.48 kB / 0.5205 GB, free: 38.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/0.6397, allocations: 253.4 kB / 0.5207 GB, free: 38.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005749/0.6403, allocations: 231.6 kB / 0.521 GB, free: 38.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.6404, allocations: 66.03 kB / 0.521 GB, free: 38.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000412/0.6408, allocations: 261.7 kB / 0.5213 GB, free: 38.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6408, allocations: 0 / 0.5213 GB, free: 38.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001481/0.6423, allocations: 228.7 kB / 0.5215 GB, free: 38.24 MB / 382.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.0003429/0.6427, allocations: 168.3 kB / 0.5217 GB, free: 38.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006822/0.6495, allocations: 2.566 MB / 0.5242 GB, free: 37.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/0.6495, allocations: 3.656 kB / 0.5242 GB, free: 37.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003457/0.653, allocations: 1.178 MB / 0.5253 GB, free: 36.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.6544, allocations: 152.4 kB / 0.5255 GB, free: 36.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.6584, allocations: 2.196 MB / 0.5276 GB, free: 35.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.6588, allocations: 0.9262 MB / 0.5285 GB, free: 34.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000684/0.6595, allocations: 79.77 kB / 0.5286 GB, free: 34.21 MB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.6595, allocations: 0 / 0.5286 GB, free: 34.21 MB / 382.1 MB Notification: Performance of Templates: time 0.02/0.6795, allocations: 14.21 MB / 0.5425 GB, free: 20.32 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.KinematicPTPCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTPCalcHelperMain.o] Error 1