Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 92.41 kB / 16.33 MB, free: 6.398 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.00109/0.00109, allocations: 184.2 kB / 17.22 MB, free: 6.289 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.659/1.659, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2625/0.2625, allocations: 43.56 MB / 315.2 MB, free: 0.5547 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.0005638/0.0005638, allocations: 15.09 kB / 384.5 MB, free: 57.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1239, allocations: 58.87 MB / 443.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.00236/0.1263, allocations: 2.798 MB / 446.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009597/0.1273, allocations: 0.8074 MB / 447 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1274, allocations: 15.94 kB / 447 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1275, allocations: 51.56 kB / 447.1 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.1277, allocations: 146.8 kB / 447.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.1279, allocations: 79.92 kB / 447.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.1282, allocations: 0.548 MB / 447.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.1284, allocations: 132.7 kB / 448 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.1286, allocations: 191.3 kB / 448.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.1288, allocations: 207.1 kB / 448.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.1288, allocations: 24 kB / 448.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.158e-05/0.1289, allocations: 24 kB / 448.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.1289, allocations: 79.67 kB / 448.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.811e-05/0.129, allocations: 121.5 kB / 448.6 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.1292, allocations: 406.8 kB / 449 MB, free: 148 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1292, allocations: 3.938 kB / 449 MB, free: 144 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1292, allocations: 0 / 449 MB, free: 144 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.1293, allocations: 4 kB / 449 MB, free: 140 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0008439/0.1301, allocations: 0.6781 MB / 449.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1302, allocations: 8.031 kB / 449.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.238e-05/0.1302, allocations: 59.3 kB / 449.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.1306, allocations: 305.3 kB / 450.1 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.1306, allocations: 33 kB / 450.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.396e-05/0.1307, allocations: 63.89 kB / 450.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006262/0.1313, allocations: 434.5 kB / 450.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.1314, allocations: 7.906 kB / 450.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.1314, allocations: 20 kB / 450.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.1314, allocations: 12 kB / 450.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.1319, allocations: 316.5 kB / 450.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.1334, allocations: 1.165 MB / 452.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006488/0.134, allocations: 477.1 kB / 452.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.1343, allocations: 215.8 kB / 452.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.1344, allocations: 4.438 kB / 452.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1344, allocations: 43.03 kB / 452.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 2.244e-06/0.1344, allocations: 0 / 452.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=74): time 0.002598/0.137, allocations: 2.132 MB / 454.9 MB, free: 9.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.1371, allocations: 85.67 kB / 455 MB, free: 9.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1373, allocations: 251 kB / 455.3 MB, free: 9.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.1373, allocations: 37.7 kB / 455.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1374, allocations: 213 kB / 455.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.1376, allocations: 276 kB / 455.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-05/0.1377, allocations: 12 kB / 455.8 MB, free: 8.918 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1378, allocations: 362.8 kB / 456.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.138, allocations: 153.9 kB / 456.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.1384, allocations: 272.9 kB / 456.6 MB, free: 8.105 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.1387, allocations: 203.2 kB / 456.8 MB, free: 7.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1387, allocations: 3.938 kB / 456.8 MB, free: 7.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007987/0.1395, allocations: 0.5591 MB / 457.3 MB, free: 7.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1395, allocations: 8 kB / 457.3 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1395, allocations: 7.984 kB / 457.3 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1396, allocations: 4 kB / 457.3 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/0.1401, allocations: 179.8 kB / 457.5 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.1401, allocations: 11.89 kB / 457.5 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.1404, allocations: 32.2 kB / 457.6 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.1404, allocations: 24 kB / 457.6 MB, free: 7.074 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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.0002033/0.1406, allocations: 177.7 kB / 457.8 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.115e-05/0.1407, allocations: 47.44 kB / 457.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.1408, allocations: 55.64 kB / 457.9 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.1409, allocations: 8 kB / 457.9 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.1409, allocations: 0 / 457.9 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.1409, allocations: 11.94 kB / 457.9 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.1428, allocations: 1.434 MB / 459.3 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1428, allocations: 7.938 kB / 459.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/0.1434, allocations: 163.8 kB / 459.5 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.1434, allocations: 4 kB / 459.5 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.1435, allocations: 16 kB / 459.5 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.551e-05/0.1435, allocations: 19.88 kB / 459.5 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1435, allocations: 0 / 459.5 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.1446, allocations: 0.9078 MB / 460.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.1447, allocations: 116.6 kB / 460.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.1447, allocations: 24 kB / 460.6 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.145, allocations: 16 kB / 460.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.1451, allocations: 56.27 kB / 460.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.1451, allocations: 24 kB / 460.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.1452, allocations: 178 kB / 460.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1452, allocations: 0 / 460.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004768/0.1457, allocations: 144 kB / 461 MB, free: 3.492 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.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 (74): * Single equations (assignments): 74 * 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.0001286/0.1459, allocations: 123 kB / 461.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000638/0.1465, allocations: 451.9 kB / 461.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1465, allocations: 0 / 461.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.1468, allocations: 238.2 kB / 461.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007915/0.1476, allocations: 115.2 kB / 461.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.1502, allocations: 2.056 MB / 463.9 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.1507, allocations: 0.8527 MB / 464.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.1508, allocations: 43.44 kB / 464.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1508, allocations: 0 / 464.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Templates: time 0.008576/0.1594, allocations: 5.865 MB / 470.7 MB, free: 9.691 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.InitializationConversion.SpringDamperCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamperCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamperCalcHelperMain.o] Error 1