Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008909/0.000891, allocations: 94.95 kB / 16.33 MB, free: 5.938 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.0009884/0.0009883, allocations: 189.5 kB / 17.22 MB, free: 5.879 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.682/1.682, allocations: 205.4 MB / 223.4 MB, free: 5.508 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.4103/0.4103, allocations: 43.55 MB / 315.2 MB, free: 8.879 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.0005192/0.0005192, allocations: 23.98 kB / 384.6 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1364, allocations: 58.85 MB / 443.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003104/0.1395, allocations: 2.195 MB / 445.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1409, allocations: 0.6713 MB / 446.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.1412, allocations: 11.88 kB / 446.3 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.1414, allocations: 27.77 kB / 446.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.1416, allocations: 67.41 kB / 446.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.1418, allocations: 71.84 kB / 446.4 MB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.1421, allocations: 302.6 kB / 446.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.1423, allocations: 65.55 kB / 446.8 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1424, allocations: 115.5 kB / 446.9 MB, free: 9.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.1426, allocations: 111.5 kB / 447 MB, free: 9.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.1427, allocations: 12 kB / 447 MB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.646e-05/0.1427, allocations: 12 kB / 447 MB, free: 9.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.1428, allocations: 43.78 kB / 447.1 MB, free: 9.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.534e-05/0.1428, allocations: 73.58 kB / 447.2 MB, free: 9.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.143, allocations: 215.6 kB / 447.4 MB, free: 9.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1431, allocations: 4 kB / 447.4 MB, free: 9.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1431, allocations: 0 / 447.4 MB, free: 9.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1431, allocations: 7.938 kB / 447.4 MB, free: 9.055 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007685/0.1439, allocations: 0.5416 MB / 447.9 MB, free: 8.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1439, allocations: 16.02 kB / 447.9 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.144, allocations: 35.61 kB / 448 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.1443, allocations: 246.6 kB / 448.2 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.1443, allocations: 20.56 kB / 448.2 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.069e-05/0.1443, allocations: 27.98 kB / 448.3 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004654/0.1448, allocations: 285.9 kB / 448.5 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1448, allocations: 15.86 kB / 448.6 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.1449, allocations: 12 kB / 448.6 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.1449, allocations: 8 kB / 448.6 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.1453, allocations: 203.7 kB / 448.8 MB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.1468, allocations: 1.317 MB / 450.1 MB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.1473, allocations: 250.5 kB / 450.3 MB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.1475, allocations: 111.4 kB / 450.4 MB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.1475, allocations: 7.984 kB / 450.5 MB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.1475, allocations: 42.5 kB / 450.5 MB, free: 5.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.313e-06/0.1475, allocations: 0 / 450.5 MB, free: 5.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002424/0.15, allocations: 1.627 MB / 452.1 MB, free: 3.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.1501, allocations: 144.5 kB / 452.3 MB, free: 3.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.1503, allocations: 217 kB / 452.5 MB, free: 3.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.1503, allocations: 29.7 kB / 452.5 MB, free: 3.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.1504, allocations: 172.3 kB / 452.7 MB, free: 3.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.265e-05/0.1505, allocations: 118.3 kB / 452.8 MB, free: 3.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.1505, allocations: 12 kB / 452.8 MB, free: 3.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1507, allocations: 334.8 kB / 453.1 MB, free: 2.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.1509, allocations: 116.8 kB / 453.2 MB, free: 2.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.1512, allocations: 249.4 kB / 453.5 MB, free: 2.344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.1515, allocations: 144.1 kB / 453.6 MB, free: 2.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1515, allocations: 0 / 453.6 MB, free: 2.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006783/0.1522, allocations: 418.2 kB / 454 MB, free: 1.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1522, allocations: 4 kB / 454 MB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.1523, allocations: 8.094 kB / 454 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.1523, allocations: 11.94 kB / 454.1 MB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/0.1526, allocations: 112.1 kB / 454.2 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.1527, allocations: 11.98 kB / 454.2 MB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.1529, allocations: 32.08 kB / 454.2 MB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.1529, allocations: 19.94 kB / 454.2 MB, free: 1.594 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.000144/0.153, allocations: 157.7 kB / 454.4 MB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.225e-05/0.1531, allocations: 31.62 kB / 454.4 MB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.419e-05/0.1532, allocations: 29.7 kB / 454.4 MB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1532, allocations: 7.953 kB / 454.4 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.1532, allocations: 4 kB / 454.5 MB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1533, allocations: 3.984 kB / 454.5 MB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.1546, allocations: 1.002 MB / 455.5 MB, free: 288 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1546, allocations: 8.062 kB / 455.5 MB, free: 280 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.1549, allocations: 87.95 kB / 455.6 MB, free: 192 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1549, allocations: 3.938 kB / 455.6 MB, free: 188 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.155, allocations: 11.98 kB / 455.6 MB, free: 176 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.155, allocations: 4 kB / 455.6 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.155, allocations: 0 / 455.6 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2613/0.4163, allocations: 0.76 MB / 456.3 MB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.3e-05/0.4165, allocations: 96.64 kB / 456.4 MB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.4165, allocations: 14.19 kB / 456.4 MB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.4168, allocations: 21.33 kB / 456.5 MB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.035e-05/0.4169, allocations: 29.28 kB / 456.5 MB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.4169, allocations: 10.97 kB / 456.5 MB, free: 45.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.4171, allocations: 154.6 kB / 456.7 MB, free: 45.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.4171, allocations: 0 / 456.7 MB, free: 45.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000557/0.4177, allocations: 67.94 kB / 456.7 MB, free: 45.03 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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.0001459/0.4178, allocations: 106 kB / 456.8 MB, free: 44.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006271/0.4184, allocations: 298.2 kB / 457.1 MB, free: 44.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4185, allocations: 0 / 457.1 MB, free: 44.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.4187, allocations: 143.9 kB / 457.3 MB, free: 44.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006586/0.4194, allocations: 40.48 kB / 457.3 MB, free: 44.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.4207, allocations: 1.113 MB / 458.4 MB, free: 44.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.4209, allocations: 0.7685 MB / 459.2 MB, free: 43.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8e-05/0.421, allocations: 30.89 kB / 459.2 MB, free: 43.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.421, allocations: 1.312 kB / 459.2 MB, free: 43.59 MB / 382.1 MB Notification: Performance of Templates: time 0.004789/0.4258, allocations: 3.27 MB / 462.5 MB, free: 43.35 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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.TestSpeedCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeedCalcHelperMain.o] Error 1