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.000993/0.0009928, allocations: 93.89 kB / 16.33 MB, free: 5.949 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.001309/0.001309, allocations: 184.5 kB / 17.22 MB, free: 5.883 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.679/1.679, allocations: 205.4 MB / 223.4 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.44/0.44, allocations: 43.54 MB / 315.2 MB, free: 9.059 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.0005583/0.0005585, allocations: 12 kB / 384.6 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1408, allocations: 58.86 MB / 443.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.3119/0.4528, allocations: 63.72 MB / 0.4953 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03944/0.4922, allocations: 13.38 MB / 0.5083 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01769/0.51, allocations: 304.7 kB / 0.5086 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01469/0.5247, allocations: 3.309 MB / 0.5118 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03665/0.5614, allocations: 9.734 MB / 0.5214 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006035/0.5675, allocations: 0.8078 MB / 0.5221 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05211/0.6196, allocations: 34.98 MB / 0.5563 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/0.6304, allocations: 6.628 MB / 0.5628 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004763/0.6352, allocations: 1.72 MB / 0.5645 GB, free: 4.285 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005359/0.6406, allocations: 2.644 MB / 0.567 GB, free: 1.633 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00116/0.6418, allocations: 196 kB / 0.5672 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003033/0.6449, allocations: 0.9753 MB / 0.5682 GB, free: 476 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003047/0.648, allocations: 2.264 MB / 0.5704 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001909/0.6499, allocations: 1.088 MB / 0.5714 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.66, allocations: 7.416 MB / 0.5787 GB, free: 5.664 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6601, allocations: 0 / 0.5787 GB, free: 5.664 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.6601, allocations: 0 / 0.5787 GB, free: 5.664 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003395/0.6604, allocations: 0 / 0.5787 GB, free: 5.664 MB / 446.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.01255/0.673, allocations: 5.274 MB / 0.5838 GB, free: 320 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.673, allocations: 12.03 kB / 0.5838 GB, free: 308 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/0.6845, allocations: 2.67 MB / 0.5865 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009054/0.6936, allocations: 3.903 MB / 0.5903 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002892/0.6939, allocations: 308.1 kB / 0.5906 GB, free: 9.355 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001579/0.6955, allocations: 443.6 kB / 0.591 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02405/0.7196, allocations: 12.23 MB / 0.6029 GB, free: 11.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001705/0.7198, allocations: 55.53 kB / 0.603 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005323/0.7204, allocations: 195.8 kB / 0.6032 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003471/0.7238, allocations: 2.21 MB / 0.6053 GB, free: 9.461 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0219/0.7457, allocations: 10.51 MB / 0.6156 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3473/1.093, allocations: 47.57 MB / 0.662 GB, free: 110.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/1.103, allocations: 4.595 MB / 0.6665 GB, free: 110 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003371/1.107, allocations: 2.641 MB / 0.6691 GB, free: 108.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01631/1.123, allocations: 10.44 MB / 0.6793 GB, free: 103.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/1.123, allocations: 56.16 kB / 0.6794 GB, free: 103.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=192): time 5.33e-06/1.123, allocations: 0 / 0.6794 GB, free: 103.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.05675/1.18, allocations: 21 MB / 0.6999 GB, free: 95.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.18, allocations: 204.5 kB / 0.7001 GB, free: 95.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006909/1.187, allocations: 4.798 MB / 0.7047 GB, free: 93.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005972/1.188, allocations: 59.47 kB / 0.7048 GB, free: 93.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002446/1.19, allocations: 3.722 MB / 0.7084 GB, free: 90.99 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00115/1.191, allocations: 0.8354 MB / 0.7092 GB, free: 90.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/1.192, allocations: 136.2 kB / 0.7094 GB, free: 90.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003127/1.192, allocations: 0.5922 MB / 0.71 GB, free: 89.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003548/1.195, allocations: 2.559 MB / 0.7125 GB, free: 88.99 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00567/1.201, allocations: 6.532 MB / 0.7188 GB, free: 82.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005354/1.207, allocations: 4.002 MB / 0.7227 GB, free: 80.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.607e-05/1.207, allocations: 40 kB / 0.7228 GB, free: 80.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01643/1.223, allocations: 10.21 MB / 0.7328 GB, free: 70.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.36e-05/1.223, allocations: 67.95 kB / 0.7328 GB, free: 70.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/1.223, allocations: 140 kB / 0.733 GB, free: 70.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003578/1.227, allocations: 1.635 MB / 0.7345 GB, free: 68.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004684/1.232, allocations: 1.567 MB / 0.7361 GB, free: 66.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/1.242, allocations: 9.547 MB / 0.7454 GB, free: 57.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006333/1.248, allocations: 387.5 kB / 0.7458 GB, free: 56.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/1.249, allocations: 404 kB / 0.7462 GB, free: 56.32 MB / 494.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 (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.004641/1.254, allocations: 2.573 MB / 0.7487 GB, free: 53.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.255, allocations: 430.4 kB / 0.7491 GB, free: 53.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008197/1.263, allocations: 4.617 MB / 0.7536 GB, free: 48.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.259e-05/1.263, allocations: 35.3 kB / 0.7536 GB, free: 48.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.6e-05/1.263, allocations: 8 kB / 0.7536 GB, free: 48.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/1.263, allocations: 11.97 kB / 0.7536 GB, free: 48.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02185/1.285, allocations: 10.5 MB / 0.7639 GB, free: 38.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/1.285, allocations: 3.984 kB / 0.7639 GB, free: 38.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/1.287, allocations: 343.5 kB / 0.7642 GB, free: 37.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003523/1.29, allocations: 1.357 MB / 0.7656 GB, free: 36.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003004/1.291, allocations: 40 kB / 0.7656 GB, free: 36.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009913/1.301, allocations: 8.729 MB / 0.7741 GB, free: 27.37 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/1.301, allocations: 9.922 kB / 0.7741 GB, free: 27.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/1.311, allocations: 7.548 MB / 0.7815 GB, free: 19.78 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002402/1.314, allocations: 0.7883 MB / 0.7823 GB, free: 18.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001435/1.315, allocations: 46.88 kB / 0.7823 GB, free: 18.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002438/1.318, allocations: 131.8 kB / 0.7824 GB, free: 18.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004024/1.318, allocations: 129.8 kB / 0.7826 GB, free: 18.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/1.318, allocations: 59.92 kB / 0.7826 GB, free: 18.61 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005708/1.324, allocations: 3.021 MB / 0.7856 GB, free: 15.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.324, allocations: 0 / 0.7856 GB, free: 15.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00824/1.332, allocations: 1.26 MB / 0.7868 GB, free: 14.34 MB / 494.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 (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.0008003/1.333, allocations: 166.8 kB / 0.787 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01083/1.344, allocations: 6.361 MB / 0.7932 GB, free: 7.812 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.344, allocations: 0 / 0.7932 GB, free: 7.812 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003511/1.348, allocations: 2.203 MB / 0.7953 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005463/1.353, allocations: 0.5304 MB / 0.7958 GB, free: 5.078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03213/1.385, allocations: 14.35 MB / 0.8099 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007731/1.393, allocations: 3.969 MB / 0.8137 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/1.395, allocations: 335.4 kB / 0.8141 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of SimCode: time 1.914e-06/1.395, allocations: 0 / 0.8141 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of Templates: time 0.4305/1.825, allocations: 117.5 MB / 0.9288 GB, free: 67.27 MB / 0.4981 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++ 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_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