Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001364, allocations: 97.77 kB / 17.96 MB, free: 5.77 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.001873/0.001873, allocations: 175.3 kB / 18.86 MB, free: 4.906 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.995/1.995, allocations: 205.4 MB / 225 MB, free: 12.98 MB / 190.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.0005673/0.0005675, allocations: 8 kB / 282 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1349, allocations: 47.58 MB / 329.6 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.03845/0.1734, allocations: 33.69 MB / 363.3 MB, free: 1.906 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02549/0.199, allocations: 7.836 MB / 371.1 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009675/0.2087, allocations: 147.6 kB / 371.3 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002132/0.2109, allocations: 366.2 kB / 371.6 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006834/0.2178, allocations: 1.557 MB / 373.2 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.2201, allocations: 0.5577 MB / 373.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008184/0.2283, allocations: 4.762 MB / 378.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3125/0.5409, allocations: 3.281 MB / 381.8 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.5438, allocations: 0.9525 MB / 382.8 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004131/0.548, allocations: 1.617 MB / 384.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006667/0.5486, allocations: 113.4 kB / 384.5 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.5515, allocations: 0.9443 MB / 385.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002551/0.554, allocations: 1.426 MB / 386.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002501/0.5565, allocations: 1.68 MB / 388.5 MB, free: 9.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007023/0.5636, allocations: 4.43 MB / 393 MB, free: 9.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.5636, allocations: 0.5625 kB / 393 MB, free: 9.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.898e-06/0.5636, allocations: 9.031 kB / 393 MB, free: 9.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001988/0.5638, allocations: 0 / 393 MB, free: 9.59 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.00896/0.5728, allocations: 3.307 MB / 396.3 MB, free: 7.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.5729, allocations: 9.594 kB / 396.3 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006891/0.5798, allocations: 1.826 MB / 398.1 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004476/0.5843, allocations: 1.959 MB / 400.1 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.5844, allocations: 195.4 kB / 400.3 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005156/0.5849, allocations: 258.8 kB / 400.5 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01808/0.603, allocations: 8.437 MB / 409 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002337/0.6033, allocations: 44.91 kB / 409 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00103/0.6044, allocations: 122.4 kB / 409.1 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003054/0.6074, allocations: 1.697 MB / 410.8 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01589/0.6233, allocations: 7.107 MB / 417.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05824/0.6816, allocations: 34.16 MB / 452.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008653/0.6903, allocations: 3.269 MB / 455.4 MB, free: 9.309 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002442/0.6928, allocations: 1.469 MB / 456.8 MB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0089/0.7017, allocations: 4.364 MB / 461.2 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/0.7018, allocations: 50.69 kB / 461.2 MB, free: 3.227 MB / 366.1 MB Notification: Performance of pre-optimization done (n=121): time 7.123e-06/0.7018, allocations: 0 / 461.2 MB, free: 3.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=129): time 0.03576/0.7376, allocations: 11.51 MB / 472.7 MB, free: 7.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.7378, allocations: 147.9 kB / 472.9 MB, free: 7.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007521/0.7453, allocations: 3.729 MB / 476.6 MB, free: 3.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004279/0.7458, allocations: 41.7 kB / 476.7 MB, free: 3.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002444/0.7482, allocations: 2.747 MB / 479.4 MB, free: 0.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008829/0.7491, allocations: 0.5219 MB / 479.9 MB, free: 412 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006743/0.7498, allocations: 467.9 kB / 480.4 MB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7499, allocations: 305.1 kB / 480.7 MB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/0.7527, allocations: 1.701 MB / 482.4 MB, free: 13.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005448/0.7581, allocations: 5.135 MB / 487.5 MB, free: 7.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009936/0.7681, allocations: 7.414 MB / 494.9 MB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001307/0.7683, allocations: 32 kB / 495 MB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01535/0.7836, allocations: 6.724 MB / 0.4899 GB, free: 8.477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001832/0.7839, allocations: 59.94 kB / 0.49 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003156/0.7842, allocations: 124.5 kB / 0.4901 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000801/0.785, allocations: 321 kB / 0.4904 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004796/0.7899, allocations: 1.247 MB / 0.4916 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/0.793, allocations: 2.285 MB / 0.4939 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005634/0.7986, allocations: 290.5 kB / 0.4941 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001465/0.8001, allocations: 338.3 kB / 0.4945 GB, free: 3.871 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006043/0.8062, allocations: 1.794 MB / 0.4962 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/0.8073, allocations: 308 kB / 0.4965 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006417/0.8138, allocations: 2.36 MB / 0.4988 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.697e-05/0.8139, allocations: 19.94 kB / 0.4988 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.068e-05/0.8139, allocations: 4 kB / 0.4988 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/0.8139, allocations: 7.922 kB / 0.4988 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01819/0.8321, allocations: 5.925 MB / 0.5046 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.418e-05/0.8322, allocations: 4 kB / 0.5046 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009582/0.8332, allocations: 171.8 kB / 0.5048 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/0.8356, allocations: 0.7108 MB / 0.5055 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002224/0.8359, allocations: 22.5 kB / 0.5055 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007316/0.8432, allocations: 4.482 MB / 0.5099 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.8433, allocations: 4.031 kB / 0.5099 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009346/0.8526, allocations: 4.325 MB / 0.5141 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0025/0.8552, allocations: 0.532 MB / 0.5146 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001508/0.8567, allocations: 16 kB / 0.5146 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/0.859, allocations: 71.81 kB / 0.5147 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003306/0.8594, allocations: 72.06 kB / 0.5148 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/0.8596, allocations: 36 kB / 0.5148 GB, free: 14.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007391/0.867, allocations: 2.331 MB / 0.5171 GB, free: 12.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.867, allocations: 0 / 0.5171 GB, free: 12.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00752/0.8745, allocations: 0.8164 MB / 0.5179 GB, free: 11.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000811/0.8754, allocations: 164.2 kB / 0.518 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009676/0.8851, allocations: 4.022 MB / 0.522 GB, free: 7.469 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.766e-05/0.8851, allocations: 4 kB / 0.522 GB, free: 7.465 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002497/0.8876, allocations: 1.104 MB / 0.5231 GB, free: 6.344 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005014/0.8927, allocations: 375.5 kB / 0.5234 GB, free: 5.977 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.311/1.204, allocations: 9.392 MB / 0.5326 GB, free: 122.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008428/1.212, allocations: 2.792 MB / 0.5353 GB, free: 121.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/1.214, allocations: 250.9 kB / 0.5356 GB, free: 121.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.944e-06/1.214, allocations: 0 / 0.5356 GB, free: 121.4 MB / 446.1 MB Notification: Performance of Templates: time 0.1364/1.35, allocations: 63.29 MB / 0.5974 GB, free: 76.68 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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 OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstantCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstantCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstantCalcHelperMain.o] Error 1