Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.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.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001244, allocations: 84.14 kB / 17.58 MB, free: 5.758 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.00137/0.00137, allocations: 187.1 kB / 18.48 MB, free: 5.207 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.631/1.631, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004423/0.0004423, allocations: 8 kB / 281.4 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 47.58 MB / 329 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002387/0.1219, allocations: 1.73 MB / 330.7 MB, free: 2.344 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004073/0.1223, allocations: 163.4 kB / 330.9 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1224, allocations: 11.94 kB / 330.9 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.1226, allocations: 19.78 kB / 330.9 MB, free: 2.152 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.637e-05/0.1227, allocations: 39.64 kB / 330.9 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.1228, allocations: 31.95 kB / 331 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.1231, allocations: 167.2 kB / 331.1 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.1232, allocations: 38 kB / 331.2 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.831e-05/0.1233, allocations: 63.77 kB / 331.2 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1234, allocations: 59.66 kB / 331.3 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.1235, allocations: 8 kB / 331.3 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.645e-05/0.1235, allocations: 8 kB / 331.3 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.1235, allocations: 23.91 kB / 331.3 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.1236, allocations: 53.64 kB / 331.4 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.1238, allocations: 131.9 kB / 331.5 MB, free: 1.531 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1238, allocations: 4 kB / 331.5 MB, free: 1.527 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1238, allocations: 0 / 331.5 MB, free: 1.527 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1238, allocations: 0 / 331.5 MB, free: 1.527 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006027/0.1244, allocations: 442.5 kB / 331.9 MB, free: 1.047 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1245, allocations: 8.031 kB / 332 MB, free: 1.039 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.1245, allocations: 23.8 kB / 332 MB, free: 1.016 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.1248, allocations: 214.7 kB / 332.2 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.1248, allocations: 12 kB / 332.2 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.1249, allocations: 16 kB / 332.2 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.1252, allocations: 185.6 kB / 332.4 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.1252, allocations: 4 kB / 332.4 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.1252, allocations: 8 kB / 332.4 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.1253, allocations: 8 kB / 332.4 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.1255, allocations: 103.9 kB / 332.5 MB, free: 424 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.1269, allocations: 0.9585 MB / 333.5 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.1271, allocations: 99.75 kB / 333.6 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.909e-05/0.1272, allocations: 38.75 kB / 333.6 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.1272, allocations: 8 kB / 333.6 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1272, allocations: 34.56 kB / 333.7 MB, free: 15.15 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.1272, allocations: 0 / 333.7 MB, free: 15.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003068/0.1275, allocations: 129.3 kB / 333.8 MB, free: 15.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.1276, allocations: 106.8 kB / 333.9 MB, free: 14.89 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.1278, allocations: 207.7 kB / 334.1 MB, free: 14.67 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1278, allocations: 29.7 kB / 334.1 MB, free: 14.64 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1279, allocations: 143.8 kB / 334.3 MB, free: 14.49 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.128, allocations: 51.3 kB / 334.3 MB, free: 14.44 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.128, allocations: 4 kB / 334.3 MB, free: 14.44 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1281, allocations: 330.8 kB / 334.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.514e-05/0.1282, allocations: 36.45 kB / 334.7 MB, free: 14.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.1284, allocations: 150.5 kB / 334.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.1285, allocations: 60.55 kB / 334.9 MB, free: 13.82 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1285, allocations: 4 kB / 334.9 MB, free: 13.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000306/0.1288, allocations: 213.1 kB / 335.1 MB, free: 13.6 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1289, allocations: 4 kB / 335.1 MB, free: 13.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1289, allocations: 4 kB / 335.1 MB, free: 13.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.1289, allocations: 11.98 kB / 335.1 MB, free: 13.58 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.129, allocations: 51.92 kB / 335.2 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.1291, allocations: 4 kB / 335.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1292, allocations: 31.64 kB / 335.2 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.1292, allocations: 8.375 kB / 335.2 MB, free: 13.48 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (28): * Single equations (assignments): 28 * 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.0001582/0.1294, allocations: 141.7 kB / 335.3 MB, free: 13.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/0.1294, allocations: 19.8 kB / 335.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.1295, allocations: 16.94 kB / 335.4 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1295, allocations: 0 / 335.4 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1295, allocations: 4 kB / 335.4 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1295, allocations: 0 / 335.4 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.13, allocations: 245.4 kB / 335.6 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-06/0.13, allocations: 7.938 kB / 335.6 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.1301, allocations: 31.98 kB / 335.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1301, allocations: 4 kB / 335.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1301, allocations: 4 kB / 335.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1302, allocations: 0 / 335.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1302, allocations: 3.984 kB / 335.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/0.1305, allocations: 381.7 kB / 336 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-05/0.1306, allocations: 108.8 kB / 336.1 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.1306, allocations: 4 kB / 336.1 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.1308, allocations: 4 kB / 336.2 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.1308, allocations: 8 kB / 336.2 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1308, allocations: 3.984 kB / 336.2 MB, free: 12.42 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1309, allocations: 145.5 kB / 336.3 MB, free: 12.28 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1309, allocations: 0 / 336.3 MB, free: 12.28 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.1313, allocations: 36 kB / 336.3 MB, free: 12.24 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * 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 (12): * Single equations (assignments): 12 * 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.0001806/0.1315, allocations: 103.4 kB / 336.4 MB, free: 12.13 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.1317, allocations: 107.7 kB / 336.5 MB, free: 12.03 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1317, allocations: 4 kB / 336.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.924e-05/0.1318, allocations: 36.44 kB / 336.6 MB, free: 11.99 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.1323, allocations: 28.94 kB / 336.6 MB, free: 11.96 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.1334, allocations: 0.7942 MB / 337.4 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.1337, allocations: 0.7206 MB / 338.1 MB, free: 10.38 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.1338, allocations: 23.38 kB / 338.2 MB, free: 10.36 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1338, allocations: 0 / 338.2 MB, free: 10.36 MB / 286.1 MB Notification: Performance of Templates: time 0.003804/0.1376, allocations: 1.951 MB / 340.1 MB, free: 8.402 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.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_3.2.3_Modelica.Mechanics.Translational.Examples.SignConventionCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConventionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConventionCalcHelperMain.o] Error 1