Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 88.39 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002454/0.0002457, allocations: 8 kB / 307.3 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1178, allocations: 51.49 MB / 358.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.3479/0.4658, allocations: 63.1 MB / 421.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04459/0.5104, allocations: 13.34 MB / 435.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02023/0.5307, allocations: 303.2 kB / 435.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01381/0.5446, allocations: 3.293 MB / 438.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03331/0.5779, allocations: 9.649 MB / 448.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005701/0.5836, allocations: 0.8119 MB / 449.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.08326/0.6669, allocations: 62.09 MB / 0.4994 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01307/0.6801, allocations: 6.541 MB / 0.5058 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0062/0.6863, allocations: 1.662 MB / 0.5074 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006719/0.6931, allocations: 2.531 MB / 0.5099 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001704/0.6949, allocations: 184 kB / 0.5101 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003068/0.698, allocations: 0.9558 MB / 0.511 GB, free: 7.246 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002531/0.7005, allocations: 2.174 MB / 0.5131 GB, free: 5.066 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.702, allocations: 1.045 MB / 0.5141 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008909/0.7109, allocations: 7.112 MB / 0.5211 GB, free: 12.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.711, allocations: 0 / 0.5211 GB, free: 12.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.711, allocations: 4 kB / 0.5211 GB, free: 12.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004087/0.7114, allocations: 0 / 0.5211 GB, free: 12.88 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01607/0.7275, allocations: 5.123 MB / 0.5261 GB, free: 7.688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.7276, allocations: 8.031 kB / 0.5261 GB, free: 7.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/0.7402, allocations: 2.668 MB / 0.5287 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/0.7523, allocations: 3.684 MB / 0.5323 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004375/0.7528, allocations: 303.8 kB / 0.5326 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00244/0.7552, allocations: 431.6 kB / 0.533 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4244/1.18, allocations: 11.72 MB / 0.5444 GB, free: 80.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002906/1.18, allocations: 57.86 kB / 0.5445 GB, free: 80.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007829/1.181, allocations: 187.1 kB / 0.5447 GB, free: 80.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004328/1.185, allocations: 2.088 MB / 0.5467 GB, free: 80.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0288/1.214, allocations: 10.06 MB / 0.5565 GB, free: 80.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06599/1.28, allocations: 45.96 MB / 0.6014 GB, free: 49.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00993/1.29, allocations: 4.37 MB / 0.6057 GB, free: 46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003251/1.293, allocations: 2.464 MB / 0.6081 GB, free: 44.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01419/1.308, allocations: 9.852 MB / 0.6177 GB, free: 36.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/1.308, allocations: 55.56 kB / 0.6178 GB, free: 36.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=171): time 5.05e-06/1.308, allocations: 0 / 0.6178 GB, free: 36.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=197): time 0.05368/1.361, allocations: 19.97 MB / 0.6373 GB, free: 16.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.361, allocations: 201.2 kB / 0.6375 GB, free: 16.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008276/1.37, allocations: 4.69 MB / 0.642 GB, free: 11.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006348/1.37, allocations: 49.7 kB / 0.6421 GB, free: 11.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002314/1.373, allocations: 3.595 MB / 0.6456 GB, free: 8.117 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001069/1.374, allocations: 0.7669 MB / 0.6463 GB, free: 7.355 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003332/1.374, allocations: 130.7 kB / 0.6465 GB, free: 7.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002817/1.374, allocations: 0.5868 MB / 0.647 GB, free: 6.637 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003157/1.378, allocations: 2.386 MB / 0.6494 GB, free: 4.246 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006217/1.384, allocations: 6.25 MB / 0.6555 GB, free: 12.14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006849/1.391, allocations: 3.782 MB / 0.6592 GB, free: 8.492 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001215/1.391, allocations: 40 kB / 0.6592 GB, free: 8.453 MB / 462.1 MB Notification: Performance of matching and sorting (n=858) (initialization): time 0.02252/1.413, allocations: 9.752 MB / 0.6687 GB, free: 15.51 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/1.414, allocations: 60 kB / 0.6688 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002348/1.414, allocations: 140 kB / 0.6689 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004702/1.419, allocations: 1.628 MB / 0.6705 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005913/1.425, allocations: 1.493 MB / 0.672 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/1.44, allocations: 9.54 MB / 0.6813 GB, free: 2.598 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006429/1.446, allocations: 371.4 kB / 0.6816 GB, free: 2.234 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001505/1.448, allocations: 395.8 kB / 0.682 GB, free: 1.852 MB / 478.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.00638/1.454, allocations: 2.483 MB / 0.6844 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/1.456, allocations: 402.8 kB / 0.6848 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008609/1.464, allocations: 4.238 MB / 0.689 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.689e-05/1.464, allocations: 20 kB / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/1.464, allocations: 8 kB / 0.689 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-05/1.464, allocations: 7.969 kB / 0.689 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01915/1.484, allocations: 9.785 MB / 0.6986 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/1.484, allocations: 4.031 kB / 0.6986 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/1.485, allocations: 301.8 kB / 0.6988 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003767/1.489, allocations: 1.353 MB / 0.7002 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002188/1.489, allocations: 39.98 kB / 0.7002 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/1.501, allocations: 8.732 MB / 0.7087 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.501, allocations: 0 / 0.7087 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3261/1.827, allocations: 6.964 MB / 0.7155 GB, free: 194.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002027/1.829, allocations: 463.3 kB / 0.716 GB, free: 194.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008722/1.83, allocations: 32.12 kB / 0.716 GB, free: 194.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/1.832, allocations: 121 kB / 0.7161 GB, free: 194.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004696/1.832, allocations: 127.6 kB / 0.7162 GB, free: 194.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/1.832, allocations: 50.28 kB / 0.7163 GB, free: 194.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007443/1.84, allocations: 2.94 MB / 0.7192 GB, free: 194 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.022e-06/1.84, allocations: 0 / 0.7192 GB, free: 194 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00982/1.85, allocations: 1.204 MB / 0.7203 GB, free: 194 MB / 0.4981 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.0007682/1.85, allocations: 171.9 kB / 0.7205 GB, free: 193.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01553/1.866, allocations: 5.945 MB / 0.7263 GB, free: 192.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/1.866, allocations: 1.312 kB / 0.7263 GB, free: 192.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004759/1.871, allocations: 2.009 MB / 0.7283 GB, free: 191.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007149/1.878, allocations: 0.5167 MB / 0.7288 GB, free: 191.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0325/1.91, allocations: 13.66 MB / 0.7421 GB, free: 184.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006564/1.917, allocations: 3.839 MB / 0.7459 GB, free: 182.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/1.918, allocations: 316.1 kB / 0.7462 GB, free: 182.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.452e-06/1.918, allocations: 0 / 0.7462 GB, free: 182.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.1566/2.075, allocations: 112.3 MB / 0.8558 GB, free: 77.89 MB / 0.4981 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintCalcHelperMain.o] Error 1