Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.0008993/0.0008996, allocations: 91.67 kB / 17.58 MB, free: 5.805 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.001127/0.001127, allocations: 180.5 kB / 18.48 MB, free: 5.254 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.705/1.705, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004439/0.0004439, allocations: 12 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1104, allocations: 47.58 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.3612/0.4716, allocations: 103.8 MB / 432.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.06476/0.5364, allocations: 21.46 MB / 454.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03182/0.5683, allocations: 0.5026 MB / 454.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02429/0.5926, allocations: 5.338 MB / 460.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05539/0.6481, allocations: 15.79 MB / 475.9 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009125/0.6572, allocations: 1.717 MB / 477.6 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.5071/1.164, allocations: 99.38 MB / 0.5635 GB, free: 64.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02087/1.185, allocations: 12.77 MB / 0.5759 GB, free: 56.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008845/1.194, allocations: 3.252 MB / 0.5791 GB, free: 54.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0118/1.206, allocations: 5.067 MB / 0.5841 GB, free: 50.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004418/1.211, allocations: 340 kB / 0.5844 GB, free: 50.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005993/1.217, allocations: 1.336 MB / 0.5857 GB, free: 49.31 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006646/1.223, allocations: 4.244 MB / 0.5898 GB, free: 46.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005661/1.229, allocations: 1.844 MB / 0.5916 GB, free: 45.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01729/1.246, allocations: 13.66 MB / 0.605 GB, free: 33.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.447e-05/1.246, allocations: 0 / 0.605 GB, free: 33.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.878e-06/1.246, allocations: 0 / 0.605 GB, free: 33.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000692/1.247, allocations: 0 / 0.605 GB, free: 33.64 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: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.03005/1.277, allocations: 9.376 MB / 0.6141 GB, free: 24.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.572e-05/1.277, allocations: 8.031 kB / 0.6141 GB, free: 24.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03968/1.317, allocations: 5.538 MB / 0.6196 GB, free: 19.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02115/1.338, allocations: 8.991 MB / 0.6283 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005108/1.339, allocations: 0.5184 MB / 0.6288 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003841/1.343, allocations: 0.7275 MB / 0.6295 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04295/1.386, allocations: 19.53 MB / 0.6486 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004211/1.386, allocations: 101.3 kB / 0.6487 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001734/1.388, allocations: 328.5 kB / 0.649 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004191/1.392, allocations: 2.819 MB / 0.6518 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04057/1.433, allocations: 16.24 MB / 0.6676 GB, free: 13.21 MB / 462.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.6018/2.034, allocations: 74.6 MB / 0.7405 GB, free: 157.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0219/2.056, allocations: 8.519 MB / 0.7488 GB, free: 156.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006904/2.063, allocations: 4.751 MB / 0.7535 GB, free: 156.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02315/2.087, allocations: 15.41 MB / 0.7685 GB, free: 148 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.634e-05/2.087, allocations: 64.19 kB / 0.7686 GB, free: 147.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=319): time 7.344e-06/2.087, allocations: 5.125 kB / 0.7686 GB, free: 147.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1532/2.24, allocations: 50.63 MB / 0.818 GB, free: 103.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/2.24, allocations: 418.3 kB / 0.8184 GB, free: 103.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/2.251, allocations: 7.597 MB / 0.8258 GB, free: 95.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001255/2.252, allocations: 96.67 kB / 0.8259 GB, free: 95.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00334/2.256, allocations: 5.608 MB / 0.8314 GB, free: 90.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002293/2.258, allocations: 1.528 MB / 0.8329 GB, free: 88.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006949/2.259, allocations: 208.6 kB / 0.8331 GB, free: 88.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003994/2.259, allocations: 0.7321 MB / 0.8338 GB, free: 87.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00655/2.266, allocations: 5.088 MB / 0.8388 GB, free: 82.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009683/2.275, allocations: 10.16 MB / 0.8487 GB, free: 70.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009663/2.285, allocations: 7.044 MB / 0.8556 GB, free: 63.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/2.285, allocations: 48 kB / 0.8556 GB, free: 63.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=1332) (initialization): time 0.03857/2.324, allocations: 20.78 MB / 0.8759 GB, free: 42.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/2.324, allocations: 80 kB / 0.876 GB, free: 42.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001764/2.324, allocations: 183.9 kB / 0.8762 GB, free: 42.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01664/2.341, allocations: 6.471 MB / 0.8825 GB, free: 35.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0072/2.348, allocations: 2.152 MB / 0.8846 GB, free: 33.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04281/2.391, allocations: 31.42 MB / 0.9153 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009043/2.4, allocations: 0.6249 MB / 0.9159 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00207/2.402, allocations: 0.5398 MB / 0.9164 GB, free: 0.707 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 784 * 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],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],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.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],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.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 (1180): * Single equations (assignments): 1175 * 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%) 124} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2665/2.668, allocations: 4.099 MB / 0.9204 GB, free: 177.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002135/2.671, allocations: 0.6905 MB / 0.9211 GB, free: 177.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03072/2.701, allocations: 13.83 MB / 0.9346 GB, free: 176.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001254/2.702, allocations: 44.28 kB / 0.9346 GB, free: 176.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.047e-05/2.702, allocations: 27.38 kB / 0.9346 GB, free: 176.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.77e-05/2.702, allocations: 17.95 kB / 0.9347 GB, free: 176.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05339/2.755, allocations: 27.13 MB / 0.9612 GB, free: 165.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.8e-05/2.755, allocations: 9.531 kB / 0.9612 GB, free: 165.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002666/2.758, allocations: 0.544 MB / 0.9617 GB, free: 165.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0163/2.774, allocations: 5.96 MB / 0.9675 GB, free: 161.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001433/2.776, allocations: 84.11 kB / 0.9676 GB, free: 161 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04053/2.816, allocations: 28.19 MB / 0.9951 GB, free: 132.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/2.816, allocations: 17.44 kB / 0.9952 GB, free: 132.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03562/2.852, allocations: 19.94 MB / 1.015 GB, free: 113.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004661/2.857, allocations: 1.548 MB / 1.016 GB, free: 111.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002745/2.859, allocations: 81.39 kB / 1.016 GB, free: 111.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005023/2.864, allocations: 319.2 kB / 1.017 GB, free: 111.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001449/2.866, allocations: 295.1 kB / 1.017 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007391/2.867, allocations: 117.2 kB / 1.017 GB, free: 110.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01163/2.878, allocations: 4.847 MB / 1.022 GB, free: 106.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.21e-07/2.878, allocations: 0 / 1.022 GB, free: 106.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01375/2.892, allocations: 2.411 MB / 1.024 GB, free: 103.7 MB / 494.1 MB 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 (292): * Single equations (assignments): 288 * 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%) 111} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001532/2.894, allocations: 254.8 kB / 1.024 GB, free: 103.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02121/2.915, allocations: 12.34 MB / 1.036 GB, free: 91.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-05/2.915, allocations: 4 kB / 1.036 GB, free: 91.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008392/2.923, allocations: 5.092 MB / 1.041 GB, free: 86.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01024/2.934, allocations: 1.02 MB / 1.042 GB, free: 85.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0555/2.989, allocations: 26.53 MB / 1.068 GB, free: 58.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00781/2.997, allocations: 6.304 MB / 1.074 GB, free: 52.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002632/3, allocations: 487.4 kB / 1.075 GB, free: 51.91 MB / 494.1 MB Notification: Performance of SimCode: time 1.472e-06/3, allocations: 4 kB / 1.075 GB, free: 51.91 MB / 494.1 MB Notification: Performance of Templates: time 0.4605/3.46, allocations: 162.7 MB / 1.234 GB, free: 58.45 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analyticCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analyticCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analyticCalcHelperMain.o] Error 1