Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(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_4.0.0_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_4.0.0_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.0009195/0.0009195, allocations: 89.19 kB / 17.63 MB, free: 6.16 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.001185/0.001185, allocations: 182.5 kB / 18.52 MB, free: 5.32 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.549/1.549, allocations: 223.2 MB / 242.5 MB, free: 244 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2626/0.2626, allocations: 44.22 MB / 337.9 MB, free: 2.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003527, allocations: 15.98 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1627, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.4547/0.6174, allocations: 63.12 MB / 0.5228 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04472/0.6622, allocations: 13.3 MB / 0.5358 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02165/0.6839, allocations: 302.1 kB / 0.5361 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0162/0.7001, allocations: 3.297 MB / 0.5393 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03707/0.7373, allocations: 9.667 MB / 0.5487 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005758/0.743, allocations: 0.809 MB / 0.5495 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.105/0.848, allocations: 61.98 MB / 0.61 GB, free: 7.551 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01479/0.8629, allocations: 6.564 MB / 0.6164 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005758/0.8687, allocations: 1.654 MB / 0.6181 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006632/0.8754, allocations: 2.535 MB / 0.6205 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001955/0.8774, allocations: 184 kB / 0.6207 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00504/0.8825, allocations: 0.9753 MB / 0.6217 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005318/0.8878, allocations: 2.174 MB / 0.6238 GB, free: 9.387 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003532/0.8914, allocations: 1.041 MB / 0.6248 GB, free: 8.336 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01437/0.9058, allocations: 7.116 MB / 0.6317 GB, free: 1.203 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.9059, allocations: 3.938 kB / 0.6317 GB, free: 1.199 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.9059, allocations: 0 / 0.6317 GB, free: 1.199 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000441/0.9064, allocations: 0 / 0.6317 GB, free: 1.199 MB / 462.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.01704/0.9235, allocations: 5.105 MB / 0.6367 GB, free: 12.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.9235, allocations: 12.03 kB / 0.6367 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/0.9372, allocations: 2.633 MB / 0.6393 GB, free: 9.367 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/0.9486, allocations: 3.738 MB / 0.643 GB, free: 5.574 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004258/0.9491, allocations: 299.8 kB / 0.6433 GB, free: 5.281 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002404/0.9515, allocations: 423.7 kB / 0.6437 GB, free: 4.867 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03096/0.9825, allocations: 11.73 MB / 0.6551 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003813/0.983, allocations: 55.44 kB / 0.6552 GB, free: 8.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001887/0.9849, allocations: 191.9 kB / 0.6553 GB, free: 8.152 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00404/0.9889, allocations: 2.089 MB / 0.6574 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02518/1.014, allocations: 10.07 MB / 0.6672 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4074/1.422, allocations: 45.95 MB / 0.7121 GB, free: 183.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01156/1.433, allocations: 4.37 MB / 0.7164 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004184/1.437, allocations: 2.472 MB / 0.7188 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01876/1.456, allocations: 9.845 MB / 0.7284 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/1.456, allocations: 59.73 kB / 0.7285 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 4.92e-06/1.456, allocations: 1.094 kB / 0.7285 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.04772/1.504, allocations: 19.97 MB / 0.748 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/1.504, allocations: 198.7 kB / 0.7481 GB, free: 170.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006031/1.51, allocations: 4.687 MB / 0.7527 GB, free: 166 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000424/1.511, allocations: 56.64 kB / 0.7528 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002207/1.513, allocations: 3.596 MB / 0.7563 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001069/1.514, allocations: 0.764 MB / 0.757 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/1.514, allocations: 135.9 kB / 0.7572 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002787/1.514, allocations: 0.5829 MB / 0.7577 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002936/1.517, allocations: 2.393 MB / 0.7601 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004734/1.522, allocations: 6.25 MB / 0.7662 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004982/1.527, allocations: 3.786 MB / 0.7699 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.661e-05/1.527, allocations: 36 kB / 0.7699 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01545/1.543, allocations: 9.761 MB / 0.7794 GB, free: 137.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.45e-05/1.543, allocations: 64 kB / 0.7795 GB, free: 137.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/1.543, allocations: 136 kB / 0.7796 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003511/1.546, allocations: 1.631 MB / 0.7812 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0043/1.551, allocations: 1.489 MB / 0.7827 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/1.561, allocations: 9.535 MB / 0.792 GB, free: 124 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005414/1.566, allocations: 371.4 kB / 0.7923 GB, free: 123.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008701/1.567, allocations: 388.8 kB / 0.7927 GB, free: 123.3 MB / 0.5294 GB 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.004092/1.571, allocations: 2.482 MB / 0.7951 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008854/1.572, allocations: 410.7 kB / 0.7955 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00676/1.579, allocations: 4.24 MB / 0.7997 GB, free: 116.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.304e-05/1.579, allocations: 22.02 kB / 0.7997 GB, free: 116.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.579, allocations: 8 kB / 0.7997 GB, free: 116.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/1.579, allocations: 7.969 kB / 0.7997 GB, free: 116.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/1.595, allocations: 9.783 MB / 0.8093 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/1.595, allocations: 0 / 0.8093 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/1.596, allocations: 307.6 kB / 0.8095 GB, free: 106 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003375/1.6, allocations: 1.365 MB / 0.8109 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/1.6, allocations: 28 kB / 0.8109 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009249/1.609, allocations: 8.741 MB / 0.8194 GB, free: 95.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.609, allocations: 4 kB / 0.8194 GB, free: 95.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009342/1.619, allocations: 6.965 MB / 0.8262 GB, free: 88.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/1.62, allocations: 471.6 kB / 0.8267 GB, free: 88.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004201/1.621, allocations: 32.62 kB / 0.8267 GB, free: 88.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.622, allocations: 123.8 kB / 0.8268 GB, free: 87.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003118/1.622, allocations: 121.8 kB / 0.827 GB, free: 87.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/1.622, allocations: 44.7 kB / 0.827 GB, free: 87.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004062/1.626, allocations: 2.945 MB / 0.8299 GB, free: 84.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.626, allocations: 0 / 0.8299 GB, free: 84.83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00561/1.632, allocations: 1.207 MB / 0.8311 GB, free: 83.62 MB / 0.5294 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 (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.0004335/1.632, allocations: 170.2 kB / 0.8312 GB, free: 83.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008453/1.641, allocations: 5.946 MB / 0.837 GB, free: 77.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/1.641, allocations: 0 / 0.837 GB, free: 77.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002562/1.644, allocations: 2.004 MB / 0.839 GB, free: 75.49 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/1.647, allocations: 0.529 MB / 0.8395 GB, free: 74.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01995/1.667, allocations: 13.65 MB / 0.8528 GB, free: 61.26 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003664/1.67, allocations: 3.839 MB / 0.8566 GB, free: 57.39 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/1.672, allocations: 319.3 kB / 0.8569 GB, free: 57.07 MB / 0.5294 GB Notification: Performance of SimCode: time 2.364e-06/1.672, allocations: 0 / 0.8569 GB, free: 57.07 MB / 0.5294 GB Notification: Performance of Templates: time 0.5077/2.179, allocations: 112.3 MB / 0.9666 GB, free: 128.3 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.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 OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraintCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraintCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraintCalcHelperMain.o] Error 1