Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001029, allocations: 92.92 kB / 17.63 MB, free: 6.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 201.6 kB / 18.54 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.674/1.674, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004056/0.0004057, allocations: 4 kB / 307.3 MB, free: 1.391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1613, allocations: 51.49 MB / 358.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.4178/0.5792, allocations: 68.36 MB / 427.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.06013/0.6394, allocations: 14.32 MB / 441.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02688/0.6664, allocations: 335.1 kB / 441.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01555/0.682, allocations: 3.561 MB / 445.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04081/0.7229, allocations: 10.44 MB / 455.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006797/0.7297, allocations: 1.011 MB / 456.8 MB, free: 9.664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.4499/1.18, allocations: 91.66 MB / 0.5356 GB, free: 89.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0146/1.194, allocations: 6.582 MB / 0.542 GB, free: 88.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008768/1.203, allocations: 2.011 MB / 0.544 GB, free: 88.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008339/1.212, allocations: 3.149 MB / 0.5471 GB, free: 88.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00238/1.214, allocations: 216.5 kB / 0.5473 GB, free: 88.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005075/1.219, allocations: 1.09 MB / 0.5483 GB, free: 88.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00643/1.226, allocations: 2.598 MB / 0.5509 GB, free: 88.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004309/1.23, allocations: 1.21 MB / 0.5521 GB, free: 88.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01277/1.243, allocations: 7.935 MB / 0.5598 GB, free: 86.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/1.243, allocations: 4 kB / 0.5598 GB, free: 86.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.835e-06/1.243, allocations: 3.656 kB / 0.5598 GB, free: 86.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004919/1.243, allocations: 0 / 0.5598 GB, free: 86.18 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: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.02222/1.265, allocations: 6.447 MB / 0.5661 GB, free: 82.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/1.266, allocations: 9.062 kB / 0.5661 GB, free: 82.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01513/1.281, allocations: 3.354 MB / 0.5694 GB, free: 80.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/1.293, allocations: 4.555 MB / 0.5739 GB, free: 77.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003939/1.293, allocations: 339.5 kB / 0.5742 GB, free: 77.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002916/1.296, allocations: 472 kB / 0.5746 GB, free: 76.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03571/1.332, allocations: 14.55 MB / 0.5888 GB, free: 65.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003917/1.333, allocations: 69.58 kB / 0.5889 GB, free: 65.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002381/1.335, allocations: 219.3 kB / 0.5891 GB, free: 65.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005321/1.34, allocations: 2.829 MB / 0.5919 GB, free: 62.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02963/1.37, allocations: 13.19 MB / 0.6048 GB, free: 53.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08262/1.453, allocations: 58.48 MB / 0.6619 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01942/1.472, allocations: 7.725 MB / 0.6694 GB, free: 8.168 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008037/1.48, allocations: 5.038 MB / 0.6743 GB, free: 3.121 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0273/1.508, allocations: 12.8 MB / 0.6868 GB, free: 6.289 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.278e-05/1.508, allocations: 67.05 kB / 0.6869 GB, free: 6.215 MB / 478.1 MB Notification: Performance of pre-optimization done (n=326): time 7.093e-06/1.508, allocations: 0 / 0.6869 GB, free: 6.215 MB / 478.1 MB Notification: Performance of matching and sorting (n=572): time 2.208/3.716, allocations: 407.4 MB / 1.085 GB, free: 64.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/3.716, allocations: 273.6 kB / 1.085 GB, free: 64.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01495/3.731, allocations: 5.412 MB / 1.09 GB, free: 58.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.003517/3.735, allocations: 109.7 kB / 1.09 GB, free: 58.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.005358/3.74, allocations: 3.935 MB / 1.094 GB, free: 54.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.005135/3.745, allocations: 2.019 MB / 1.096 GB, free: 52.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002922/3.748, allocations: 188 kB / 1.096 GB, free: 52.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0006838/3.749, allocations: 0.7268 MB / 1.097 GB, free: 51.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.017/3.766, allocations: 11.02 MB / 1.108 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3928/4.159, allocations: 15.19 MB / 1.123 GB, free: 175.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03052/4.189, allocations: 12.9 MB / 1.135 GB, free: 172.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000322/4.19, allocations: 45.5 kB / 1.135 GB, free: 172.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.3426/4.532, allocations: 141 MB / 1.273 GB, free: 66.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002311/4.533, allocations: 64 kB / 1.273 GB, free: 66.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004442/4.533, allocations: 136.7 kB / 1.273 GB, free: 66.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07993/4.613, allocations: 34.82 MB / 1.307 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005757/4.619, allocations: 1.568 MB / 1.309 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6246/5.244, allocations: 190.5 MB / 1.495 GB, free: 36.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01657/5.26, allocations: 1.722 MB / 1.496 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00428/5.264, allocations: 0.5414 MB / 1.497 GB, free: 33.78 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 54 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 833 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(20,40.5%) 164,(17,42.9%) 101,(2,100.0%) 7} * Non-linear torn systems: 1 {12 76} Notification: Performance of prepare postOptimizeDAE: time 0.01109/5.276, allocations: 3.096 MB / 1.5 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00363/5.279, allocations: 0.5717 MB / 1.501 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6813/5.961, allocations: 136.7 MB / 1.634 GB, free: 92.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001295/5.961, allocations: 60.62 kB / 1.634 GB, free: 92.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003938/5.961, allocations: 60.73 kB / 1.634 GB, free: 92.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002529/5.961, allocations: 35.45 kB / 1.634 GB, free: 92.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7871/6.749, allocations: 206.2 MB / 1.836 GB, free: 95.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001011/6.749, allocations: 8 kB / 1.836 GB, free: 95.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/6.75, allocations: 328.7 kB / 1.836 GB, free: 94.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07456/6.825, allocations: 33.92 MB / 1.869 GB, free: 61.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003006/6.828, allocations: 100.6 kB / 1.869 GB, free: 61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6254/7.454, allocations: 173.5 MB / 2.039 GB, free: 68.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/7.454, allocations: 11.94 kB / 2.039 GB, free: 68.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6795/8.133, allocations: 152.5 MB / 2.188 GB, free: 98.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002813/8.136, allocations: 0.6336 MB / 2.188 GB, free: 98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004557/8.141, allocations: 96.55 kB / 2.188 GB, free: 97.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01064/8.151, allocations: 1.497 MB / 2.19 GB, free: 96.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005013/8.156, allocations: 494.8 kB / 2.19 GB, free: 95.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002117/8.158, allocations: 144 kB / 2.19 GB, free: 95.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.008428/8.167, allocations: 3.44 MB / 2.194 GB, free: 92.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.91e-07/8.167, allocations: 0 / 2.194 GB, free: 92.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.02251/8.189, allocations: 3.86 MB / 2.197 GB, free: 88.53 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (j1.phi,j1.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 (165): * Single equations (assignments): 158 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(20,40.5%) 157,(16,51.6%) 99,(2,100.0%) 7} * Non-linear torn systems: 1 {12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.002607/8.192, allocations: 247.4 kB / 2.198 GB, free: 88.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.06472/8.257, allocations: 33.67 MB / 2.231 GB, free: 54.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/8.257, allocations: 1.641 kB / 2.231 GB, free: 54.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.3261/8.583, allocations: 20.51 MB / 2.251 GB, free: 163.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01245/8.595, allocations: 0.7468 MB / 2.251 GB, free: 163.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06763/8.663, allocations: 30.26 MB / 2.281 GB, free: 157.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008172/8.671, allocations: 5.061 MB / 2.286 GB, free: 156.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/8.673, allocations: 351.1 kB / 2.286 GB, free: 156.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.764e-06/8.673, allocations: 0 / 2.286 GB, free: 156.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.7537/9.427, allocations: 254.8 MB / 2.535 GB, free: 92.65 MB / 0.4981 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.Loops.Fourbar1CalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1CalcHelperMain.o] Error 1