Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009701/0.0009701, allocations: 91.62 kB / 16.95 MB, free: 5.953 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.001097/0.001097, allocations: 176.1 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.2 MB / 241.9 MB, free: 220 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003277, allocations: 8 kB / 301.5 MB, free: 6.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1371, allocations: 50.41 MB / 351.9 MB, free: 3.988 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.3813/0.5185, allocations: 103.8 MB / 455.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.06918/0.5877, allocations: 21.45 MB / 477.1 MB, free: 7.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03736/0.6251, allocations: 0.5064 MB / 477.6 MB, free: 6.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02498/0.6502, allocations: 5.338 MB / 482.9 MB, free: 1.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.06157/0.7119, allocations: 15.76 MB / 498.7 MB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01225/0.7241, allocations: 1.707 MB / 0.4887 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.6316/1.356, allocations: 180 MB / 0.6645 GB, free: 7.156 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0276/1.383, allocations: 12.77 MB / 0.6769 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01073/1.394, allocations: 3.232 MB / 0.6801 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01213/1.406, allocations: 5.049 MB / 0.685 GB, free: 8.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003034/1.409, allocations: 340 kB / 0.6853 GB, free: 7.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006189/1.416, allocations: 1.346 MB / 0.6867 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008248/1.424, allocations: 4.22 MB / 0.6908 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006022/1.43, allocations: 1.846 MB / 0.6926 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02017/1.45, allocations: 13.62 MB / 0.7059 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/1.45, allocations: 4 kB / 0.7059 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.136e-06/1.45, allocations: 0 / 0.7059 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007647/1.451, allocations: 0 / 0.7059 GB, free: 7.203 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.03345/1.485, allocations: 9.353 MB / 0.715 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/1.485, allocations: 12.03 kB / 0.715 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04088/1.526, allocations: 5.535 MB / 0.7204 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02593/1.551, allocations: 8.67 MB / 0.7289 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006735/1.552, allocations: 0.5254 MB / 0.7294 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004812/1.557, allocations: 0.7301 MB / 0.7301 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5494/2.106, allocations: 19.53 MB / 0.7492 GB, free: 217.1 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003751/2.107, allocations: 98.27 kB / 0.7493 GB, free: 217.1 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001011/2.108, allocations: 321.5 kB / 0.7496 GB, free: 216.9 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004172/2.112, allocations: 2.821 MB / 0.7524 GB, free: 216.3 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03403/2.146, allocations: 16.25 MB / 0.7682 GB, free: 207.4 MB / 0.5138 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1071/2.253, allocations: 74.49 MB / 0.841 GB, free: 131.8 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02226/2.276, allocations: 8.541 MB / 0.8493 GB, free: 123.2 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006793/2.282, allocations: 4.761 MB / 0.854 GB, free: 118.4 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02557/2.308, allocations: 15.39 MB / 0.869 GB, free: 102.6 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.627e-05/2.308, allocations: 78.69 kB / 0.8691 GB, free: 102.5 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=321): time 7.043e-06/2.308, allocations: 0 / 0.8691 GB, free: 102.5 MB / 0.5138 GB Notification: Performance of matching and sorting (n=428): time 0.1852/2.493, allocations: 54.88 MB / 0.9227 GB, free: 47.54 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/2.494, allocations: 406.8 kB / 0.9231 GB, free: 47.06 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01876/2.512, allocations: 7.508 MB / 0.9304 GB, free: 39.59 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001658/2.514, allocations: 97.61 kB / 0.9305 GB, free: 39.49 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.005513/2.52, allocations: 5.592 MB / 0.9359 GB, free: 33.89 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.003201/2.523, allocations: 1.563 MB / 0.9375 GB, free: 32.34 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002192/2.525, allocations: 204 kB / 0.9377 GB, free: 32.14 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.001258/2.526, allocations: 0.736 MB / 0.9384 GB, free: 31.4 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009437/2.536, allocations: 5.178 MB / 0.9434 GB, free: 26.21 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01418/2.55, allocations: 10.23 MB / 0.9534 GB, free: 13.56 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01261/2.563, allocations: 7.14 MB / 0.9604 GB, free: 6.414 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002522/2.563, allocations: 48 kB / 0.9604 GB, free: 6.367 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1335) (initialization): time 0.3472/2.91, allocations: 21.16 MB / 0.9811 GB, free: 193 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000194/2.911, allocations: 78.66 kB / 0.9812 GB, free: 193 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003784/2.911, allocations: 170 kB / 0.9813 GB, free: 193 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01993/2.931, allocations: 6.681 MB / 0.9879 GB, free: 191.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008184/2.939, allocations: 2.163 MB / 0.99 GB, free: 191.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0453/2.984, allocations: 32.79 MB / 1.022 GB, free: 175 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009383/2.994, allocations: 0.6268 MB / 1.023 GB, free: 174.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002086/2.996, allocations: 0.5273 MB / 1.023 GB, free: 173.8 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 778 * Number of states: 0 () * Number of discrete variables: 73 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],mid.color[3],mid.color[2],mid.color[1],crank4.color[3],crank4.color[2],crank4.color[1],crank4.body.sphereColor[3],crank4.body.sphereColor[2],crank4.body.sphereColor[1],crank3.color[3],crank3.color[2],crank3.color[1],crank3.body.sphereColor[3],crank3.body.sphereColor[2],crank3.body.sphereColor[1],crank2.color[3],crank2.color[2],crank2.color[1],crank2.body.sphereColor[3],crank2.body.sphereColor[2],crank2.body.sphereColor[1],crank1.color[3],crank1.color[2],crank1.color[1],crank1.body.sphereColor[3],crank1.body.sphereColor[2],crank1.body.sphereColor[1],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1],connectingRod.color[3],connectingRod.color[2],connectingRod.color[1],connectingRod.body.sphereColor[3],connectingRod.body.sphereColor[2],connectingRod.body.sphereColor[1],piston.color[3],piston.color[2],piston.color[1],piston.body.sphereColor[3],piston.body.sphereColor[2],piston.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1178): * Single equations (assignments): 1173 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 129} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008786/3.005, allocations: 4.109 MB / 1.027 GB, free: 169.8 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001771/3.007, allocations: 0.6885 MB / 1.028 GB, free: 169.5 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.026/3.033, allocations: 14.28 MB / 1.042 GB, free: 155.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.055e-05/3.033, allocations: 44 kB / 1.042 GB, free: 155.2 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.164e-05/3.033, allocations: 24 kB / 1.042 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.773e-05/3.033, allocations: 22.59 kB / 1.042 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05287/3.086, allocations: 28.22 MB / 1.069 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.302e-05/3.086, allocations: 8 kB / 1.069 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003047/3.089, allocations: 0.6003 MB / 1.07 GB, free: 126.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01764/3.107, allocations: 6.319 MB / 1.076 GB, free: 120 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001645/3.108, allocations: 80.61 kB / 1.076 GB, free: 119.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04632/3.155, allocations: 29.74 MB / 1.105 GB, free: 90.22 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/3.155, allocations: 15.61 kB / 1.105 GB, free: 90.21 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04175/3.197, allocations: 20.87 MB / 1.126 GB, free: 69.2 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006469/3.203, allocations: 1.576 MB / 1.127 GB, free: 67.61 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003916/3.207, allocations: 78.41 kB / 1.127 GB, free: 67.53 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007004/3.214, allocations: 340.3 kB / 1.128 GB, free: 67.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002376/3.217, allocations: 293 kB / 1.128 GB, free: 66.92 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00118/3.218, allocations: 123.8 kB / 1.128 GB, free: 66.8 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.01199/3.23, allocations: 4.788 MB / 1.133 GB, free: 62.05 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.92e-07/3.23, allocations: 0 / 1.133 GB, free: 62.05 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0171/3.247, allocations: 2.431 MB / 1.135 GB, free: 59.63 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 2 (inertia.phi,inertia.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 (296): * Single equations (assignments): 292 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 116} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002044/3.249, allocations: 267 kB / 1.135 GB, free: 59.38 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02364/3.273, allocations: 12.65 MB / 1.148 GB, free: 46.8 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.865e-05/3.273, allocations: 3.938 kB / 1.148 GB, free: 46.8 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.01123/3.284, allocations: 5.331 MB / 1.153 GB, free: 41.45 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01386/3.298, allocations: 1.022 MB / 1.154 GB, free: 40.45 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3862/3.684, allocations: 26.62 MB / 1.18 GB, free: 186.8 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02131/3.706, allocations: 6.313 MB / 1.186 GB, free: 185.9 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003116/3.709, allocations: 495.9 kB / 1.187 GB, free: 185.9 MB / 0.5138 GB Notification: Performance of SimCode: time 1.523e-06/3.709, allocations: 0 / 1.187 GB, free: 185.9 MB / 0.5138 GB Notification: Performance of Templates: time 0.2624/3.971, allocations: 163.2 MB / 1.346 GB, free: 44 MB / 0.5138 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analyticCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analyticCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analyticCalcHelperMain.o] Error 1