Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008788/0.0008788, allocations: 93.23 kB / 17.59 MB, free: 6.168 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.0008243/0.0008243, allocations: 183.7 kB / 18.47 MB, free: 5.336 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.783/1.783, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004413/0.0004414, allocations: 14.97 kB / 281.4 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1124, allocations: 47.58 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002485/0.1149, allocations: 1.964 MB / 330.9 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000889/0.1158, allocations: 0.5895 MB / 331.5 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1159, allocations: 4 kB / 331.5 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.1161, allocations: 23.78 kB / 331.6 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.1162, allocations: 67.45 kB / 331.6 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.1164, allocations: 47.89 kB / 331.7 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.1167, allocations: 258.7 kB / 331.9 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.1169, allocations: 81.28 kB / 332 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.117, allocations: 91.64 kB / 332.1 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.1171, allocations: 95.5 kB / 332.2 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.1172, allocations: 12 kB / 332.2 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.161e-05/0.1172, allocations: 12 kB / 332.2 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.1173, allocations: 35.83 kB / 332.2 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.928e-05/0.1173, allocations: 73.52 kB / 332.3 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.1176, allocations: 183.7 kB / 332.5 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1176, allocations: 0 / 332.5 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.1176, allocations: 8 kB / 332.5 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1176, allocations: 0 / 332.5 MB, free: 0.5273 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006474/0.1182, allocations: 494.9 kB / 333 MB, free: 15.99 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1183, allocations: 8.031 kB / 333 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.1183, allocations: 23.72 kB / 333 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.1186, allocations: 247.2 kB / 333.3 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1187, allocations: 16.44 kB / 333.3 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.1187, allocations: 20 kB / 333.3 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.119, allocations: 195.3 kB / 333.5 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1191, allocations: 7.906 kB / 333.5 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.1191, allocations: 8 kB / 333.5 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1191, allocations: 8 kB / 333.5 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/0.1194, allocations: 137.7 kB / 333.6 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008882/0.1203, allocations: 0.6424 MB / 334.3 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.1206, allocations: 178.1 kB / 334.5 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.1207, allocations: 96.83 kB / 334.6 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1208, allocations: 4 kB / 334.6 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1208, allocations: 42.55 kB / 334.6 MB, free: 14.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.1208, allocations: 0 / 334.6 MB, free: 14.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.00175/0.1226, allocations: 1.066 MB / 335.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.1226, allocations: 59.36 kB / 335.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.1228, allocations: 182.9 kB / 335.9 MB, free: 12.85 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.1228, allocations: 33.7 kB / 335.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.787e-05/0.1229, allocations: 140.6 kB / 336.1 MB, free: 12.67 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.523e-05/0.123, allocations: 126.2 kB / 336.2 MB, free: 12.55 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/0.1231, allocations: 8 kB / 336.2 MB, free: 12.54 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1232, allocations: 330.8 kB / 336.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.1233, allocations: 71.97 kB / 336.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.1235, allocations: 114.3 kB / 336.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1237, allocations: 85.41 kB / 336.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1237, allocations: 0 / 336.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004537/0.1241, allocations: 291.1 kB / 337.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1242, allocations: 7.984 kB / 337.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1242, allocations: 8.062 kB / 337.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001657/0.1243, allocations: 40.84 kB / 337.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.1246, allocations: 59.91 kB / 337.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.1259, allocations: 1.565 MB / 338.8 MB, free: 9.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.1261, allocations: 12.02 kB / 338.8 MB, free: 9.809 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.1261, allocations: 15.94 kB / 338.8 MB, free: 9.793 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.1262, allocations: 145.8 kB / 338.9 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.1263, allocations: 19.72 kB / 338.9 MB, free: 9.621 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.905e-05/0.1264, allocations: 30.64 kB / 339 MB, free: 9.594 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1264, allocations: 4 kB / 339 MB, free: 9.59 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.1264, allocations: 0 / 339 MB, free: 9.59 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1264, allocations: 0 / 339 MB, free: 9.59 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.1274, allocations: 0.7935 MB / 339.8 MB, free: 8.719 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1274, allocations: 192 / 339.8 MB, free: 8.719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.1277, allocations: 64 kB / 339.8 MB, free: 8.656 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.1278, allocations: 40.83 kB / 339.9 MB, free: 8.613 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.1278, allocations: 8 kB / 339.9 MB, free: 8.605 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.1289, allocations: 1.374 MB / 341.3 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1289, allocations: 0 / 341.3 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006527/0.1296, allocations: 486.4 kB / 341.7 MB, free: 6.59 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.1296, allocations: 100.9 kB / 341.8 MB, free: 6.473 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.1297, allocations: 8 kB / 341.8 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1298, allocations: 8 kB / 341.8 MB, free: 6.457 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.1299, allocations: 27.92 kB / 341.9 MB, free: 6.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.1299, allocations: 8 kB / 341.9 MB, free: 6.422 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.13, allocations: 135.5 kB / 342 MB, free: 6.289 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.13, allocations: 3.938 kB / 342 MB, free: 6.285 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003583/0.1304, allocations: 72 kB / 342.1 MB, free: 6.215 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001238/0.1305, allocations: 103.1 kB / 342.2 MB, free: 6.105 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005959/0.1311, allocations: 343 kB / 342.5 MB, free: 5.758 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1311, allocations: 0 / 342.5 MB, free: 5.758 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.1315, allocations: 254.8 kB / 342.8 MB, free: 5.496 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.1319, allocations: 40.7 kB / 342.8 MB, free: 5.457 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.1333, allocations: 0.8999 MB / 343.7 MB, free: 4.512 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.1337, allocations: 0.7561 MB / 344.5 MB, free: 3.73 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.1338, allocations: 27.42 kB / 344.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1338, allocations: 0 / 344.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of Templates: time 0.006721/0.1405, allocations: 3.798 MB / 348.3 MB, free: 15.89 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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.Rotational.Examples.FirstCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstCalcHelperMain.o] Error 1