Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.001428/0.001428, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.1 MB / 224.6 MB, free: 12.48 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.002071/0.002071, allocations: 47.94 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1411, allocations: 46.61 MB / 327.2 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.3997/0.5409, allocations: 75.43 MB / 402.7 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04947/0.5905, allocations: 14.97 MB / 417.6 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02581/0.6164, allocations: 337.9 kB / 418 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009079/0.6255, allocations: 4.443 MB / 422.4 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.6363, allocations: 2.384 MB / 424.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004501/0.6408, allocations: 1.071 MB / 425.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01955/0.6604, allocations: 10.51 MB / 436.4 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01101/0.6715, allocations: 5.213 MB / 441.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007034/0.6785, allocations: 2.221 MB / 443.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008109/0.6867, allocations: 3.606 MB / 447.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002629/0.6894, allocations: 356 kB / 447.8 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006015/0.6954, allocations: 1.395 MB / 449.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006028/0.7015, allocations: 2.844 MB / 452 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009962/0.7115, allocations: 3.216 MB / 455.2 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.7259, allocations: 8.138 MB / 463.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.726, allocations: 3.938 kB / 463.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.726, allocations: 0 / 463.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007526/0.7268, allocations: 4 kB / 463.4 MB, free: 12.68 MB / 366.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.03266/0.7595, allocations: 7.627 MB / 471 MB, free: 5.098 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.29e-05/0.7596, allocations: 8.031 kB / 471 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01734/0.7769, allocations: 3.182 MB / 474.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01611/0.7931, allocations: 4.889 MB / 479.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005055/0.7937, allocations: 335.7 kB / 479.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003093/0.7968, allocations: 470.5 kB / 479.9 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04273/0.8395, allocations: 14.55 MB / 494.4 MB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007144/0.8403, allocations: 79.27 kB / 494.5 MB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002898/0.8433, allocations: 211.3 kB / 494.7 MB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00655/0.8498, allocations: 2.836 MB / 497.5 MB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0346/0.8845, allocations: 13.22 MB / 0.4988 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.437/1.322, allocations: 58.52 MB / 0.5559 GB, free: 130.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02024/1.342, allocations: 7.733 MB / 0.5635 GB, free: 129.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006521/1.348, allocations: 5.052 MB / 0.5684 GB, free: 127.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02215/1.371, allocations: 12.8 MB / 0.5809 GB, free: 121.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/1.371, allocations: 73.06 kB / 0.581 GB, free: 121.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=326): time 7.394e-06/1.371, allocations: 0 / 0.581 GB, free: 121.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=572): time 2.16/3.531, allocations: 411.5 MB / 0.9828 GB, free: 104.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/3.531, allocations: 267.4 kB / 0.9831 GB, free: 104.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008421/3.54, allocations: 5.489 MB / 0.9884 GB, free: 99.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002595/3.542, allocations: 117.7 kB / 0.9886 GB, free: 98.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002625/3.545, allocations: 3.935 MB / 0.9924 GB, free: 95.61 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003196/3.548, allocations: 2.015 MB / 0.9944 GB, free: 93.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004449/3.553, allocations: 2.174 MB / 0.9965 GB, free: 91.42 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.756e-05/3.553, allocations: 306.4 kB / 0.9968 GB, free: 91.12 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01265/3.565, allocations: 11.07 MB / 1.008 GB, free: 80.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01721/3.583, allocations: 15.24 MB / 1.022 GB, free: 62.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03449/3.617, allocations: 27.46 MB / 1.049 GB, free: 33.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002013/3.618, allocations: 40.75 kB / 1.049 GB, free: 33.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.6427/4.26, allocations: 141 MB / 1.187 GB, free: 61.33 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/4.26, allocations: 64 kB / 1.187 GB, free: 61.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001883/4.261, allocations: 140 kB / 1.187 GB, free: 61.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.07724/4.338, allocations: 34.68 MB / 1.221 GB, free: 26.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006115/4.344, allocations: 1.575 MB / 1.223 GB, free: 24.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9042/5.248, allocations: 190.6 MB / 1.409 GB, free: 132.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01501/5.263, allocations: 1.718 MB / 1.41 GB, free: 132.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003023/5.266, allocations: 0.5381 MB / 1.411 GB, free: 132.1 MB / 462.1 MB 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,164,40.5%), (16,102,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,76)} Notification: Performance of prepare postOptimizeDAE: time 0.007809/5.274, allocations: 3.097 MB / 1.414 GB, free: 131.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002271/5.277, allocations: 0.5738 MB / 1.415 GB, free: 131.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2954/5.572, allocations: 136.7 MB / 1.548 GB, free: 27.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001405/5.572, allocations: 66.5 kB / 1.548 GB, free: 27.06 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002261/5.572, allocations: 60 kB / 1.548 GB, free: 27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000145/5.573, allocations: 23.91 kB / 1.548 GB, free: 26.98 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.02/6.592, allocations: 206.2 MB / 1.75 GB, free: 134.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.179e-05/6.592, allocations: 3.844 kB / 1.75 GB, free: 134.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/6.594, allocations: 336 kB / 1.75 GB, free: 134.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08107/6.675, allocations: 33.84 MB / 1.783 GB, free: 131 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002619/6.678, allocations: 101 kB / 1.783 GB, free: 130.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5206/7.198, allocations: 173.4 MB / 1.952 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/7.198, allocations: 7.844 kB / 1.952 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6306/7.829, allocations: 152.5 MB / 2.101 GB, free: 126.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008363/7.837, allocations: 3.004 MB / 2.104 GB, free: 125.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003583/7.841, allocations: 103.4 kB / 2.104 GB, free: 125.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0101/7.851, allocations: 1.483 MB / 2.106 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004382/7.856, allocations: 496.5 kB / 2.106 GB, free: 124.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00128/7.857, allocations: 146.2 kB / 2.106 GB, free: 124.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.007102/7.864, allocations: 3.499 MB / 2.11 GB, free: 122.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.2e-07/7.864, allocations: 3.875 kB / 2.11 GB, free: 122.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.02033/7.884, allocations: 3.857 MB / 2.114 GB, free: 120.3 MB / 462.1 MB 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,157,40.5%), (16,99,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,86)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002814/7.887, allocations: 246.4 kB / 2.114 GB, free: 120 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.06451/7.952, allocations: 33.71 MB / 2.147 GB, free: 86.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/7.952, allocations: 0 / 2.147 GB, free: 86.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.04184/7.994, allocations: 20.51 MB / 2.167 GB, free: 65.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0128/8.007, allocations: 0.7523 MB / 2.168 GB, free: 65.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05914/8.066, allocations: 31.03 MB / 2.198 GB, free: 34.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008432/8.074, allocations: 5.085 MB / 2.203 GB, free: 29.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/8.076, allocations: 355.4 kB / 2.203 GB, free: 28.71 MB / 462.1 MB Notification: Performance of SimCode: time 1.282e-06/8.076, allocations: 0 / 2.203 GB, free: 28.71 MB / 462.1 MB Notification: Performance of Templates: time 0.9769/9.053, allocations: 255.9 MB / 2.453 GB, free: 105.4 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.Loops.Fourbar1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1CalcHelperMain.o] Error 1