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.0008317/0.0008319, allocations: 96.36 kB / 16.33 MB, free: 5.945 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.0008877/0.0008876, allocations: 189.8 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.574 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.3966/0.3966, allocations: 43.54 MB / 315.2 MB, free: 8.867 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.0005023/0.0005024, allocations: 12 kB / 384.6 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.14, allocations: 58.86 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.3033/0.4434, allocations: 34.87 MB / 478.3 MB, free: 30.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01877/0.4622, allocations: 7.472 MB / 485.8 MB, free: 25.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008393/0.4706, allocations: 154.8 kB / 485.9 MB, free: 25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006527/0.4772, allocations: 1.781 MB / 487.7 MB, free: 24.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01466/0.4919, allocations: 4.955 MB / 492.6 MB, free: 22.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.4946, allocations: 414.1 kB / 493 MB, free: 22.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005011/0.4996, allocations: 3.483 MB / 496.5 MB, free: 20.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007256/0.5069, allocations: 3.784 MB / 0.4886 GB, free: 19.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002836/0.5097, allocations: 1.001 MB / 0.4896 GB, free: 18.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003798/0.5135, allocations: 1.564 MB / 0.4911 GB, free: 18.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001127/0.5147, allocations: 129.5 kB / 0.4912 GB, free: 18.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002919/0.5176, allocations: 0.7337 MB / 0.4919 GB, free: 18.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002603/0.5202, allocations: 1.388 MB / 0.4933 GB, free: 17.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.5215, allocations: 0.7539 MB / 0.494 GB, free: 17.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007543/0.529, allocations: 4.784 MB / 0.4987 GB, free: 16.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/0.529, allocations: 4.969 kB / 0.4987 GB, free: 16.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.529, allocations: 0 / 0.4987 GB, free: 16.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002255/0.5293, allocations: 0 / 0.4987 GB, free: 16.01 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.009224/0.5385, allocations: 3.515 MB / 0.5021 GB, free: 13.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.5386, allocations: 9.594 kB / 0.5021 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006352/0.5449, allocations: 1.85 MB / 0.5039 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004233/0.5492, allocations: 1.723 MB / 0.5056 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.5494, allocations: 230.8 kB / 0.5059 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006625/0.5501, allocations: 299.1 kB / 0.5061 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02365/0.5737, allocations: 10.61 MB / 0.5165 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.5739, allocations: 31.66 kB / 0.5165 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004046/0.5744, allocations: 147.9 kB / 0.5167 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002873/0.5772, allocations: 2.048 MB / 0.5187 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01969/0.5969, allocations: 9.297 MB / 0.5278 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05112/0.6481, allocations: 38.01 MB / 0.5649 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01102/0.6592, allocations: 4.165 MB / 0.5689 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003337/0.6626, allocations: 2.304 MB / 0.5712 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.6729, allocations: 6.017 MB / 0.5771 GB, free: 5.191 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.736e-05/0.673, allocations: 55.81 kB / 0.5771 GB, free: 5.129 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 6.262e-06/0.673, allocations: 0 / 0.5771 GB, free: 5.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.06308/0.7361, allocations: 21.93 MB / 0.5985 GB, free: 15.03 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.7363, allocations: 149.8 kB / 0.5987 GB, free: 14.85 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005276/0.7416, allocations: 3.371 MB / 0.602 GB, free: 11.47 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003581/0.7419, allocations: 57.7 kB / 0.602 GB, free: 11.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002072/0.744, allocations: 2.801 MB / 0.6048 GB, free: 8.566 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009478/0.745, allocations: 0.7942 MB / 0.6055 GB, free: 7.762 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/0.7453, allocations: 120 kB / 0.6056 GB, free: 7.645 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004044/0.7457, allocations: 0.5541 MB / 0.6062 GB, free: 7.082 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003629/0.7493, allocations: 2.307 MB / 0.6084 GB, free: 4.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006429/0.7558, allocations: 5.757 MB / 0.6141 GB, free: 13.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005705/0.7615, allocations: 3.573 MB / 0.6176 GB, free: 9.723 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.877e-05/0.7616, allocations: 36 kB / 0.6176 GB, free: 9.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01722/0.7788, allocations: 8.621 MB / 0.626 GB, free: 1.043 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.249e-05/0.7789, allocations: 59.12 kB / 0.6261 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001519/0.7791, allocations: 124.9 kB / 0.6262 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2998/1.079, allocations: 1.059 MB / 0.6272 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004983/1.084, allocations: 1.371 MB / 0.6286 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004922/1.089, allocations: 5.409 MB / 0.6338 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004776/1.094, allocations: 326.3 kB / 0.6341 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007256/1.094, allocations: 360.1 kB / 0.6345 GB, free: 137.1 MB / 494.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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003798/1.098, allocations: 1.947 MB / 0.6364 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005719/1.099, allocations: 310.9 kB / 0.6367 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006278/1.105, allocations: 3.94 MB / 0.6405 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.78e-05/1.105, allocations: 25.84 kB / 0.6406 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.105, allocations: 3.719 kB / 0.6406 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/1.105, allocations: 13.28 kB / 0.6406 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/1.118, allocations: 8.871 MB / 0.6492 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/1.118, allocations: 6.719 kB / 0.6492 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/1.12, allocations: 354.5 kB / 0.6496 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002068/1.122, allocations: 0.8646 MB / 0.6504 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/1.122, allocations: 38.84 kB / 0.6505 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00432/1.127, allocations: 4.746 MB / 0.6551 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.127, allocations: 1.094 kB / 0.6551 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/1.138, allocations: 6.844 MB / 0.6618 GB, free: 126.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/1.14, allocations: 0.6844 MB / 0.6625 GB, free: 125.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000347/1.14, allocations: 39.89 kB / 0.6625 GB, free: 125.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/1.141, allocations: 119.8 kB / 0.6626 GB, free: 125.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/1.142, allocations: 123.6 kB / 0.6627 GB, free: 125.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/1.142, allocations: 50.69 kB / 0.6628 GB, free: 125.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003779/1.146, allocations: 2.065 MB / 0.6648 GB, free: 125 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.31e-07/1.146, allocations: 0 / 0.6648 GB, free: 125 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005617/1.151, allocations: 0.9704 MB / 0.6657 GB, free: 124.9 MB / 494.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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004752/1.152, allocations: 171.4 kB / 0.6659 GB, free: 124.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0118/1.164, allocations: 6.085 MB / 0.6718 GB, free: 122.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.164, allocations: 3.281 kB / 0.6718 GB, free: 122.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004935/1.169, allocations: 2.464 MB / 0.6743 GB, free: 121.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/1.171, allocations: 335.7 kB / 0.6746 GB, free: 121.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/1.189, allocations: 11.17 MB / 0.6855 GB, free: 115.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002744/1.192, allocations: 3.036 MB / 0.6884 GB, free: 113.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/1.193, allocations: 285.5 kB / 0.6887 GB, free: 113.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/1.193, allocations: 0 / 0.6887 GB, free: 113.3 MB / 494.1 MB Notification: Performance of Templates: time 0.1235/1.317, allocations: 123.9 MB / 0.8097 GB, free: 7.523 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++ 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.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