Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.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) 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(Modelica.Mechanics.Translational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction") translateModel(Modelica.Mechanics.Translational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008189/0.000819, allocations: 89.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008578/0.0008579, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.000271, allocations: 8 kB / 307.3 MB, free: 1.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.132, allocations: 51.48 MB / 358.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.003448/0.1355, allocations: 2.657 MB / 361.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.1375, allocations: 1.243 MB / 362.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.1377, allocations: 4 kB / 362.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004043/0.1381, allocations: 83.53 kB / 362.8 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.1383, allocations: 107.2 kB / 362.9 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006791/0.1389, allocations: 327.1 kB / 363.2 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006735/0.1396, allocations: 0.6903 MB / 363.9 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.1398, allocations: 85.42 kB / 364 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004359/0.1403, allocations: 331 kB / 364.3 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.1419, allocations: 1.556 MB / 365.8 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.586e-05/0.142, allocations: 36 kB / 365.9 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.1422, allocations: 91.98 kB / 366 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.1425, allocations: 199.4 kB / 366.2 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.1426, allocations: 129.3 kB / 366.3 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.1433, allocations: 0.6394 MB / 366.9 MB, free: 5.754 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1433, allocations: 3.938 kB / 366.9 MB, free: 5.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1433, allocations: 3.938 kB / 366.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1433, allocations: 0 / 366.9 MB, free: 5.746 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.003143/0.1465, allocations: 1.327 MB / 368.3 MB, free: 4.371 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1465, allocations: 8.031 kB / 368.3 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004444/0.1469, allocations: 103 kB / 368.4 MB, free: 4.262 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.1475, allocations: 402.8 kB / 368.8 MB, free: 3.828 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.515e-05/0.1476, allocations: 33 kB / 368.8 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.1477, allocations: 39.95 kB / 368.8 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.1492, allocations: 0.6381 MB / 369.5 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.1492, allocations: 7.891 kB / 369.5 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/0.1493, allocations: 19.94 kB / 369.5 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.1493, allocations: 12 kB / 369.5 MB, free: 3.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.1512, allocations: 0.7172 MB / 370.2 MB, free: 2.348 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00339/0.1546, allocations: 1.729 MB / 372 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2697/0.4243, allocations: 0.5258 MB / 372.5 MB, free: 20.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.4257, allocations: 304.2 kB / 372.8 MB, free: 20.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.887e-05/0.4258, allocations: 4.688 kB / 372.8 MB, free: 20.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/0.4275, allocations: 0.4951 MB / 373.3 MB, free: 19.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 3.908e-06/0.4275, allocations: 0 / 373.3 MB, free: 19.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=50): time 0.009266/0.4368, allocations: 3.035 MB / 376.3 MB, free: 18.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.4369, allocations: 82.61 kB / 376.4 MB, free: 18.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.438, allocations: 0.9116 MB / 377.3 MB, free: 18.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.904e-05/0.4381, allocations: 52.02 kB / 377.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.4383, allocations: 299.3 kB / 377.7 MB, free: 18.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.4385, allocations: 165.2 kB / 377.8 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.4385, allocations: 15.52 kB / 377.8 MB, free: 18.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4386, allocations: 384.8 kB / 378.2 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008614/0.4395, allocations: 333.8 kB / 378.5 MB, free: 17.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000938/0.4405, allocations: 432.8 kB / 379 MB, free: 17.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007264/0.4412, allocations: 251.4 kB / 379.2 MB, free: 17.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4412, allocations: 0 / 379.2 MB, free: 17.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002845/0.4441, allocations: 1.021 MB / 380.2 MB, free: 16.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.4441, allocations: 6.703 kB / 380.2 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.4441, allocations: 4.25 kB / 380.2 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.4453, allocations: 0.5236 MB / 380.8 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.4458, allocations: 124.6 kB / 380.9 MB, free: 16.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005483/0.4513, allocations: 4.473 MB / 385.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.4529, allocations: 300.6 kB / 385.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/0.453, allocations: 26.89 kB / 385.7 MB, free: 12.95 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 28 (supportFriction.free,$whenCondition2,stop1.free,$PRE.stop1.startForward,stop1.startForward,$PRE.stop1.startBackward,stop1.startBackward,stop1.locked,$PRE.stop1.mode,stop1.mode,stop1.stopped,$PRE.supportFriction.startForward,supportFriction.startForward,$PRE.supportFriction.startBackward,supportFriction.startBackward,supportFriction.locked,$PRE.supportFriction.mode,supportFriction.mode,$whenCondition1,stop2.free,$PRE.stop2.startForward,stop2.startForward,$PRE.stop2.startBackward,stop2.startBackward,stop2.locked,$PRE.stop2.mode,stop2.mode,stop2.stopped) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 7,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000561/0.4536, allocations: 257.2 kB / 385.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.4537, allocations: 70.41 kB / 386 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.4539, allocations: 104.8 kB / 386.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.454, allocations: 5.375 kB / 386.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.454, allocations: 1 kB / 386.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.454, allocations: 3.703 kB / 386.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/0.4572, allocations: 1.443 MB / 387.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.4572, allocations: 1.125 kB / 387.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004845/0.4577, allocations: 90.52 kB / 387.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009771/0.4587, allocations: 0.4986 MB / 388.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.977e-05/0.4587, allocations: 22.05 kB / 388.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005042/0.4638, allocations: 4.177 MB / 392.3 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4638, allocations: 1.281 kB / 392.3 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003412/0.4672, allocations: 1.306 MB / 393.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.4676, allocations: 218.1 kB / 393.9 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.4678, allocations: 20.47 kB / 393.9 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/0.4692, allocations: 350.7 kB / 394.2 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001478/0.4707, allocations: 0.6441 MB / 394.9 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-05/0.4708, allocations: 28.91 kB / 394.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009213/0.4717, allocations: 0.6687 MB / 395.6 MB, free: 6.801 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4717, allocations: 0 / 395.6 MB, free: 6.801 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001273/0.473, allocations: 178.1 kB / 395.7 MB, free: 6.781 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (stop2.s,stop2.v,stop1.s,stop1.v,mass.s,mass.v) * Number of discrete variables: 18 ($whenCondition1,stop2.free,stop2.startForward,stop2.startBackward,stop2.locked,stop2.mode,stop2.stopped,$whenCondition2,stop1.free,stop1.startForward,stop1.startBackward,stop1.locked,stop1.mode,stop1.stopped,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode) * Number of discrete states: 9 (supportFriction.mode,supportFriction.startForward,supportFriction.startBackward,stop1.mode,stop1.startBackward,stop1.startForward,stop2.mode,stop2.startBackward,stop2.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 5,1 5,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001059/0.4741, allocations: 392.7 kB / 396.1 MB, free: 6.578 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.4763, allocations: 0.9847 MB / 397.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.4764, allocations: 1.438 kB / 397.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.4776, allocations: 0.6352 MB / 397.7 MB, free: 5.551 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.4783, allocations: 85.42 kB / 397.8 MB, free: 5.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.4822, allocations: 2.243 MB / 400.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.4826, allocations: 0.9239 MB / 401 MB, free: 3.285 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.4828, allocations: 42.83 kB / 401 MB, free: 3.27 MB / 302.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4828, allocations: 0 / 401 MB, free: 3.27 MB / 302.1 MB Notification: Performance of Templates: time 0.01844/0.5013, allocations: 13.99 MB / 415 MB, free: 5.836 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.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_trunk_Modelica.Mechanics.Translational.Examples.FrictionCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.FrictionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.FrictionCalcHelperMain.o] Error 1