Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Friction.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) 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(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia3.phi|inertia3.w|spring.phi_rel|spring.w_rel|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Friction") translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia3.phi|inertia3.w|spring.phi_rel|spring.w_rel|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 97.66 kB / 17.96 MB, free: 5.77 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.001485/0.001485, allocations: 180.6 kB / 18.86 MB, free: 4.906 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.852/1.852, allocations: 205.4 MB / 225 MB, free: 12.98 MB / 190.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.0006615/0.0006616, allocations: 12 kB / 282 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1378, allocations: 47.58 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.005484/0.1434, allocations: 2.689 MB / 332.3 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003583/0.147, allocations: 0.9669 MB / 333.3 MB, free: 68 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007249/0.1478, allocations: 7.938 kB / 333.3 MB, free: 60 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004984/0.1483, allocations: 43.62 kB / 333.3 MB, free: 16 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.1493, allocations: 119.2 kB / 333.4 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009383/0.1503, allocations: 191.7 kB / 333.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009022/0.1512, allocations: 0.5926 MB / 334.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003268/0.1516, allocations: 115.9 kB / 334.3 MB, free: 15 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004588/0.152, allocations: 243 kB / 334.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004188/0.1525, allocations: 278.8 kB / 334.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.964e-05/0.1526, allocations: 28 kB / 334.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.1528, allocations: 71.95 kB / 334.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.153, allocations: 91.64 kB / 335 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.1533, allocations: 260.3 kB / 335.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005416/0.1538, allocations: 415.2 kB / 335.7 MB, free: 13.63 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1538, allocations: 0 / 335.7 MB, free: 13.63 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1538, allocations: 0 / 335.7 MB, free: 13.63 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.1539, allocations: 4 kB / 335.7 MB, free: 13.62 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001608/0.1555, allocations: 0.7136 MB / 336.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.1555, allocations: 12.03 kB / 336.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.1557, allocations: 52.28 kB / 336.5 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/0.1563, allocations: 327.3 kB / 336.8 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.1563, allocations: 33.38 kB / 336.8 MB, free: 12.4 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.1564, allocations: 48.28 kB / 336.9 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.1575, allocations: 482.6 kB / 337.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.1575, allocations: 8 kB / 337.3 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-05/0.1576, allocations: 16 kB / 337.4 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.1576, allocations: 8 kB / 337.4 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.1587, allocations: 495.7 kB / 337.8 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.1614, allocations: 1.16 MB / 339 MB, free: 10.15 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.1625, allocations: 388.4 kB / 339.4 MB, free: 9.762 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006182/0.1631, allocations: 278 kB / 339.7 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.259e-05/0.1632, allocations: 12.42 kB / 339.7 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.1632, allocations: 35 kB / 339.7 MB, free: 9.43 MB / 286.1 MB Notification: Performance of pre-optimization done (n=50): time 2.736e-06/0.1632, allocations: 0 / 339.7 MB, free: 9.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=56): time 0.006281/0.1695, allocations: 2.452 MB / 342.2 MB, free: 6.852 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.1696, allocations: 63.95 kB / 342.2 MB, free: 6.777 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/0.17, allocations: 283.3 kB / 342.5 MB, free: 6.496 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.394e-05/0.17, allocations: 45.69 kB / 342.5 MB, free: 6.445 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.1702, allocations: 181.3 kB / 342.7 MB, free: 6.266 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.1704, allocations: 197.3 kB / 342.9 MB, free: 6.07 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/0.1705, allocations: 57.69 kB / 343 MB, free: 6.008 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.1707, allocations: 350.8 kB / 343.3 MB, free: 5.656 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/0.1712, allocations: 245.2 kB / 343.5 MB, free: 5.418 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/0.1718, allocations: 292.8 kB / 343.8 MB, free: 5.125 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008308/0.1726, allocations: 434.2 kB / 344.3 MB, free: 4.695 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1726, allocations: 0 / 344.3 MB, free: 4.695 MB / 286.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001696/0.1743, allocations: 0.8029 MB / 345.1 MB, free: 3.879 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.1743, allocations: 4 kB / 345.1 MB, free: 3.875 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1744, allocations: 0 / 345.1 MB, free: 3.875 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009968/0.1754, allocations: 0.5051 MB / 345.6 MB, free: 3.363 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.1757, allocations: 91.89 kB / 345.7 MB, free: 3.273 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.1772, allocations: 1.405 MB / 347.1 MB, free: 1.816 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/0.1778, allocations: 104.1 kB / 347.2 MB, free: 1.715 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.1779, allocations: 19.98 kB / 347.2 MB, free: 1.695 MB / 286.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: 16 (brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002755/0.1782, allocations: 177.3 kB / 347.4 MB, free: 1.512 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.1783, allocations: 39.53 kB / 347.4 MB, free: 1.473 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.1784, allocations: 59.73 kB / 347.5 MB, free: 1.41 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.1784, allocations: 4 kB / 347.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.1785, allocations: 0 / 347.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.1785, allocations: 7.984 kB / 347.5 MB, free: 1.398 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/0.1817, allocations: 1.493 MB / 349 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.1817, allocations: 3.938 kB / 349 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/0.1821, allocations: 83.89 kB / 349 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008339/0.1829, allocations: 481.4 kB / 349.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-05/0.183, allocations: 19.97 kB / 349.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.1844, allocations: 1.378 MB / 350.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1845, allocations: 0 / 350.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.1868, allocations: 1.104 MB / 352 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.1871, allocations: 168.7 kB / 352.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.1872, allocations: 23.94 kB / 352.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/0.1877, allocations: 83.92 kB / 352.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.188, allocations: 92.28 kB / 352.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.188, allocations: 27.92 kB / 352.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002428/0.1883, allocations: 201.9 kB / 352.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.1883, allocations: 0 / 352.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006135/0.1889, allocations: 136 kB / 352.7 MB, free: 11.93 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (clutch.phi_rel,clutch.w_rel,spring.phi_rel,spring.w_rel,inertia1.phi,inertia1.w) * Number of discrete variables: 10 (clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,clutch.free) * Number of discrete states: 6 (clutch.mode,clutch.startForward,clutch.startBackward,brake.mode,brake.startBackward,brake.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003192/0.1892, allocations: 143.1 kB / 352.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.1907, allocations: 0.6006 MB / 353.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1907, allocations: 96 / 353.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00075/0.1914, allocations: 342.2 kB / 353.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006901/0.1921, allocations: 80.58 kB / 353.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.1967, allocations: 1.853 MB / 355.7 MB, free: 8.879 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006164/0.1974, allocations: 0.8243 MB / 356.6 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.1975, allocations: 35.42 kB / 356.6 MB, free: 7.996 MB / 302.1 MB Notification: Performance of SimCode: time 1.273e-06/0.1975, allocations: 4 kB / 356.6 MB, free: 7.992 MB / 302.1 MB Notification: Performance of Templates: time 0.01508/0.2126, allocations: 8.476 MB / 365.1 MB, free: 15.5 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Friction.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Friction.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FrictionCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FrictionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FrictionCalcHelperMain.o] Error 1