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.001374/0.001374, 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.001493/0.001492, 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.827/1.827, allocations: 205.1 MB / 224.6 MB, free: 12.38 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.001943/0.001943, allocations: 51.92 kB / 280.6 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1459, allocations: 46.62 MB / 327.2 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.4372/0.5832, allocations: 114.3 MB / 441.6 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.07295/0.6562, allocations: 22.38 MB / 464 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03527/0.6916, allocations: 0.5104 MB / 464.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01615/0.7078, allocations: 7.987 MB / 472.5 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01283/0.7207, allocations: 3.422 MB / 475.9 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005696/0.7264, allocations: 1.849 MB / 477.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02445/0.7509, allocations: 17.36 MB / 495.1 MB, free: 14.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02023/0.7712, allocations: 10.16 MB / 0.4934 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009499/0.7807, allocations: 3.762 MB / 0.4971 GB, free: 104 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01297/0.7937, allocations: 6.01 MB / 0.503 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004929/0.7987, allocations: 0.6289 MB / 0.5036 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007933/0.8067, allocations: 1.873 MB / 0.5054 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009301/0.816, allocations: 4.734 MB / 0.51 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01381/0.8299, allocations: 5.039 MB / 0.5149 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02176/0.8517, allocations: 14.01 MB / 0.5286 GB, free: 15.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.8518, allocations: 0 / 0.5286 GB, free: 15.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.8518, allocations: 0 / 0.5286 GB, free: 15.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007923/0.8526, allocations: 4 kB / 0.5286 GB, free: 15.72 MB / 446.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.04422/0.8968, allocations: 11.23 MB / 0.5396 GB, free: 4.391 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.8969, allocations: 8.031 kB / 0.5396 GB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5761/1.473, allocations: 5.423 MB / 0.5449 GB, free: 163 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03634/1.509, allocations: 9.153 MB / 0.5538 GB, free: 160.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001386/1.511, allocations: 0.5241 MB / 0.5543 GB, free: 159.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004984/1.516, allocations: 0.7249 MB / 0.5551 GB, free: 159.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05368/1.57, allocations: 19.52 MB / 0.5741 GB, free: 147.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004756/1.57, allocations: 91.17 kB / 0.5742 GB, free: 147.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002791/1.573, allocations: 326.9 kB / 0.5745 GB, free: 146.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003913/1.577, allocations: 2.819 MB / 0.5773 GB, free: 144.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04056/1.617, allocations: 16.25 MB / 0.5931 GB, free: 127.9 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.1326/1.75, allocations: 74.58 MB / 0.666 GB, free: 51.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02395/1.774, allocations: 8.469 MB / 0.6742 GB, free: 42.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007723/1.782, allocations: 4.774 MB / 0.6789 GB, free: 37.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03095/1.813, allocations: 15.41 MB / 0.6939 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001043/1.813, allocations: 68.66 kB / 0.694 GB, free: 21.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=319): time 1.396e-05/1.813, allocations: 0 / 0.694 GB, free: 21.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=419): time 0.5043/2.318, allocations: 50.44 MB / 0.7433 GB, free: 141.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002934/2.318, allocations: 411.9 kB / 0.7437 GB, free: 140.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0143/2.332, allocations: 7.65 MB / 0.7511 GB, free: 138.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001522/2.334, allocations: 85.52 kB / 0.7512 GB, free: 138.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004523/2.338, allocations: 5.622 MB / 0.7567 GB, free: 133.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003097/2.341, allocations: 1.535 MB / 0.7582 GB, free: 132 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003608/2.345, allocations: 2.085 MB / 0.7602 GB, free: 130.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/2.345, allocations: 305.1 kB / 0.7605 GB, free: 130.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006654/2.352, allocations: 5.115 MB / 0.7655 GB, free: 125.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009009/2.361, allocations: 10.2 MB / 0.7755 GB, free: 112.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01808/2.379, allocations: 16.13 MB / 0.7912 GB, free: 94.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001829/2.379, allocations: 55.92 kB / 0.7913 GB, free: 94.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=1332) (initialization): time 0.04502/2.424, allocations: 20.87 MB / 0.8117 GB, free: 73.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003479/2.425, allocations: 80 kB / 0.8117 GB, free: 73.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004427/2.425, allocations: 172 kB / 0.8119 GB, free: 73.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01968/2.445, allocations: 6.45 MB / 0.8182 GB, free: 66.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00807/2.453, allocations: 2.152 MB / 0.8203 GB, free: 64.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05391/2.507, allocations: 31.42 MB / 0.851 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01316/2.52, allocations: 0.617 MB / 0.8516 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003472/2.524, allocations: 0.539 MB / 0.8521 GB, free: 31.89 MB / 446.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 (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 {(3,124,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01312/2.537, allocations: 4.105 MB / 0.8561 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004189/2.541, allocations: 0.6935 MB / 0.8568 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03385/2.575, allocations: 13.85 MB / 0.8703 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.246e-05/2.575, allocations: 43.75 kB / 0.8704 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.575e-05/2.575, allocations: 24 kB / 0.8704 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001224/2.575, allocations: 19.94 kB / 0.8704 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3741/2.949, allocations: 27.18 MB / 0.897 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001014/2.95, allocations: 11.61 kB / 0.897 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002857/2.952, allocations: 0.5391 MB / 0.8975 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0183/2.971, allocations: 5.959 MB / 0.9033 GB, free: 126 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001362/2.972, allocations: 78.72 kB / 0.9034 GB, free: 126 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0398/3.012, allocations: 28.2 MB / 0.9309 GB, free: 107.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/3.012, allocations: 15.69 kB / 0.9309 GB, free: 107.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0349/3.047, allocations: 20 MB / 0.9505 GB, free: 87.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005488/3.053, allocations: 1.538 MB / 0.952 GB, free: 86.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00282/3.055, allocations: 76 kB / 0.952 GB, free: 86.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007199/3.063, allocations: 323.2 kB / 0.9523 GB, free: 86.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001644/3.064, allocations: 294.8 kB / 0.9526 GB, free: 85.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006686/3.065, allocations: 112 kB / 0.9527 GB, free: 85.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.01049/3.075, allocations: 4.89 MB / 0.9575 GB, free: 80.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.31e-07/3.075, allocations: 0 / 0.9575 GB, free: 80.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01522/3.091, allocations: 2.417 MB / 0.9599 GB, free: 78.55 MB / 446.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 (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 {(3,111,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001855/3.093, allocations: 277.6 kB / 0.9601 GB, free: 78.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02153/3.114, allocations: 12.39 MB / 0.9722 GB, free: 66.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-05/3.114, allocations: 4 kB / 0.9722 GB, free: 66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01186/3.126, allocations: 5.102 MB / 0.9772 GB, free: 60.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01472/3.141, allocations: 1.007 MB / 0.9782 GB, free: 59.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06815/3.209, allocations: 27.47 MB / 1.005 GB, free: 32.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0126/3.222, allocations: 6.302 MB / 1.011 GB, free: 26.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002775/3.225, allocations: 499.4 kB / 1.012 GB, free: 25.65 MB / 446.1 MB Notification: Performance of SimCode: time 3.346e-06/3.225, allocations: 0 / 1.012 GB, free: 25.65 MB / 446.1 MB Notification: Performance of Templates: time 0.5162/3.741, allocations: 163.6 MB / 1.171 GB, free: 25.54 MB / 462.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++ -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.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