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.0008858/0.000886, allocations: 86.38 kB / 17.58 MB, free: 6.219 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.0009722/0.0009722, allocations: 187.8 kB / 18.48 MB, free: 5.379 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.672/1.672, allocations: 205.4 MB / 224.6 MB, free: 13.17 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.0004922/0.0004922, allocations: 12 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1113, allocations: 47.57 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.3235/0.4349, allocations: 93.9 MB / 422.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.06116/0.4961, allocations: 19.13 MB / 442 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03189/0.5281, allocations: 470.8 kB / 442.5 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01977/0.5479, allocations: 4.914 MB / 447.4 MB, free: 256 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05561/0.6036, allocations: 14.6 MB / 462 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00864/0.6122, allocations: 1.404 MB / 463.4 MB, free: 196 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.495/1.107, allocations: 98.21 MB / 0.5484 GB, free: 78.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01587/1.123, allocations: 8.914 MB / 0.5571 GB, free: 77.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008591/1.132, allocations: 2.947 MB / 0.56 GB, free: 77.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009431/1.141, allocations: 4.455 MB / 0.5644 GB, free: 76.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002446/1.144, allocations: 276 kB / 0.5646 GB, free: 76.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004132/1.148, allocations: 1.12 MB / 0.5657 GB, free: 75.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004579/1.153, allocations: 3.711 MB / 0.5693 GB, free: 72.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003487/1.156, allocations: 1.573 MB / 0.5709 GB, free: 72.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/1.167, allocations: 10.59 MB / 0.5812 GB, free: 63.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/1.167, allocations: 4 kB / 0.5812 GB, free: 63.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.953e-06/1.167, allocations: 0 / 0.5812 GB, free: 63.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000406/1.167, allocations: 0 / 0.5812 GB, free: 63.02 MB / 430.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.01755/1.185, allocations: 8.121 MB / 0.5892 GB, free: 55.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/1.185, allocations: 12.03 kB / 0.5892 GB, free: 55.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03341/1.218, allocations: 5.359 MB / 0.5944 GB, free: 50.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01669/1.235, allocations: 8.041 MB / 0.6023 GB, free: 44.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/1.235, allocations: 424 kB / 0.6027 GB, free: 44.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001502/1.237, allocations: 0.586 MB / 0.6032 GB, free: 43.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02668/1.264, allocations: 16.58 MB / 0.6194 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004095/1.264, allocations: 101.1 kB / 0.6195 GB, free: 30.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00118/1.265, allocations: 264.9 kB / 0.6198 GB, free: 30.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003631/1.269, allocations: 2.766 MB / 0.6225 GB, free: 28.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02605/1.295, allocations: 13.63 MB / 0.6358 GB, free: 18.75 MB / 430.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.09872/1.394, allocations: 68.01 MB / 0.7022 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02027/1.414, allocations: 7.926 MB / 0.7099 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006804/1.421, allocations: 4.497 MB / 0.7143 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4393/1.86, allocations: 12.43 MB / 0.7265 GB, free: 199.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.285e-05/1.86, allocations: 70.84 kB / 0.7265 GB, free: 199.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=280): time 8.055e-06/1.86, allocations: 1.281 kB / 0.7265 GB, free: 199.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=340): time 0.1492/2.01, allocations: 50.11 MB / 0.7755 GB, free: 166.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/2.01, allocations: 405.9 kB / 0.7759 GB, free: 166.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01105/2.021, allocations: 7.152 MB / 0.7828 GB, free: 159.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001547/2.022, allocations: 79.03 kB / 0.7829 GB, free: 159.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004156/2.027, allocations: 5.026 MB / 0.7878 GB, free: 154.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002125/2.029, allocations: 1.262 MB / 0.7891 GB, free: 152.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005352/2.029, allocations: 180 kB / 0.7892 GB, free: 152.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003604/2.03, allocations: 0.6865 MB / 0.7899 GB, free: 151.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00536/2.035, allocations: 4.523 MB / 0.7943 GB, free: 147.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007522/2.043, allocations: 9.231 MB / 0.8033 GB, free: 135.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008098/2.051, allocations: 6.271 MB / 0.8095 GB, free: 129.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.048e-05/2.051, allocations: 44 kB / 0.8095 GB, free: 129.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.03582/2.087, allocations: 19.69 MB / 0.8287 GB, free: 109.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/2.087, allocations: 79.95 kB / 0.8288 GB, free: 109.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001717/2.087, allocations: 164 kB / 0.829 GB, free: 109.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01765/2.105, allocations: 7.065 MB / 0.8359 GB, free: 102.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006513/2.111, allocations: 1.922 MB / 0.8377 GB, free: 100.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04329/2.155, allocations: 33.22 MB / 0.8702 GB, free: 67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009967/2.165, allocations: 0.589 MB / 0.8708 GB, free: 66.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002639/2.167, allocations: 0.4918 MB / 0.8712 GB, free: 65.93 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,55.1%) 94,(3,88.9%) 5} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.009649/2.177, allocations: 3.481 MB / 0.8746 GB, free: 62.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001785/2.179, allocations: 0.6402 MB / 0.8753 GB, free: 61.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02486/2.204, allocations: 13.29 MB / 0.8882 GB, free: 48.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-05/2.204, allocations: 36 kB / 0.8883 GB, free: 48.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.465e-05/2.204, allocations: 20 kB / 0.8883 GB, free: 48.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.937e-05/2.204, allocations: 23.09 kB / 0.8883 GB, free: 48.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3557/2.56, allocations: 26.72 MB / 0.9144 GB, free: 177.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.323e-05/2.56, allocations: 6.609 kB / 0.9144 GB, free: 177.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00238/2.562, allocations: 423.6 kB / 0.9148 GB, free: 177.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02067/2.583, allocations: 6.678 MB / 0.9213 GB, free: 177.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008028/2.584, allocations: 64.3 kB / 0.9214 GB, free: 177.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04033/2.624, allocations: 31.95 MB / 0.9526 GB, free: 166.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/2.624, allocations: 10.75 kB / 0.9526 GB, free: 166.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03085/2.655, allocations: 18.73 MB / 0.9709 GB, free: 156.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004053/2.659, allocations: 1.383 MB / 0.9723 GB, free: 155.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002284/2.661, allocations: 68.72 kB / 0.9723 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004294/2.666, allocations: 316.7 kB / 0.9726 GB, free: 155.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008866/2.667, allocations: 243.3 kB / 0.9729 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002814/2.667, allocations: 88 kB / 0.9729 GB, free: 154.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008052/2.675, allocations: 4.564 MB / 0.9774 GB, free: 150.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/2.675, allocations: 0 / 0.9774 GB, free: 150.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01117/2.686, allocations: 2.149 MB / 0.9795 GB, free: 148.1 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,55.1%) 87,(2,100.0%) 4} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009154/2.687, allocations: 217 kB / 0.9797 GB, free: 147.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01893/2.706, allocations: 11.51 MB / 0.9909 GB, free: 136.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/2.706, allocations: 0 / 0.9909 GB, free: 136.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008478/2.715, allocations: 4.993 MB / 0.9958 GB, free: 131.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01121/2.726, allocations: 0.9411 MB / 0.9967 GB, free: 130.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04431/2.77, allocations: 23.03 MB / 1.019 GB, free: 107.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005668/2.776, allocations: 5.47 MB / 1.025 GB, free: 102.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001916/2.778, allocations: 447.3 kB / 1.025 GB, free: 101.8 MB / 494.1 MB Notification: Performance of SimCode: time 2.594e-06/2.778, allocations: 0 / 1.025 GB, free: 101.8 MB / 494.1 MB Notification: Performance of Templates: time 0.5315/3.309, allocations: 206.3 MB / 1.226 GB, free: 80.03 MB / 494.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++ 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_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