Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001365, allocations: 109.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.001375/0.001375, 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.764/1.764, 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.001289/0.001289, allocations: 51.92 kB / 280.6 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1465, allocations: 46.63 MB / 327.3 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.4474/0.5939, allocations: 103.4 MB / 430.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.06985/0.6639, allocations: 19.95 MB / 450.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03739/0.7013, allocations: 474.8 kB / 451.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01379/0.7152, allocations: 5.851 MB / 456.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01331/0.7285, allocations: 3.2 MB / 460.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005388/0.7339, allocations: 1.455 MB / 461.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02636/0.7603, allocations: 15.89 MB / 477.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01316/0.7736, allocations: 7.51 MB / 485 MB, free: 8.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009373/0.783, allocations: 3.212 MB / 488.2 MB, free: 5.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01093/0.794, allocations: 5.094 MB / 493.3 MB, free: 15.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003386/0.7974, allocations: 484 kB / 493.8 MB, free: 15.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006865/0.8043, allocations: 1.498 MB / 495.3 MB, free: 13.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0089/0.8132, allocations: 4.036 MB / 499.3 MB, free: 9.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01355/0.8268, allocations: 4.226 MB / 0.4917 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02121/0.8481, allocations: 10.86 MB / 0.5023 GB, free: 10.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.439e-05/0.8482, allocations: 4 kB / 0.5023 GB, free: 10.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.8482, allocations: 0 / 0.5023 GB, free: 10.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007876/0.849, allocations: 4 kB / 0.5023 GB, free: 10.74 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.04417/0.8932, allocations: 9.699 MB / 0.5118 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.349e-05/0.8933, allocations: 12.03 kB / 0.5118 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04532/0.9386, allocations: 5.236 MB / 0.5169 GB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02616/0.9648, allocations: 8.191 MB / 0.5249 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000889/0.9657, allocations: 423.6 kB / 0.5253 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004184/0.97, allocations: 0.5814 MB / 0.5259 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04737/1.017, allocations: 16.56 MB / 0.5421 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006896/1.018, allocations: 95.11 kB / 0.5422 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003329/1.021, allocations: 263.8 kB / 0.5424 GB, free: 476 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.5756/1.597, allocations: 2.757 MB / 0.5451 GB, free: 162.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03655/1.634, allocations: 13.63 MB / 0.5584 GB, free: 158.4 MB / 446.1 MB 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.09089/1.725, allocations: 67.99 MB / 0.6248 GB, free: 93.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01826/1.743, allocations: 7.884 MB / 0.6325 GB, free: 85.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005628/1.749, allocations: 4.521 MB / 0.6369 GB, free: 81.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02165/1.77, allocations: 12.42 MB / 0.6491 GB, free: 68.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/1.77, allocations: 64.56 kB / 0.6491 GB, free: 68.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=280): time 6.422e-06/1.77, allocations: 3.938 kB / 0.6491 GB, free: 68.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=340): time 0.1686/1.939, allocations: 49.27 MB / 0.6972 GB, free: 19.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001657/1.939, allocations: 394.1 kB / 0.6976 GB, free: 19.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01513/1.954, allocations: 7.183 MB / 0.7046 GB, free: 11.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001161/1.956, allocations: 77.7 kB / 0.7047 GB, free: 11.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004055/1.96, allocations: 5.027 MB / 0.7096 GB, free: 6.723 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002431/1.962, allocations: 1.272 MB / 0.7108 GB, free: 5.434 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006399/1.969, allocations: 1.862 MB / 0.7127 GB, free: 3.559 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.233e-05/1.969, allocations: 309.1 kB / 0.713 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3213/2.29, allocations: 4.55 MB / 0.7174 GB, free: 146.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0144/2.304, allocations: 9.265 MB / 0.7264 GB, free: 140.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02292/2.327, allocations: 14.55 MB / 0.7407 GB, free: 129.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003446/2.328, allocations: 46.84 kB / 0.7407 GB, free: 129.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04396/2.372, allocations: 19.77 MB / 0.76 GB, free: 123.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004714/2.372, allocations: 74.28 kB / 0.7601 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007234/2.373, allocations: 160.6 kB / 0.7602 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0198/2.393, allocations: 7.04 MB / 0.7671 GB, free: 120.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006727/2.4, allocations: 1.926 MB / 0.769 GB, free: 118.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04499/2.445, allocations: 33.15 MB / 0.8014 GB, free: 85.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01131/2.456, allocations: 0.5787 MB / 0.8019 GB, free: 84.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002738/2.459, allocations: 0.4918 MB / 0.8024 GB, free: 84.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1049): * Single equations (assignments): 1043 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,93,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.01163/2.471, allocations: 3.492 MB / 0.8058 GB, free: 80.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002831/2.473, allocations: 0.6367 MB / 0.8064 GB, free: 80.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02963/2.503, allocations: 13.33 MB / 0.8194 GB, free: 67.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.32e-05/2.503, allocations: 36 kB / 0.8195 GB, free: 67.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.922e-05/2.503, allocations: 20 kB / 0.8195 GB, free: 67.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001462/2.503, allocations: 15.94 kB / 0.8195 GB, free: 67.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0671/2.571, allocations: 26.73 MB / 0.8456 GB, free: 39.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.524e-05/2.571, allocations: 8 kB / 0.8456 GB, free: 39.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002132/2.573, allocations: 419.3 kB / 0.846 GB, free: 39.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01852/2.591, allocations: 6.671 MB / 0.8525 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009993/2.592, allocations: 66.28 kB / 0.8526 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.399/2.991, allocations: 31.9 MB / 0.8838 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.769e-05/2.992, allocations: 9.75 kB / 0.8838 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04158/3.033, allocations: 18.76 MB / 0.9021 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005496/3.039, allocations: 1.388 MB / 0.9034 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003288/3.042, allocations: 68.75 kB / 0.9035 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005974/3.048, allocations: 306.1 kB / 0.9038 GB, free: 125 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001558/3.05, allocations: 241.4 kB / 0.904 GB, free: 125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006779/3.05, allocations: 93.48 kB / 0.9041 GB, free: 124.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.01267/3.063, allocations: 4.607 MB / 0.9086 GB, free: 123.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/3.063, allocations: 0 / 0.9086 GB, free: 123.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01674/3.08, allocations: 2.142 MB / 0.9107 GB, free: 123.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (215): * Single equations (assignments): 209 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,87,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001718/3.082, allocations: 218.6 kB / 0.9109 GB, free: 123.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02421/3.106, allocations: 11.58 MB / 0.9222 GB, free: 117.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.637e-05/3.106, allocations: 0 / 0.9222 GB, free: 117.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009927/3.116, allocations: 5.014 MB / 0.9271 GB, free: 113.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01308/3.129, allocations: 0.9376 MB / 0.928 GB, free: 112.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05343/3.182, allocations: 23.86 MB / 0.9513 GB, free: 89.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01178/3.194, allocations: 5.462 MB / 0.9567 GB, free: 84.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002401/3.197, allocations: 447.4 kB / 0.9571 GB, free: 83.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.352e-06/3.197, allocations: 0 / 0.9571 GB, free: 83.7 MB / 446.1 MB Notification: Performance of Templates: time 0.5881/3.785, allocations: 207.1 MB / 1.159 GB, free: 30.29 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.Engine1aCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1aCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1aCalcHelperMain.o] Error 1