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.001158/0.001158, allocations: 97.45 kB / 17.96 MB, free: 5.77 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.00172/0.001721, allocations: 176.8 kB / 18.86 MB, free: 4.906 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.898/1.898, allocations: 205.4 MB / 225 MB, free: 13.07 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.0004758/0.0004758, allocations: 12 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.137, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.4063/0.5433, allocations: 111.7 MB / 441.3 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.07589/0.6193, allocations: 22.32 MB / 463.6 MB, free: 388 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03719/0.6565, allocations: 0.5026 MB / 464.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004426/0.661, allocations: 0.8083 MB / 464.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01362/0.6747, allocations: 3.426 MB / 468.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005919/0.6806, allocations: 1.851 MB / 470.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.03178/0.7124, allocations: 17.37 MB / 487.6 MB, free: 8.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02564/0.7382, allocations: 14.41 MB / 0.4902 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009298/0.7475, allocations: 3.016 MB / 0.4932 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01109/0.7587, allocations: 5.089 MB / 0.4982 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003857/0.7626, allocations: 340 kB / 0.4985 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006677/0.7693, allocations: 1.568 MB / 0.5 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008692/0.7781, allocations: 4.274 MB / 0.5042 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01224/0.7904, allocations: 4.509 MB / 0.5086 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02345/0.8139, allocations: 13.66 MB / 0.5219 GB, free: 9.273 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.814, allocations: 0 / 0.5219 GB, free: 9.273 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.814, allocations: 0 / 0.5219 GB, free: 9.273 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007676/0.8148, allocations: 4 kB / 0.5219 GB, free: 9.27 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.5307/1.345, allocations: 9.253 MB / 0.531 GB, free: 147.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/1.346, allocations: 9.625 kB / 0.531 GB, free: 147.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05375/1.399, allocations: 5.535 MB / 0.5364 GB, free: 147.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0294/1.429, allocations: 9.143 MB / 0.5453 GB, free: 143.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006763/1.429, allocations: 0.5273 MB / 0.5458 GB, free: 143.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004706/1.434, allocations: 0.7314 MB / 0.5465 GB, free: 142.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04961/1.484, allocations: 19.59 MB / 0.5657 GB, free: 124.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000496/1.484, allocations: 91.2 kB / 0.5658 GB, free: 124.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002909/1.487, allocations: 329.4 kB / 0.5661 GB, free: 124.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004127/1.491, allocations: 2.821 MB / 0.5688 GB, free: 121.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03741/1.529, allocations: 16.32 MB / 0.5848 GB, free: 105.4 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.1265/1.655, allocations: 74.65 MB / 0.6577 GB, free: 29.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02384/1.679, allocations: 8.524 MB / 0.666 GB, free: 20.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008994/1.688, allocations: 4.758 MB / 0.6706 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0296/1.718, allocations: 15.41 MB / 0.6857 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.702e-05/1.718, allocations: 76.58 kB / 0.6858 GB, free: 15.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=319): time 7.855e-06/1.718, allocations: 0 / 0.6858 GB, free: 15.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=419): time 0.4899/2.208, allocations: 50.62 MB / 0.7352 GB, free: 141.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002776/2.209, allocations: 400.3 kB / 0.7356 GB, free: 141 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01858/2.227, allocations: 7.646 MB / 0.743 GB, free: 133.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001597/2.229, allocations: 93.7 kB / 0.7431 GB, free: 133.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004437/2.233, allocations: 5.618 MB / 0.7486 GB, free: 127.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002769/2.236, allocations: 1.53 MB / 0.7501 GB, free: 126.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001932/2.238, allocations: 0.9164 MB / 0.751 GB, free: 125.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.185e-05/2.238, allocations: 309.1 kB / 0.7513 GB, free: 125.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006893/2.245, allocations: 5.115 MB / 0.7563 GB, free: 120.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009825/2.255, allocations: 10.2 MB / 0.7663 GB, free: 107.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02009/2.275, allocations: 16.14 MB / 0.782 GB, free: 88.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002644/2.275, allocations: 48 kB / 0.7821 GB, free: 88.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=1332) (initialization): time 0.05129/2.327, allocations: 20.87 MB / 0.8024 GB, free: 67.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003327/2.327, allocations: 80 kB / 0.8025 GB, free: 67.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004423/2.327, allocations: 174.7 kB / 0.8027 GB, free: 67.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01995/2.347, allocations: 6.464 MB / 0.809 GB, free: 61.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007789/2.355, allocations: 2.152 MB / 0.8111 GB, free: 59.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04902/2.404, allocations: 31.45 MB / 0.8418 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01195/2.416, allocations: 0.6215 MB / 0.8424 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002807/2.419, allocations: 0.534 MB / 0.8429 GB, free: 26.37 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.01193/2.431, allocations: 4.106 MB / 0.847 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003009/2.434, allocations: 0.6942 MB / 0.8476 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3274/2.762, allocations: 13.84 MB / 0.8611 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001917/2.762, allocations: 41.84 kB / 0.8612 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.071e-05/2.762, allocations: 23.59 kB / 0.8612 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001094/2.762, allocations: 21.55 kB / 0.8612 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06356/2.826, allocations: 27.18 MB / 0.8878 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.86e-05/2.826, allocations: 7.875 kB / 0.8878 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002968/2.829, allocations: 0.5503 MB / 0.8883 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01884/2.847, allocations: 5.961 MB / 0.8941 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001443/2.849, allocations: 73.09 kB / 0.8942 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04682/2.896, allocations: 28.23 MB / 0.9218 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-05/2.896, allocations: 19.38 kB / 0.9218 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04178/2.938, allocations: 20 MB / 0.9413 GB, free: 81.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006827/2.945, allocations: 1.542 MB / 0.9428 GB, free: 80.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004645/2.949, allocations: 80.53 kB / 0.9429 GB, free: 80.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007123/2.956, allocations: 322.1 kB / 0.9432 GB, free: 80.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002026/2.958, allocations: 302 kB / 0.9435 GB, free: 79.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001022/2.96, allocations: 111.5 kB / 0.9436 GB, free: 79.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.01139/2.971, allocations: 4.898 MB / 0.9484 GB, free: 74.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/2.971, allocations: 0 / 0.9484 GB, free: 74.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01634/2.987, allocations: 2.408 MB / 0.9507 GB, free: 72.48 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.001995/2.989, allocations: 278.2 kB / 0.951 GB, free: 72.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02277/3.012, allocations: 12.38 MB / 0.9631 GB, free: 59.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.911e-05/3.012, allocations: 4 kB / 0.9631 GB, free: 59.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009804/3.022, allocations: 5.103 MB / 0.9681 GB, free: 54.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02086/3.043, allocations: 1.023 MB / 0.9691 GB, free: 53.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06792/3.111, allocations: 27.54 MB / 0.996 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01289/3.124, allocations: 6.304 MB / 1.002 GB, free: 19.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003312/3.127, allocations: 499.4 kB / 1.003 GB, free: 19.41 MB / 446.1 MB Notification: Performance of SimCode: time 1.893e-06/3.127, allocations: 0 / 1.003 GB, free: 19.41 MB / 446.1 MB Notification: Performance of Templates: time 0.4808/3.608, allocations: 161.9 MB / 1.161 GB, free: 23.11 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