Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.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) 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.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 105.4 kB / 17.81 MB, free: 5.684 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.001595/0.001595, allocations: 197.9 kB / 18.73 MB, free: 4.77 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.776/1.776, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001176/0.001176, allocations: 47.94 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1166, allocations: 46.62 MB / 327.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.331/0.4476, allocations: 70.17 MB / 397.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04467/0.4924, allocations: 14.04 MB / 411.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02719/0.5197, allocations: 310 kB / 411.8 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009615/0.5294, allocations: 4.238 MB / 416 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009212/0.5386, allocations: 2.122 MB / 418.1 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.5416, allocations: 0.8491 MB / 419 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01382/0.5554, allocations: 8.531 MB / 427.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008567/0.5641, allocations: 5.186 MB / 432.7 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00485/0.569, allocations: 1.949 MB / 434.6 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00603/0.575, allocations: 3.115 MB / 437.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001441/0.5765, allocations: 344 kB / 438.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003566/0.5801, allocations: 1.291 MB / 439.4 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003233/0.5833, allocations: 2.518 MB / 441.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004579/0.5879, allocations: 2.867 MB / 444.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009401/0.5973, allocations: 7.6 MB / 452.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.5974, allocations: 0 / 452.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.5974, allocations: 0 / 452.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003654/0.5978, allocations: 3.938 kB / 452.4 MB, free: 4.312 MB / 350.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.01943/0.6172, allocations: 6.338 MB / 458.7 MB, free: 14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.162e-05/0.6173, allocations: 8.031 kB / 458.7 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.6294, allocations: 2.614 MB / 461.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/0.6397, allocations: 3.97 MB / 465.3 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004702/0.6403, allocations: 321 kB / 465.6 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002582/0.6429, allocations: 444.8 kB / 466 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03126/0.6741, allocations: 12.24 MB / 478.3 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003868/0.6746, allocations: 59.52 kB / 478.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00196/0.6765, allocations: 192.6 kB / 478.5 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004426/0.681, allocations: 2.203 MB / 480.7 MB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02586/0.7069, allocations: 10.53 MB / 491.3 MB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08319/0.7901, allocations: 47.58 MB / 0.5262 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.013/0.8032, allocations: 4.603 MB / 0.5307 GB, free: 7.398 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004279/0.8075, allocations: 2.636 MB / 0.5333 GB, free: 4.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2996/1.107, allocations: 10.43 MB / 0.5435 GB, free: 163.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.099e-05/1.107, allocations: 59.75 kB / 0.5435 GB, free: 163.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=192): time 7.383e-06/1.107, allocations: 0 / 0.5435 GB, free: 163.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=218): time 0.05916/1.166, allocations: 20.98 MB / 0.564 GB, free: 156.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.733e-05/1.167, allocations: 200.8 kB / 0.5642 GB, free: 155.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006361/1.173, allocations: 4.824 MB / 0.5689 GB, free: 153 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005463/1.174, allocations: 61.11 kB / 0.569 GB, free: 153 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002283/1.176, allocations: 3.725 MB / 0.5726 GB, free: 149.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.177, allocations: 0.8387 MB / 0.5734 GB, free: 148.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001568/1.179, allocations: 1.384 MB / 0.5748 GB, free: 147 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.353e-05/1.179, allocations: 301.1 kB / 0.5751 GB, free: 146.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/1.182, allocations: 2.586 MB / 0.5776 GB, free: 144.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00469/1.186, allocations: 6.555 MB / 0.584 GB, free: 135.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009544/1.196, allocations: 9.802 MB / 0.5936 GB, free: 124 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001348/1.196, allocations: 40 kB / 0.5936 GB, free: 124 MB / 446.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.0193/1.215, allocations: 10.26 MB / 0.6036 GB, free: 113.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.216, allocations: 71.94 kB / 0.6037 GB, free: 113.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001505/1.216, allocations: 136 kB / 0.6038 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004038/1.22, allocations: 1.624 MB / 0.6054 GB, free: 111.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005273/1.225, allocations: 1.56 MB / 0.6069 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/1.236, allocations: 9.55 MB / 0.6163 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006698/1.242, allocations: 383.4 kB / 0.6166 GB, free: 100.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00141/1.244, allocations: 411.6 kB / 0.617 GB, free: 99.72 MB / 446.1 MB 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.005798/1.25, allocations: 2.572 MB / 0.6195 GB, free: 97.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/1.251, allocations: 423.7 kB / 0.6199 GB, free: 96.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009602/1.261, allocations: 4.625 MB / 0.6244 GB, free: 92.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-05/1.261, allocations: 23.94 kB / 0.6245 GB, free: 92.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.73e-05/1.261, allocations: 12 kB / 0.6245 GB, free: 92.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.887e-05/1.261, allocations: 15.95 kB / 0.6245 GB, free: 92.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02326/1.284, allocations: 10.49 MB / 0.6347 GB, free: 81.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.493e-05/1.284, allocations: 4 kB / 0.6347 GB, free: 81.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/1.286, allocations: 343.5 kB / 0.6351 GB, free: 81.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00375/1.29, allocations: 1.359 MB / 0.6364 GB, free: 79.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002948/1.29, allocations: 39.98 kB / 0.6364 GB, free: 79.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009871/1.3, allocations: 8.736 MB / 0.645 GB, free: 70.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.3, allocations: 0 / 0.645 GB, free: 70.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/1.311, allocations: 7.566 MB / 0.6524 GB, free: 63.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00231/1.314, allocations: 0.7767 MB / 0.6531 GB, free: 62.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/1.315, allocations: 36.17 kB / 0.6531 GB, free: 62.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/1.318, allocations: 131.8 kB / 0.6533 GB, free: 62.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004971/1.318, allocations: 141.5 kB / 0.6534 GB, free: 62.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/1.318, allocations: 63.98 kB / 0.6535 GB, free: 62.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006464/1.325, allocations: 3.041 MB / 0.6564 GB, free: 58.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.325, allocations: 0 / 0.6564 GB, free: 58.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008057/1.333, allocations: 1.263 MB / 0.6577 GB, free: 57.72 MB / 446.1 MB 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.0006682/1.334, allocations: 173.5 kB / 0.6578 GB, free: 57.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01018/1.344, allocations: 6.369 MB / 0.6641 GB, free: 51.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.344, allocations: 4 kB / 0.6641 GB, free: 51.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003435/1.347, allocations: 2.199 MB / 0.6662 GB, free: 48.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005702/1.353, allocations: 0.5203 MB / 0.6667 GB, free: 48.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03329/1.386, allocations: 14.86 MB / 0.6812 GB, free: 33.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004341/1.391, allocations: 3.971 MB / 0.6851 GB, free: 29.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001664/1.392, allocations: 335.4 kB / 0.6854 GB, free: 29.22 MB / 446.1 MB Notification: Performance of SimCode: time 1.323e-06/1.392, allocations: 0 / 0.6854 GB, free: 29.22 MB / 446.1 MB Notification: Performance of Templates: time 0.4352/1.828, allocations: 118.2 MB / 0.8009 GB, free: 63.75 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.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 OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintCalcHelperMain.o] Error 1