Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 104.2 kB / 16.52 MB, free: 6.266 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.002082/0.002082, allocations: 195.5 kB / 17.44 MB, free: 5.887 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.836/1.836, 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.2489/0.2489, allocations: 43.53 MB / 314.2 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.001548/0.001548, allocations: 65.23 kB / 382.7 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1617, allocations: 57.79 MB / 440.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.07197/0.2338, allocations: 70.22 MB / 0.4987 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0466/0.2804, allocations: 14.05 MB / 0.5124 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0208/0.3013, allocations: 311.2 kB / 0.5127 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009512/0.311, allocations: 4.22 MB / 0.5169 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008394/0.3194, allocations: 2.137 MB / 0.5189 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00338/0.3229, allocations: 0.8504 MB / 0.5198 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0137/0.3366, allocations: 8.527 MB / 0.5281 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4398/0.7765, allocations: 5.179 MB / 0.5332 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009087/0.7857, allocations: 1.946 MB / 0.5351 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008137/0.7939, allocations: 3.131 MB / 0.5381 GB, free: 4.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002537/0.7965, allocations: 342.5 kB / 0.5384 GB, free: 4.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005122/0.8016, allocations: 1.279 MB / 0.5397 GB, free: 4.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005298/0.8069, allocations: 2.518 MB / 0.5422 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00758/0.8145, allocations: 2.864 MB / 0.545 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01495/0.8295, allocations: 7.602 MB / 0.5524 GB, free: 3.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.8296, allocations: 3.938 kB / 0.5524 GB, free: 3.297 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.8296, allocations: 4 kB / 0.5524 GB, free: 3.293 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008057/0.8305, allocations: 0 / 0.5524 GB, free: 3.293 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.03142/0.8619, allocations: 6.339 MB / 0.5586 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.731e-05/0.862, allocations: 17.78 kB / 0.5586 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/0.8759, allocations: 2.613 MB / 0.5611 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/0.889, allocations: 3.969 MB / 0.565 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005872/0.8896, allocations: 311.1 kB / 0.5653 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003685/0.8933, allocations: 450.2 kB / 0.5657 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03778/0.9312, allocations: 12.24 MB / 0.5777 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000597/0.9318, allocations: 53.56 kB / 0.5778 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003185/0.935, allocations: 201.9 kB / 0.5779 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004932/0.94, allocations: 2.201 MB / 0.5801 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03043/0.9705, allocations: 10.55 MB / 0.5904 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09944/1.07, allocations: 47.58 MB / 0.6369 GB, free: 1.691 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01394/1.084, allocations: 4.596 MB / 0.6413 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005294/1.089, allocations: 2.631 MB / 0.6439 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02592/1.115, allocations: 10.45 MB / 0.6541 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.329e-05/1.115, allocations: 50.59 kB / 0.6542 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=192): time 7.744e-06/1.115, allocations: 0 / 0.6542 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=218): time 0.07083/1.186, allocations: 20.98 MB / 0.6747 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001838/1.187, allocations: 203.8 kB / 0.6749 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01315/1.2, allocations: 4.827 MB / 0.6796 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009389/1.201, allocations: 56.2 kB / 0.6796 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004239/1.205, allocations: 3.724 MB / 0.6833 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001832/1.207, allocations: 0.8294 MB / 0.6841 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002694/1.209, allocations: 1.395 MB / 0.6854 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.21, allocations: 310.5 kB / 0.6857 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004504/1.214, allocations: 2.578 MB / 0.6882 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008294/1.222, allocations: 6.553 MB / 0.6946 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01604/1.239, allocations: 9.808 MB / 0.7042 GB, free: 9.086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002196/1.239, allocations: 40 kB / 0.7043 GB, free: 9.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02768/1.267, allocations: 10.26 MB / 0.7143 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000286/1.267, allocations: 67.98 kB / 0.7143 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004204/1.267, allocations: 140 kB / 0.7145 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005509/1.273, allocations: 1.619 MB / 0.7161 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007548/1.28, allocations: 1.571 MB / 0.7176 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01669/1.297, allocations: 9.559 MB / 0.7269 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007804/1.305, allocations: 383.5 kB / 0.7273 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002265/1.307, allocations: 404 kB / 0.7277 GB, free: 1.836 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (834): * Single equations (assignments): 829 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01009/1.317, allocations: 2.571 MB / 0.7302 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001762/1.319, allocations: 430.5 kB / 0.7306 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/1.331, allocations: 4.615 MB / 0.7351 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-05/1.331, allocations: 24 kB / 0.7351 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.413e-05/1.331, allocations: 11.98 kB / 0.7351 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.501e-05/1.331, allocations: 11.91 kB / 0.7352 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5058/1.837, allocations: 10.48 MB / 0.7454 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.511e-05/1.837, allocations: 5.375 kB / 0.7454 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/1.839, allocations: 352.2 kB / 0.7457 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004581/1.844, allocations: 1.351 MB / 0.7471 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004628/1.845, allocations: 39.8 kB / 0.7471 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/1.856, allocations: 8.741 MB / 0.7556 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.857, allocations: 3.359 kB / 0.7556 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01501/1.872, allocations: 7.554 MB / 0.763 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002605/1.874, allocations: 0.7786 MB / 0.7638 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009516/1.875, allocations: 40.88 kB / 0.7638 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/1.877, allocations: 130 kB / 0.7639 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005211/1.877, allocations: 132.8 kB / 0.7641 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/1.878, allocations: 58.91 kB / 0.7641 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005939/1.884, allocations: 3.039 MB / 0.7671 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.01e-07/1.884, allocations: 0 / 0.7671 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01148/1.895, allocations: 1.262 MB / 0.7683 GB, free: 160.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (169): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008544/1.896, allocations: 173 kB / 0.7685 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01194/1.908, allocations: 6.382 MB / 0.7747 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.908, allocations: 2.062 kB / 0.7747 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003889/1.912, allocations: 2.194 MB / 0.7769 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004709/1.917, allocations: 0.5339 MB / 0.7774 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02428/1.941, allocations: 14.84 MB / 0.7919 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005653/1.947, allocations: 3.983 MB / 0.7958 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001713/1.948, allocations: 332 kB / 0.7961 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.743e-06/1.948, allocations: 0 / 0.7961 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.1446/2.093, allocations: 118.2 MB / 0.9115 GB, free: 35.73 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.Parts.Rotor1D.GearConstraintCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraintCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraintCalcHelperMain.o] Error 1