Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008635/0.0008634, allocations: 91.27 kB / 16.33 MB, free: 5.953 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.0008597/0.0008597, allocations: 187.3 kB / 17.22 MB, free: 5.883 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.689/1.689, allocations: 205.4 MB / 223.4 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4457/0.4457, allocations: 43.54 MB / 315.2 MB, free: 8.852 MB / 254.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.0005348/0.0005351, allocations: 19.98 kB / 384.5 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1345, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002276/0.1368, allocations: 1.571 MB / 445 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008591/0.1377, allocations: 0.5077 MB / 445.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.1378, allocations: 4 kB / 445.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.1379, allocations: 15.86 kB / 445.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.965e-05/0.138, allocations: 31.7 kB / 445.5 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.1382, allocations: 23.97 kB / 445.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.1384, allocations: 143.3 kB / 445.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.1385, allocations: 57.7 kB / 445.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.196e-05/0.1386, allocations: 43.8 kB / 445.8 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.559e-05/0.1387, allocations: 51.78 kB / 445.8 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.1388, allocations: 8 kB / 445.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.84e-05/0.1388, allocations: 4 kB / 445.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.1388, allocations: 27.91 kB / 445.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.1389, allocations: 49.58 kB / 445.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.139, allocations: 115.9 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.139, allocations: 0 / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.139, allocations: 0 / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.139, allocations: 3.938 kB / 446.1 MB, free: 10.37 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000501/0.1395, allocations: 406.9 kB / 446.4 MB, free: 9.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1396, allocations: 16.02 kB / 446.5 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.1396, allocations: 19.81 kB / 446.5 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.1399, allocations: 198.8 kB / 446.7 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.1399, allocations: 12 kB / 446.7 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.14, allocations: 12 kB / 446.7 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.1402, allocations: 125.6 kB / 446.8 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1403, allocations: 0 / 446.8 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.1403, allocations: 7.953 kB / 446.8 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1403, allocations: 4 kB / 446.8 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.1405, allocations: 87.95 kB / 446.9 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006726/0.1412, allocations: 480.1 kB / 447.4 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.1414, allocations: 110.5 kB / 447.5 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.1415, allocations: 68.77 kB / 447.6 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.1415, allocations: 0 / 447.6 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1416, allocations: 38.56 kB / 447.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.1416, allocations: 4 kB / 447.6 MB, free: 8.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001389/0.143, allocations: 0.8112 MB / 448.4 MB, free: 7.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.143, allocations: 59.34 kB / 448.5 MB, free: 7.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.1431, allocations: 142.2 kB / 448.6 MB, free: 7.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1432, allocations: 29.7 kB / 448.6 MB, free: 7.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.1433, allocations: 116.3 kB / 448.8 MB, free: 7.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.1433, allocations: 67 kB / 448.8 MB, free: 7.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.1433, allocations: 7.938 kB / 448.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1435, allocations: 326.8 kB / 449.1 MB, free: 6.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.211e-05/0.1436, allocations: 48.34 kB / 449.2 MB, free: 6.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.1437, allocations: 76.16 kB / 449.3 MB, free: 6.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1438, allocations: 56 kB / 449.3 MB, free: 6.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1438, allocations: 0 / 449.3 MB, free: 6.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003635/0.1442, allocations: 210.1 kB / 449.5 MB, free: 6.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1442, allocations: 7.938 kB / 449.5 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1442, allocations: 7.938 kB / 449.5 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001623/0.1444, allocations: 40.88 kB / 449.6 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.1445, allocations: 43.91 kB / 449.6 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.1459, allocations: 1.55 MB / 451.2 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.085e-05/0.1459, allocations: 8.031 kB / 451.2 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.146, allocations: 12 kB / 451.2 MB, free: 4.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * 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.0001119/0.1461, allocations: 126.8 kB / 451.3 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.1461, allocations: 15.81 kB / 451.3 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.1462, allocations: 21.23 kB / 451.4 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1462, allocations: 4 kB / 451.4 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1462, allocations: 0 / 451.4 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.1462, allocations: 0 / 451.4 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006956/0.1469, allocations: 0.5583 MB / 451.9 MB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1469, allocations: 0 / 451.9 MB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.1471, allocations: 39.97 kB / 452 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.336e-05/0.1472, allocations: 36.81 kB / 452 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1472, allocations: 4 kB / 452 MB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.1482, allocations: 1.363 MB / 453.4 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1482, allocations: 0 / 453.4 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.1487, allocations: 357.3 kB / 453.7 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.1487, allocations: 89.03 kB / 453.8 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.1488, allocations: 0 / 453.8 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/0.1489, allocations: 8 kB / 453.8 MB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.1489, allocations: 16.05 kB / 453.8 MB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.1489, allocations: 8 kB / 453.8 MB, free: 1.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.28e-05/0.149, allocations: 111.2 kB / 453.9 MB, free: 1.781 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.149, allocations: 0 / 453.9 MB, free: 1.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.1493, allocations: 40 kB / 454 MB, free: 1.742 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * 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 (16): * Single equations (assignments): 15 * 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.0001011/0.1494, allocations: 103.1 kB / 454.1 MB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004428/0.1499, allocations: 269.5 kB / 454.3 MB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1499, allocations: 3.938 kB / 454.3 MB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.1501, allocations: 194.5 kB / 454.5 MB, free: 1.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.1505, allocations: 28.09 kB / 454.6 MB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007891/0.1513, allocations: 0.5429 MB / 455.1 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2282/0.3795, allocations: 0.7178 MB / 455.8 MB, free: 45.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.891e-05/0.3796, allocations: 18.64 kB / 455.8 MB, free: 45.53 MB / 382.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3796, allocations: 0 / 455.8 MB, free: 45.53 MB / 382.1 MB Notification: Performance of Templates: time 0.004155/0.3838, allocations: 2.376 MB / 458.2 MB, free: 45.46 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrainCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrainCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrainCalcHelperMain.o] Error 1