Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001011/0.001011, allocations: 94.59 kB / 16.96 MB, free: 6.41 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.001132/0.001132, allocations: 179.8 kB / 17.84 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.3 MB / 241.9 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002887, allocations: 8 kB / 301.4 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1313, allocations: 50.42 MB / 351.9 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.337/0.4684, allocations: 63.09 MB / 415 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04085/0.5093, allocations: 13.31 MB / 428.3 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02079/0.5301, allocations: 303.2 kB / 428.6 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01278/0.543, allocations: 3.289 MB / 431.8 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0339/0.5769, allocations: 9.662 MB / 441.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005984/0.5829, allocations: 0.8152 MB / 442.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.08251/0.6655, allocations: 61.97 MB / 0.4925 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01252/0.6781, allocations: 6.561 MB / 0.4989 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/0.6823, allocations: 1.654 MB / 0.5005 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00478/0.6871, allocations: 2.531 MB / 0.503 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008715/0.688, allocations: 180 kB / 0.5031 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002523/0.6906, allocations: 0.9831 MB / 0.5041 GB, free: 152 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002384/0.693, allocations: 2.17 MB / 0.5062 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001821/0.6948, allocations: 1.041 MB / 0.5072 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008805/0.7036, allocations: 7.116 MB / 0.5142 GB, free: 5.789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.7037, allocations: 0 / 0.5142 GB, free: 5.789 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.47e-06/0.7037, allocations: 3.984 kB / 0.5142 GB, free: 5.785 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003523/0.704, allocations: 0 / 0.5142 GB, free: 5.785 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01399/0.718, allocations: 5.105 MB / 0.5192 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.7181, allocations: 8.031 kB / 0.5192 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.7297, allocations: 2.637 MB / 0.5218 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009491/0.7393, allocations: 3.727 MB / 0.5254 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/0.7396, allocations: 299.8 kB / 0.5257 GB, free: 9.879 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001723/0.7413, allocations: 435.6 kB / 0.5261 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3368/1.078, allocations: 11.71 MB / 0.5375 GB, free: 153.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002534/1.078, allocations: 53.17 kB / 0.5376 GB, free: 153.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006896/1.079, allocations: 188.5 kB / 0.5378 GB, free: 153.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004357/1.084, allocations: 2.093 MB / 0.5398 GB, free: 153.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02738/1.111, allocations: 10.07 MB / 0.5496 GB, free: 150.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06174/1.173, allocations: 45.97 MB / 0.5945 GB, free: 110.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009884/1.183, allocations: 4.371 MB / 0.5988 GB, free: 105.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003039/1.186, allocations: 2.472 MB / 0.6012 GB, free: 103.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01537/1.201, allocations: 9.835 MB / 0.6108 GB, free: 93.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/1.201, allocations: 55.48 kB / 0.6109 GB, free: 93.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=171): time 5.309e-06/1.201, allocations: 0 / 0.6109 GB, free: 93.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=197): time 0.05202/1.253, allocations: 19.98 MB / 0.6304 GB, free: 72.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.42e-05/1.253, allocations: 201.2 kB / 0.6306 GB, free: 72.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007468/1.261, allocations: 4.686 MB / 0.6352 GB, free: 68.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004561/1.261, allocations: 53.64 kB / 0.6352 GB, free: 67.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00223/1.264, allocations: 3.598 MB / 0.6387 GB, free: 64.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008841/1.264, allocations: 0.7633 MB / 0.6395 GB, free: 63.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/1.265, allocations: 133.4 kB / 0.6396 GB, free: 63.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002752/1.265, allocations: 0.5868 MB / 0.6402 GB, free: 62.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003035/1.268, allocations: 2.383 MB / 0.6425 GB, free: 60.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004812/1.273, allocations: 6.255 MB / 0.6486 GB, free: 52.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004672/1.278, allocations: 3.782 MB / 0.6523 GB, free: 48.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-05/1.278, allocations: 40 kB / 0.6523 GB, free: 48.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01572/1.293, allocations: 9.747 MB / 0.6619 GB, free: 38.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.713e-05/1.293, allocations: 63.98 kB / 0.6619 GB, free: 38.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/1.294, allocations: 136 kB / 0.662 GB, free: 38.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003606/1.297, allocations: 1.632 MB / 0.6636 GB, free: 36.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00431/1.302, allocations: 1.497 MB / 0.6651 GB, free: 35.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/1.312, allocations: 9.531 MB / 0.6744 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005971/1.318, allocations: 367.4 kB / 0.6748 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/1.319, allocations: 393.4 kB / 0.6751 GB, free: 24.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (796): * Single equations (assignments): 791 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 31,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004597/1.324, allocations: 2.488 MB / 0.6776 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/1.325, allocations: 410.7 kB / 0.678 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007331/1.332, allocations: 4.236 MB / 0.6821 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.995e-05/1.332, allocations: 25.33 kB / 0.6821 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/1.332, allocations: 12 kB / 0.6821 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/1.332, allocations: 15.89 kB / 0.6821 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01653/1.349, allocations: 9.754 MB / 0.6917 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/1.349, allocations: 0 / 0.6917 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/1.35, allocations: 307.6 kB / 0.692 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003423/1.353, allocations: 1.365 MB / 0.6933 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/1.354, allocations: 33.09 kB / 0.6933 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3329/1.687, allocations: 8.723 MB / 0.7018 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.687, allocations: 1.375 kB / 0.7018 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/1.701, allocations: 6.967 MB / 0.7086 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/1.703, allocations: 468.7 kB / 0.7091 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004665/1.703, allocations: 31.03 kB / 0.7091 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/1.705, allocations: 123.7 kB / 0.7092 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004951/1.706, allocations: 117.5 kB / 0.7094 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/1.706, allocations: 52.05 kB / 0.7094 GB, free: 135.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007014/1.713, allocations: 2.945 MB / 0.7123 GB, free: 134.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.713, allocations: 0 / 0.7123 GB, free: 134.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008821/1.722, allocations: 1.206 MB / 0.7135 GB, free: 134.4 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 (147): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005964/1.722, allocations: 173.9 kB / 0.7136 GB, free: 134.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01078/1.733, allocations: 5.95 MB / 0.7194 GB, free: 132.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/1.733, allocations: 7.844 kB / 0.7194 GB, free: 132.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002802/1.736, allocations: 2.008 MB / 0.7214 GB, free: 131.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00373/1.74, allocations: 0.5201 MB / 0.7219 GB, free: 131 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02309/1.763, allocations: 13.66 MB / 0.7352 GB, free: 124.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004048/1.767, allocations: 3.841 MB / 0.739 GB, free: 121.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/1.768, allocations: 314 kB / 0.7393 GB, free: 120.9 MB / 446.1 MB Notification: Performance of SimCode: time 2.214e-06/1.768, allocations: 0 / 0.7393 GB, free: 120.9 MB / 446.1 MB Notification: Performance of Templates: time 0.1721/1.94, allocations: 112.3 MB / 0.8489 GB, free: 9.953 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintCalcHelperMain.o] Error 1