Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 108.1 kB / 16.52 MB, free: 6.664 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.001578/0.001578, allocations: 199 kB / 17.44 MB, free: 6.059 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.89/1.89, allocations: 205.1 MB / 223.3 MB, free: 12.51 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.2685/0.2685, allocations: 43.52 MB / 314.1 MB, free: 0.7578 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.002239/0.002239, allocations: 73.19 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1742, allocations: 57.79 MB / 440.5 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.04076/0.2151, allocations: 34.73 MB / 475.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02239/0.2375, allocations: 7.918 MB / 483.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008196/0.2458, allocations: 147.6 kB / 483.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004701/0.2505, allocations: 1.917 MB / 485.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006229/0.2569, allocations: 1.557 MB / 486.7 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.2593, allocations: 0.5538 MB / 487.3 MB, free: 8.387 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01022/0.2696, allocations: 4.765 MB / 492.1 MB, free: 3.609 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005964/0.2756, allocations: 2.534 MB / 494.6 MB, free: 1.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003645/0.2793, allocations: 1.109 MB / 495.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00394/0.2833, allocations: 1.799 MB / 497.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001201/0.2845, allocations: 176 kB / 497.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003001/0.2876, allocations: 0.9984 MB / 498.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002679/0.2903, allocations: 1.519 MB / 0.4885 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003967/0.2943, allocations: 1.774 MB / 0.4902 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00677/0.3011, allocations: 4.537 MB / 0.4946 GB, free: 5.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.3011, allocations: 4 kB / 0.4946 GB, free: 5.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.3012, allocations: 0 / 0.4946 GB, free: 5.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002798/0.3014, allocations: 0 / 0.4946 GB, free: 5.074 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01257/0.314, allocations: 4.018 MB / 0.4986 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.864e-05/0.3141, allocations: 16.03 kB / 0.4986 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007035/0.3212, allocations: 1.774 MB / 0.5003 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005194/0.3264, allocations: 1.967 MB / 0.5022 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/0.3267, allocations: 189.2 kB / 0.5024 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/0.328, allocations: 255.7 kB / 0.5026 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01976/0.3477, allocations: 8.432 MB / 0.5109 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002172/0.348, allocations: 43.59 kB / 0.5109 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001339/0.3494, allocations: 123.9 kB / 0.511 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003425/0.3528, allocations: 1.699 MB / 0.5127 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01657/0.3694, allocations: 7.094 MB / 0.5196 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3701/0.7395, allocations: 34.15 MB / 0.553 GB, free: 66.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008383/0.748, allocations: 3.286 MB / 0.5562 GB, free: 65.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002637/0.7507, allocations: 1.466 MB / 0.5576 GB, free: 65.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009332/0.76, allocations: 4.367 MB / 0.5619 GB, free: 62.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/0.7601, allocations: 47.03 kB / 0.5619 GB, free: 62.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 6.702e-06/0.7601, allocations: 4 kB / 0.5619 GB, free: 62.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.03283/0.793, allocations: 11.54 MB / 0.5732 GB, free: 56.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.7932, allocations: 173.4 kB / 0.5734 GB, free: 56.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006953/0.8001, allocations: 3.736 MB / 0.577 GB, free: 53.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004092/0.8006, allocations: 45.7 kB / 0.5771 GB, free: 52.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001571/0.8022, allocations: 2.743 MB / 0.5797 GB, free: 50.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006581/0.8028, allocations: 0.523 MB / 0.5802 GB, free: 49.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001245/0.8041, allocations: 1.079 MB / 0.5813 GB, free: 48.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.664e-05/0.8042, allocations: 305.1 kB / 0.5816 GB, free: 48.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.8063, allocations: 1.705 MB / 0.5833 GB, free: 46.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004457/0.8107, allocations: 5.129 MB / 0.5883 GB, free: 39.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008327/0.8191, allocations: 7.415 MB / 0.5955 GB, free: 30.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001028/0.8192, allocations: 36 kB / 0.5955 GB, free: 30.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0104/0.8296, allocations: 6.728 MB / 0.6021 GB, free: 23.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.598e-05/0.8297, allocations: 64.02 kB / 0.6022 GB, free: 23.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/0.8298, allocations: 120 kB / 0.6023 GB, free: 23.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006096/0.8305, allocations: 316.7 kB / 0.6026 GB, free: 23.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003483/0.834, allocations: 1.251 MB / 0.6038 GB, free: 22.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.8363, allocations: 2.29 MB / 0.606 GB, free: 19.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005065/0.8414, allocations: 290.8 kB / 0.6063 GB, free: 19.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008041/0.8422, allocations: 332 kB / 0.6066 GB, free: 19.12 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.004292/0.8465, allocations: 1.802 MB / 0.6084 GB, free: 17.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001348/0.8479, allocations: 308 kB / 0.6087 GB, free: 17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005492/0.8534, allocations: 2.362 MB / 0.611 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.233e-05/0.8535, allocations: 23.98 kB / 0.611 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.333e-05/0.8535, allocations: 4 kB / 0.611 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/0.8535, allocations: 3.984 kB / 0.611 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.8686, allocations: 5.921 MB / 0.6168 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.316e-05/0.8687, allocations: 8.062 kB / 0.6168 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008234/0.8695, allocations: 171.7 kB / 0.617 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/0.8716, allocations: 0.7147 MB / 0.6177 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/0.8718, allocations: 23.94 kB / 0.6177 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006141/0.878, allocations: 4.467 MB / 0.6221 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.878, allocations: 0 / 0.6221 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00888/0.8869, allocations: 4.332 MB / 0.6263 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002279/0.8892, allocations: 0.5321 MB / 0.6268 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/0.8904, allocations: 16 kB / 0.6268 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/0.8924, allocations: 75.73 kB / 0.6269 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/0.8927, allocations: 72.56 kB / 0.627 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.8929, allocations: 32 kB / 0.627 GB, free: 14.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00658/0.8995, allocations: 2.335 MB / 0.6293 GB, free: 11.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.8995, allocations: 3.938 kB / 0.6293 GB, free: 11.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007167/0.9066, allocations: 0.8215 MB / 0.6301 GB, free: 10.88 MB / 430.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.0006319/0.9073, allocations: 151.5 kB / 0.6302 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007915/0.9152, allocations: 4.03 MB / 0.6342 GB, free: 6.715 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.9152, allocations: 0 / 0.6342 GB, free: 6.715 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.917, allocations: 1.114 MB / 0.6353 GB, free: 5.594 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004135/0.9211, allocations: 369.3 kB / 0.6356 GB, free: 5.242 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02404/0.9452, allocations: 9.341 MB / 0.6447 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005569/0.9508, allocations: 2.791 MB / 0.6475 GB, free: 9.059 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/0.9521, allocations: 251.4 kB / 0.6477 GB, free: 8.812 MB / 446.1 MB Notification: Performance of SimCode: time 1.793e-06/0.9522, allocations: 0 / 0.6477 GB, free: 8.812 MB / 446.1 MB Notification: Performance of Templates: time 0.1331/1.085, allocations: 64 MB / 0.7102 GB, free: 8.777 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.Joints.RevoluteInitializationCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitializationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitializationCalcHelperMain.o] Error 1