Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 96.56 kB / 16.67 MB, free: 6.344 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.001808/0.001809, allocations: 177.2 kB / 17.57 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.2754/0.2754, allocations: 43.59 MB / 315.6 MB, free: 432 kB / 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.000532/0.0005321, allocations: 17.66 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1394, allocations: 58.87 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.03977/0.1792, allocations: 37.44 MB / 481.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02396/0.2032, allocations: 7.811 MB / 489.4 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0103/0.2136, allocations: 159.6 kB / 489.5 MB, free: 7.574 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.2157, allocations: 402 kB / 489.9 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005684/0.2215, allocations: 1.163 MB / 491.1 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.2237, allocations: 471.4 kB / 491.5 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008852/0.2326, allocations: 4.35 MB / 495.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008729/0.2414, allocations: 4.169 MB / 0.4883 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.2439, allocations: 0.9372 MB / 0.4892 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00309/0.247, allocations: 1.584 MB / 0.4908 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009221/0.248, allocations: 128 kB / 0.4909 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.2506, allocations: 0.8813 MB / 0.4918 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002319/0.2529, allocations: 1.433 MB / 0.4932 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003513/0.2565, allocations: 1.795 MB / 0.4949 GB, free: 6.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006843/0.2633, allocations: 4.789 MB / 0.4996 GB, free: 1.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2634, allocations: 4 kB / 0.4996 GB, free: 1.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.968e-06/0.2634, allocations: 0 / 0.4996 GB, free: 1.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002822/0.2637, allocations: 4 kB / 0.4996 GB, free: 1.355 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.01089/0.2746, allocations: 3.458 MB / 0.503 GB, free: 13.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.2746, allocations: 12.03 kB / 0.503 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007261/0.2819, allocations: 1.852 MB / 0.5048 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004991/0.2869, allocations: 1.75 MB / 0.5065 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/0.2873, allocations: 233.7 kB / 0.5067 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001497/0.2888, allocations: 295.8 kB / 0.507 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02524/0.314, allocations: 10.64 MB / 0.5174 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001268/0.3142, allocations: 35.66 kB / 0.5174 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004406/0.3147, allocations: 139.9 kB / 0.5176 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003843/0.3185, allocations: 2.048 MB / 0.5196 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02173/0.3403, allocations: 9.34 MB / 0.5287 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3875/0.7278, allocations: 38.02 MB / 0.5658 GB, free: 62.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/0.7385, allocations: 4.178 MB / 0.5699 GB, free: 59.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002841/0.7414, allocations: 2.308 MB / 0.5722 GB, free: 58.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007828/0.7492, allocations: 6.013 MB / 0.578 GB, free: 54.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.7493, allocations: 50.47 kB / 0.5781 GB, free: 54.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=181): time 4.909e-06/0.7493, allocations: 0 / 0.5781 GB, free: 54.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=210): time 0.05827/0.8076, allocations: 21.95 MB / 0.5995 GB, free: 32.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.8077, allocations: 145.8 kB / 0.5997 GB, free: 31.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004175/0.8119, allocations: 3.387 MB / 0.603 GB, free: 28.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006364/0.8125, allocations: 59.11 kB / 0.603 GB, free: 28.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001729/0.8143, allocations: 2.789 MB / 0.6058 GB, free: 25.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001094/0.8154, allocations: 0.7959 MB / 0.6065 GB, free: 24.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005551/0.8159, allocations: 0.5002 MB / 0.607 GB, free: 24.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.957e-05/0.816, allocations: 309.1 kB / 0.6073 GB, free: 24.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002866/0.8189, allocations: 2.327 MB / 0.6096 GB, free: 21.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004302/0.8232, allocations: 5.785 MB / 0.6152 GB, free: 14.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008378/0.8316, allocations: 8.799 MB / 0.6238 GB, free: 3.684 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.101e-05/0.8317, allocations: 32 kB / 0.6239 GB, free: 3.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01752/0.8492, allocations: 8.685 MB / 0.6323 GB, free: 10.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000166/0.8495, allocations: 56 kB / 0.6324 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000291/0.8498, allocations: 122.2 kB / 0.6325 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003456/0.8532, allocations: 1.038 MB / 0.6335 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006566/0.8598, allocations: 1.376 MB / 0.6349 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008962/0.8688, allocations: 5.418 MB / 0.6402 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006277/0.8752, allocations: 327.5 kB / 0.6405 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001515/0.8767, allocations: 362.6 kB / 0.6408 GB, free: 1.996 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005698/0.8824, allocations: 1.951 MB / 0.6427 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/0.8837, allocations: 308.1 kB / 0.643 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009366/0.893, allocations: 3.951 MB / 0.6469 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-05/0.8932, allocations: 20 kB / 0.6469 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.409e-05/0.8933, allocations: 8 kB / 0.6469 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-05/0.8934, allocations: 11.97 kB / 0.6469 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02537/0.9187, allocations: 8.89 MB / 0.6556 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.764e-05/0.9188, allocations: 0 / 0.6556 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002063/0.9209, allocations: 351.5 kB / 0.6559 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002757/0.9237, allocations: 0.8618 MB / 0.6568 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000444/0.9241, allocations: 35.98 kB / 0.6568 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006358/0.9305, allocations: 4.749 MB / 0.6614 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.9306, allocations: 4.031 kB / 0.6614 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/0.9437, allocations: 6.865 MB / 0.6681 GB, free: 5.605 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00204/0.9458, allocations: 0.6804 MB / 0.6688 GB, free: 4.902 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00096/0.9468, allocations: 39.14 kB / 0.6689 GB, free: 4.867 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/0.949, allocations: 119.8 kB / 0.669 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004896/0.9495, allocations: 125.1 kB / 0.6691 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002816/0.9498, allocations: 56 kB / 0.6691 GB, free: 4.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00542/0.9553, allocations: 2.081 MB / 0.6712 GB, free: 2.496 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.9553, allocations: 0 / 0.6712 GB, free: 2.496 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006132/0.9615, allocations: 0.9714 MB / 0.6721 GB, free: 1.527 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005681/0.962, allocations: 179.4 kB / 0.6723 GB, free: 1.352 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01203/0.9741, allocations: 6.113 MB / 0.6783 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/0.9742, allocations: 0 / 0.6783 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004885/0.9791, allocations: 2.464 MB / 0.6807 GB, free: 8.668 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/0.9829, allocations: 337 kB / 0.681 GB, free: 8.336 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02872/1.012, allocations: 11.58 MB / 0.6923 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00742/1.019, allocations: 3.033 MB / 0.6953 GB, free: 9.656 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001727/1.021, allocations: 283.4 kB / 0.6955 GB, free: 9.379 MB / 494.1 MB Notification: Performance of SimCode: time 2.164e-06/1.021, allocations: 4 kB / 0.6955 GB, free: 9.375 MB / 494.1 MB Notification: Performance of Templates: time 0.5127/1.534, allocations: 123.8 MB / 0.8164 GB, free: 85.33 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeriesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeriesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeriesCalcHelperMain.o] Error 1