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.001425/0.001425, allocations: 93.38 kB / 16.67 MB, free: 6.586 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.001967/0.001967, allocations: 174.9 kB / 17.57 MB, free: 6.191 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.998/1.998, allocations: 205.4 MB / 223.8 MB, free: 13.09 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.2851/0.2851, allocations: 43.59 MB / 315.6 MB, free: 432 kB / 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.0005727/0.0005726, allocations: 19.83 kB / 385.2 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1383, allocations: 58.86 MB / 444.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.0722/0.2105, allocations: 68.51 MB / 0.5006 GB, free: 396 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04362/0.2542, allocations: 13.99 MB / 0.5143 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02243/0.2767, allocations: 303.2 kB / 0.5145 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.2796, allocations: 0.5169 MB / 0.515 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008477/0.2882, allocations: 2.148 MB / 0.5171 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.2909, allocations: 0.8465 MB / 0.518 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01424/0.3052, allocations: 8.528 MB / 0.5263 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4536/0.7588, allocations: 7.425 MB / 0.5336 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005472/0.7643, allocations: 1.587 MB / 0.5351 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007819/0.7722, allocations: 2.677 MB / 0.5377 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001426/0.7737, allocations: 190.7 kB / 0.5379 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004077/0.7777, allocations: 1.129 MB / 0.539 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004244/0.782, allocations: 2.303 MB / 0.5412 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005712/0.7877, allocations: 2.613 MB / 0.5438 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.8017, allocations: 7.427 MB / 0.5511 GB, free: 4.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.8018, allocations: 0 / 0.5511 GB, free: 4.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.149e-06/0.8018, allocations: 0 / 0.5511 GB, free: 4.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005836/0.8024, allocations: 0 / 0.5511 GB, free: 4.117 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.02212/0.8245, allocations: 5.2 MB / 0.5561 GB, free: 1.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.183e-05/0.8246, allocations: 12.66 kB / 0.5561 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/0.8395, allocations: 2.664 MB / 0.5587 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/0.8517, allocations: 3.974 MB / 0.5626 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003921/0.8522, allocations: 310.5 kB / 0.5629 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002902/0.8551, allocations: 447.9 kB / 0.5633 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03614/0.8912, allocations: 12.26 MB / 0.5753 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009405/0.8923, allocations: 54.62 kB / 0.5754 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003558/0.8959, allocations: 194.9 kB / 0.5756 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005026/0.9009, allocations: 2.21 MB / 0.5777 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02832/0.9293, allocations: 10.57 MB / 0.588 GB, free: 6.801 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09923/1.029, allocations: 47.59 MB / 0.6345 GB, free: 6.441 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01424/1.043, allocations: 4.608 MB / 0.639 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004782/1.048, allocations: 2.639 MB / 0.6416 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02589/1.074, allocations: 10.43 MB / 0.6518 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001064/1.074, allocations: 54.5 kB / 0.6518 GB, free: 4.465 MB / 494.1 MB Notification: Performance of pre-optimization done (n=192): time 9.007e-06/1.074, allocations: 0 / 0.6518 GB, free: 4.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.07361/1.147, allocations: 21.02 MB / 0.6724 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/1.148, allocations: 207.6 kB / 0.6726 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01533/1.163, allocations: 4.824 MB / 0.6773 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008416/1.164, allocations: 57.7 kB / 0.6773 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004711/1.169, allocations: 3.725 MB / 0.681 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002059/1.171, allocations: 0.8333 MB / 0.6818 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002247/1.173, allocations: 0.5909 MB / 0.6824 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.173, allocations: 309.1 kB / 0.6826 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005555/1.179, allocations: 2.586 MB / 0.6852 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0107/1.19, allocations: 6.562 MB / 0.6916 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01651/1.206, allocations: 9.809 MB / 0.7012 GB, free: 14.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002006/1.206, allocations: 44 kB / 0.7012 GB, free: 14.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02896/1.235, allocations: 10.27 MB / 0.7112 GB, free: 5.098 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002668/1.236, allocations: 68.03 kB / 0.7113 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003634/1.236, allocations: 140 kB / 0.7114 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005252/1.241, allocations: 1.617 MB / 0.713 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00641/1.248, allocations: 1.575 MB / 0.7145 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/1.263, allocations: 9.573 MB / 0.7239 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007388/1.27, allocations: 383.4 kB / 0.7243 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002263/1.273, allocations: 408 kB / 0.7246 GB, free: 7.293 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.008328/1.281, allocations: 2.577 MB / 0.7272 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/1.283, allocations: 422.6 kB / 0.7276 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3972/1.68, allocations: 4.631 MB / 0.7321 GB, free: 226.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001088/1.68, allocations: 26.88 kB / 0.7321 GB, free: 226.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.069e-05/1.68, allocations: 11.34 kB / 0.7321 GB, free: 226.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.461e-05/1.68, allocations: 10.91 kB / 0.7321 GB, free: 226.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02892/1.709, allocations: 10.5 MB / 0.7424 GB, free: 224.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/1.709, allocations: 1.344 kB / 0.7424 GB, free: 224.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/1.711, allocations: 354.6 kB / 0.7427 GB, free: 224.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004635/1.716, allocations: 1.353 MB / 0.744 GB, free: 224.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000338/1.716, allocations: 39.78 kB / 0.7441 GB, free: 224.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/1.727, allocations: 8.751 MB / 0.7526 GB, free: 219.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.727, allocations: 0 / 0.7526 GB, free: 219.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01325/1.741, allocations: 7.58 MB / 0.76 GB, free: 216.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003043/1.744, allocations: 0.7943 MB / 0.7608 GB, free: 216.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000472/1.744, allocations: 33.38 kB / 0.7608 GB, free: 216.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/1.746, allocations: 139 kB / 0.761 GB, free: 216.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000501/1.747, allocations: 137.1 kB / 0.7611 GB, free: 216.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/1.747, allocations: 62.12 kB / 0.7612 GB, free: 216.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00538/1.752, allocations: 3.039 MB / 0.7641 GB, free: 215.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.752, allocations: 0 / 0.7641 GB, free: 215.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006544/1.759, allocations: 1.264 MB / 0.7654 GB, free: 215.4 MB / 0.5606 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.0005281/1.759, allocations: 165.5 kB / 0.7655 GB, free: 215.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009964/1.769, allocations: 6.394 MB / 0.7718 GB, free: 210.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/1.769, allocations: 4.188 kB / 0.7718 GB, free: 210.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003212/1.772, allocations: 2.195 MB / 0.7739 GB, free: 208.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005843/1.778, allocations: 0.5265 MB / 0.7744 GB, free: 208.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03302/1.811, allocations: 14.95 MB / 0.789 GB, free: 194.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005299/1.817, allocations: 3.973 MB / 0.7929 GB, free: 191.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001825/1.819, allocations: 335.4 kB / 0.7932 GB, free: 191.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.753e-06/1.819, allocations: 0 / 0.7932 GB, free: 191.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.1623/1.981, allocations: 117.2 MB / 0.9076 GB, free: 73.85 MB / 0.5606 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