Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001432, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001578/0.001578, allocations: 194 kB / 18.72 MB, free: 4.762 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.846/1.846, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001409/0.001409, allocations: 55.92 kB / 280.6 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1395, allocations: 46.64 MB / 327.3 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.3932/0.5328, allocations: 55.45 MB / 382.7 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04706/0.5799, allocations: 11.91 MB / 394.6 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02355/0.6036, allocations: 242.5 kB / 394.9 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01162/0.6153, allocations: 4.206 MB / 399.1 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008664/0.624, allocations: 2.025 MB / 401.1 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.6276, allocations: 1.012 MB / 402.1 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01433/0.6419, allocations: 8.207 MB / 410.3 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00805/0.65, allocations: 5.219 MB / 415.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006585/0.6566, allocations: 1.91 MB / 417.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006454/0.6631, allocations: 3.048 MB / 420.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001659/0.6648, allocations: 344 kB / 420.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004879/0.6697, allocations: 1.555 MB / 422.4 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003619/0.6734, allocations: 2.453 MB / 424.8 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004817/0.6782, allocations: 2.75 MB / 427.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.6884, allocations: 7.624 MB / 435.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.6884, allocations: 0 / 435.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6884, allocations: 0 / 435.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003436/0.6888, allocations: 0 / 435.2 MB, free: 13.28 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01888/0.7077, allocations: 6.034 MB / 441.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.535e-05/0.7077, allocations: 8.031 kB / 441.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.7189, allocations: 2.54 MB / 443.8 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/0.7315, allocations: 3.852 MB / 447.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006435/0.7323, allocations: 309.6 kB / 447.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003325/0.7356, allocations: 444.6 kB / 448.4 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03731/0.773, allocations: 12.41 MB / 460.8 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004343/0.7735, allocations: 55.48 kB / 460.8 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002491/0.776, allocations: 188.2 kB / 461 MB, free: 2.934 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004369/0.7804, allocations: 2.034 MB / 463.1 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02862/0.809, allocations: 10.55 MB / 473.6 MB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08001/0.8891, allocations: 44.37 MB / 0.5058 GB, free: 8.926 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01458/0.9038, allocations: 4.854 MB / 0.5106 GB, free: 3.926 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00356/0.9074, allocations: 2.003 MB / 0.5125 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01529/0.9227, allocations: 7.119 MB / 0.5195 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.972e-05/0.9228, allocations: 55.5 kB / 0.5195 GB, free: 10.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 7.384e-06/0.9229, allocations: 4 kB / 0.5195 GB, free: 10.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.07494/0.9978, allocations: 19.64 MB / 0.5387 GB, free: 6.816 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/0.998, allocations: 209.8 kB / 0.5389 GB, free: 6.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007966/1.006, allocations: 4.5 MB / 0.5433 GB, free: 2.051 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007033/1.007, allocations: 57.7 kB / 0.5434 GB, free: 1.988 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3119/1.319, allocations: 3.509 MB / 0.5468 GB, free: 179.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001806/1.32, allocations: 0.8418 MB / 0.5476 GB, free: 179 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004029/1.325, allocations: 1.339 MB / 0.5489 GB, free: 178.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/1.325, allocations: 304.8 kB / 0.5492 GB, free: 178.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005591/1.33, allocations: 2.361 MB / 0.5515 GB, free: 177.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00851/1.339, allocations: 6.161 MB / 0.5575 GB, free: 172 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01344/1.352, allocations: 9.167 MB / 0.5665 GB, free: 164.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002371/1.353, allocations: 39.59 kB / 0.5665 GB, free: 164.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.02057/1.373, allocations: 9.542 MB / 0.5758 GB, free: 160.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001937/1.373, allocations: 66.78 kB / 0.5759 GB, free: 160.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003499/1.374, allocations: 134.1 kB / 0.576 GB, free: 160.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004243/1.378, allocations: 1.379 MB / 0.5774 GB, free: 160.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004892/1.383, allocations: 1.473 MB / 0.5788 GB, free: 160.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/1.394, allocations: 7.965 MB / 0.5866 GB, free: 154.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006432/1.401, allocations: 361.9 kB / 0.5869 GB, free: 153.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001984/1.403, allocations: 387.7 kB / 0.5873 GB, free: 153.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006606/1.409, allocations: 2.485 MB / 0.5897 GB, free: 151.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001422/1.411, allocations: 409.6 kB / 0.5901 GB, free: 150.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/1.421, allocations: 4.124 MB / 0.5942 GB, free: 146.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.104e-05/1.421, allocations: 24 kB / 0.5942 GB, free: 146.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.516e-05/1.421, allocations: 8 kB / 0.5942 GB, free: 146.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-05/1.421, allocations: 7.969 kB / 0.5942 GB, free: 146.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0272/1.448, allocations: 10.37 MB / 0.6043 GB, free: 136.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.42e-05/1.449, allocations: 4 kB / 0.6043 GB, free: 136.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/1.45, allocations: 348.1 kB / 0.6047 GB, free: 135.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003633/1.454, allocations: 1.152 MB / 0.6058 GB, free: 134.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003748/1.454, allocations: 43.98 kB / 0.6058 GB, free: 134.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008986/1.463, allocations: 6.66 MB / 0.6123 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/1.463, allocations: 11.94 kB / 0.6123 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01183/1.475, allocations: 6.913 MB / 0.6191 GB, free: 120.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002297/1.478, allocations: 0.734 MB / 0.6198 GB, free: 120.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001454/1.479, allocations: 40 kB / 0.6198 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002856/1.482, allocations: 107.9 kB / 0.62 GB, free: 119.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004844/1.483, allocations: 145.1 kB / 0.6201 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002091/1.483, allocations: 60 kB / 0.6201 GB, free: 119.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006606/1.489, allocations: 2.818 MB / 0.6229 GB, free: 116.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.91e-07/1.489, allocations: 0 / 0.6229 GB, free: 116.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008961/1.498, allocations: 1.225 MB / 0.6241 GB, free: 115.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001057/1.499, allocations: 236 kB / 0.6243 GB, free: 115.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01081/1.51, allocations: 5.742 MB / 0.6299 GB, free: 109.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/1.51, allocations: 1.875 kB / 0.6299 GB, free: 109.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00309/1.513, allocations: 1.877 MB / 0.6318 GB, free: 107.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005889/1.519, allocations: 0.5096 MB / 0.6323 GB, free: 107.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03095/1.55, allocations: 14.08 MB / 0.646 GB, free: 93.17 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004545/1.555, allocations: 3.855 MB / 0.6498 GB, free: 89.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/1.557, allocations: 315.4 kB / 0.6501 GB, free: 88.97 MB / 462.1 MB Notification: Performance of SimCode: time 1.623e-06/1.557, allocations: 5.641 kB / 0.6501 GB, free: 88.96 MB / 462.1 MB Notification: Performance of Templates: time 0.3665/1.923, allocations: 90.39 MB / 0.7384 GB, free: 160 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.Fourbar_analyticCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analyticCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analyticCalcHelperMain.o] Error 1