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.001211/0.001216, allocations: 102.6 kB / 16.52 MB, free: 6.723 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.001369/0.001369, allocations: 191.7 kB / 17.44 MB, free: 6.055 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.867/1.867, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.2565/0.2565, allocations: 43.51 MB / 314.1 MB, free: 0.7461 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.001534/0.001534, allocations: 71.64 kB / 382.7 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1407, allocations: 57.79 MB / 440.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.03574/0.1765, allocations: 38.52 MB / 479 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02281/0.1994, allocations: 7.866 MB / 486.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01137/0.2108, allocations: 159.6 kB / 487 MB, free: 8.785 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005847/0.2168, allocations: 2.345 MB / 489.4 MB, free: 6.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004917/0.2217, allocations: 1.144 MB / 490.5 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.2238, allocations: 471.4 kB / 491 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00683/0.2306, allocations: 4.351 MB / 495.3 MB, free: 476 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005262/0.2359, allocations: 2.995 MB / 498.3 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002844/0.2388, allocations: 1.129 MB / 499.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003546/0.2424, allocations: 1.838 MB / 0.4895 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.2436, allocations: 212 kB / 0.4897 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.2464, allocations: 0.9595 MB / 0.4907 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002477/0.2489, allocations: 1.554 MB / 0.4922 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004449/0.2534, allocations: 1.922 MB / 0.4941 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007252/0.2606, allocations: 4.896 MB / 0.4988 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.2607, allocations: 0 / 0.4988 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2607, allocations: 0 / 0.4988 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003183/0.261, allocations: 0 / 0.4988 GB, free: 0.8789 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.01575/0.2768, allocations: 4.269 MB / 0.503 GB, free: 12.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.2768, allocations: 8.031 kB / 0.503 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006974/0.2838, allocations: 1.809 MB / 0.5048 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004617/0.2885, allocations: 1.75 MB / 0.5065 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/0.2888, allocations: 225.7 kB / 0.5067 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/0.2901, allocations: 303.8 kB / 0.507 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02448/0.3146, allocations: 10.63 MB / 0.5174 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002264/0.3149, allocations: 31.75 kB / 0.5174 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001317/0.3162, allocations: 143.8 kB / 0.5175 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004246/0.3205, allocations: 2.04 MB / 0.5195 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0232/0.3437, allocations: 9.324 MB / 0.5286 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3333/0.6771, allocations: 38.02 MB / 0.5658 GB, free: 62.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009436/0.6866, allocations: 4.177 MB / 0.5699 GB, free: 60.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002442/0.6891, allocations: 2.301 MB / 0.5721 GB, free: 58.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006782/0.6959, allocations: 6.013 MB / 0.578 GB, free: 53.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.6959, allocations: 55.81 kB / 0.578 GB, free: 53.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=181): time 3.526e-06/0.696, allocations: 0 / 0.578 GB, free: 53.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=210): time 0.05712/0.7531, allocations: 21.94 MB / 0.5995 GB, free: 31.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.7532, allocations: 153.8 kB / 0.5996 GB, free: 31.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/0.757, allocations: 3.387 MB / 0.6029 GB, free: 27.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003157/0.7573, allocations: 57.7 kB / 0.603 GB, free: 27.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001341/0.7587, allocations: 2.799 MB / 0.6057 GB, free: 24.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007034/0.7594, allocations: 0.7951 MB / 0.6065 GB, free: 24.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001338/0.7608, allocations: 1.194 MB / 0.6076 GB, free: 22.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.039e-05/0.7608, allocations: 301.1 kB / 0.6079 GB, free: 22.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/0.7635, allocations: 2.331 MB / 0.6102 GB, free: 20.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00422/0.7677, allocations: 5.781 MB / 0.6159 GB, free: 12.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007624/0.7754, allocations: 8.81 MB / 0.6245 GB, free: 2.266 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.319e-05/0.7755, allocations: 36 kB / 0.6245 GB, free: 2.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01505/0.7905, allocations: 8.675 MB / 0.633 GB, free: 9.535 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.541e-05/0.7906, allocations: 56 kB / 0.633 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001217/0.7908, allocations: 120 kB / 0.6331 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/0.7935, allocations: 1.042 MB / 0.6341 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004523/0.798, allocations: 1.376 MB / 0.6355 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006112/0.8041, allocations: 5.41 MB / 0.6408 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004856/0.809, allocations: 323.5 kB / 0.6411 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/0.8102, allocations: 360 kB / 0.6414 GB, free: 0.5898 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.006216/0.8164, allocations: 1.956 MB / 0.6433 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/0.8175, allocations: 308.2 kB / 0.6436 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008077/0.8256, allocations: 3.944 MB / 0.6475 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.206e-05/0.8256, allocations: 23.94 kB / 0.6475 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.027e-05/0.8257, allocations: 12 kB / 0.6475 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.851e-05/0.8257, allocations: 7.969 kB / 0.6475 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/0.8436, allocations: 8.881 MB / 0.6562 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/0.8436, allocations: 3.984 kB / 0.6562 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/0.8453, allocations: 355.5 kB / 0.6565 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002435/0.8478, allocations: 0.8618 MB / 0.6574 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/0.8481, allocations: 32 kB / 0.6574 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005246/0.8533, allocations: 4.762 MB / 0.6621 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.8533, allocations: 0 / 0.6621 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/0.8653, allocations: 6.867 MB / 0.6688 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002233/0.8676, allocations: 0.6764 MB / 0.6694 GB, free: 3.484 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009706/0.8686, allocations: 32 kB / 0.6695 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001999/0.8706, allocations: 119.8 kB / 0.6696 GB, free: 3.336 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004186/0.871, allocations: 121 kB / 0.6697 GB, free: 3.215 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/0.8712, allocations: 52 kB / 0.6697 GB, free: 3.164 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005442/0.8767, allocations: 2.085 MB / 0.6718 GB, free: 1.086 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.8767, allocations: 4 kB / 0.6718 GB, free: 1.082 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007306/0.884, allocations: 0.97 MB / 0.6727 GB, free: 120 kB / 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.0009859/0.885, allocations: 177.6 kB / 0.6729 GB, free: 15.94 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01214/0.8972, allocations: 6.118 MB / 0.6789 GB, free: 9.781 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.8972, allocations: 0 / 0.6789 GB, free: 9.781 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004834/0.9021, allocations: 2.469 MB / 0.6813 GB, free: 7.242 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003934/0.906, allocations: 355.5 kB / 0.6816 GB, free: 6.895 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/0.9305, allocations: 11.43 MB / 0.6928 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005722/0.9362, allocations: 3.034 MB / 0.6957 GB, free: 8.363 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/0.9381, allocations: 291.4 kB / 0.696 GB, free: 8.078 MB / 494.1 MB Notification: Performance of SimCode: time 1.373e-06/0.9381, allocations: 0 / 0.696 GB, free: 8.078 MB / 494.1 MB Notification: Performance of Templates: time 0.5045/1.443, allocations: 124.5 MB / 0.8176 GB, free: 84.75 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