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.001111/0.001111, allocations: 97.69 kB / 17.96 MB, free: 5.77 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.001155/0.001155, allocations: 176.8 kB / 18.86 MB, free: 4.906 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.895/1.895, allocations: 205.4 MB / 225 MB, free: 13.07 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.000458/0.000458, allocations: 16 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1049, allocations: 47.57 MB / 329.6 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.3333/0.4382, allocations: 68.47 MB / 398.1 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04435/0.4826, allocations: 13.98 MB / 412.1 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02104/0.5037, allocations: 302.4 kB / 412.3 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002749/0.5065, allocations: 0.5134 MB / 412.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008097/0.5146, allocations: 2.142 MB / 415 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002932/0.5176, allocations: 0.8602 MB / 415.9 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01346/0.5311, allocations: 8.532 MB / 424.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01529/0.5464, allocations: 7.435 MB / 431.8 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006301/0.5528, allocations: 1.583 MB / 433.4 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005998/0.5589, allocations: 2.674 MB / 436.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00101/0.5599, allocations: 192 kB / 436.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/0.5631, allocations: 1.125 MB / 437.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00278/0.5659, allocations: 2.303 MB / 439.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003566/0.5694, allocations: 2.613 MB / 442.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009177/0.5786, allocations: 7.422 MB / 449.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5787, allocations: 0 / 449.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.5787, allocations: 0 / 449.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003635/0.579, allocations: 0 / 449.7 MB, free: 7.91 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.01499/0.594, allocations: 5.198 MB / 454.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.5941, allocations: 8.031 kB / 454.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01294/0.607, allocations: 2.675 MB / 457.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009785/0.6169, allocations: 3.969 MB / 461.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003888/0.6173, allocations: 315.1 kB / 461.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002092/0.6194, allocations: 446 kB / 462.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02474/0.6442, allocations: 12.26 MB / 474.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001694/0.6444, allocations: 55.42 kB / 474.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005525/0.645, allocations: 200.4 kB / 474.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004227/0.6492, allocations: 2.199 MB / 477 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02479/0.674, allocations: 10.56 MB / 487.6 MB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07686/0.751, allocations: 47.6 MB / 0.5227 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/0.7634, allocations: 4.599 MB / 0.5271 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00466/0.7681, allocations: 2.647 MB / 0.5297 GB, free: 9.262 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2867/1.055, allocations: 10.43 MB / 0.5399 GB, free: 162.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/1.055, allocations: 55.84 kB / 0.54 GB, free: 162.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=192): time 4.849e-06/1.055, allocations: 0 / 0.54 GB, free: 162.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=218): time 0.05851/1.113, allocations: 21.01 MB / 0.5605 GB, free: 156.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/1.114, allocations: 208 kB / 0.5607 GB, free: 156.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00717/1.121, allocations: 4.817 MB / 0.5654 GB, free: 154.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004622/1.121, allocations: 57.48 kB / 0.5654 GB, free: 154.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002609/1.124, allocations: 3.729 MB / 0.5691 GB, free: 151.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009992/1.125, allocations: 0.8248 MB / 0.5699 GB, free: 151.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006471/1.126, allocations: 0.5927 MB / 0.5705 GB, free: 150.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.585e-05/1.126, allocations: 312.8 kB / 0.5708 GB, free: 150.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003316/1.129, allocations: 2.582 MB / 0.5733 GB, free: 148.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004704/1.134, allocations: 6.568 MB / 0.5797 GB, free: 140.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009736/1.143, allocations: 9.817 MB / 0.5893 GB, free: 128.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001453/1.144, allocations: 40 kB / 0.5893 GB, free: 128.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.0182/1.162, allocations: 10.27 MB / 0.5994 GB, free: 118.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.991e-05/1.162, allocations: 64.19 kB / 0.5994 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/1.162, allocations: 144 kB / 0.5996 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003861/1.166, allocations: 1.607 MB / 0.6011 GB, free: 116.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005105/1.171, allocations: 1.575 MB / 0.6027 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/1.182, allocations: 9.547 MB / 0.612 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007207/1.19, allocations: 391.3 kB / 0.6124 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001395/1.191, allocations: 408.6 kB / 0.6128 GB, free: 104.2 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.00563/1.197, allocations: 2.57 MB / 0.6153 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/1.198, allocations: 422.5 kB / 0.6157 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009386/1.207, allocations: 4.637 MB / 0.6202 GB, free: 96.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.169e-05/1.207, allocations: 24.47 kB / 0.6202 GB, free: 96.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.052e-05/1.207, allocations: 8 kB / 0.6202 GB, free: 96.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.827e-05/1.208, allocations: 15.89 kB / 0.6202 GB, free: 96.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02346/1.231, allocations: 10.51 MB / 0.6305 GB, free: 85.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/1.231, allocations: 4.812 kB / 0.6305 GB, free: 85.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/1.233, allocations: 351.4 kB / 0.6308 GB, free: 85.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003779/1.237, allocations: 1.363 MB / 0.6322 GB, free: 84.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003201/1.237, allocations: 36 kB / 0.6322 GB, free: 84.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/1.247, allocations: 8.759 MB / 0.6408 GB, free: 75.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.247, allocations: 0 / 0.6408 GB, free: 75.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/1.259, allocations: 7.575 MB / 0.6482 GB, free: 67.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002384/1.262, allocations: 0.7922 MB / 0.6489 GB, free: 66.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001251/1.263, allocations: 38.66 kB / 0.649 GB, free: 66.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002376/1.265, allocations: 135.8 kB / 0.6491 GB, free: 66.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004591/1.266, allocations: 133.7 kB / 0.6492 GB, free: 66.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/1.266, allocations: 52 kB / 0.6493 GB, free: 66.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005608/1.272, allocations: 3.045 MB / 0.6523 GB, free: 63.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/1.272, allocations: 4 kB / 0.6523 GB, free: 63.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007348/1.279, allocations: 1.256 MB / 0.6535 GB, free: 62.12 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.000657/1.28, allocations: 177.3 kB / 0.6537 GB, free: 61.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01073/1.29, allocations: 6.384 MB / 0.6599 GB, free: 55.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.291, allocations: 4.062 kB / 0.6599 GB, free: 55.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00315/1.294, allocations: 2.2 MB / 0.662 GB, free: 53.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005273/1.299, allocations: 0.5251 MB / 0.6626 GB, free: 52.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0272/1.326, allocations: 14.95 MB / 0.6771 GB, free: 37.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006737/1.333, allocations: 3.975 MB / 0.681 GB, free: 33.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/1.335, allocations: 335.4 kB / 0.6813 GB, free: 33.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.352e-06/1.335, allocations: 0 / 0.6813 GB, free: 33.5 MB / 446.1 MB Notification: Performance of Templates: time 0.4517/1.786, allocations: 117.1 MB / 0.7957 GB, free: 66.91 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