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.001188/0.001188, allocations: 100.1 kB / 17.96 MB, free: 5.621 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.00139/0.00139, allocations: 178.4 kB / 18.86 MB, free: 4.773 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.894/1.894, allocations: 205.4 MB / 225 MB, free: 13.06 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.0004907/0.0004907, allocations: 16 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1348, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.4521/0.587, allocations: 101 MB / 430.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.07379/0.6608, allocations: 19.9 MB / 450.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03522/0.6962, allocations: 470.8 kB / 451 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004233/0.7005, allocations: 0.7033 MB / 451.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01296/0.7135, allocations: 3.197 MB / 454.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004427/0.7179, allocations: 1.463 MB / 456.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02501/0.7429, allocations: 15.89 MB / 472.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01671/0.7597, allocations: 10.31 MB / 482.6 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007822/0.7676, allocations: 2.72 MB / 485.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009803/0.7774, allocations: 4.458 MB / 489.7 MB, free: 6.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001861/0.7793, allocations: 283.9 kB / 490 MB, free: 5.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004302/0.7836, allocations: 1.303 MB / 491.3 MB, free: 4.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005022/0.7887, allocations: 3.732 MB / 495 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007702/0.7964, allocations: 3.88 MB / 498.9 MB, free: 12.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01817/0.8146, allocations: 10.6 MB / 0.4976 GB, free: 2.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.8147, allocations: 0 / 0.4976 GB, free: 2.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.287e-06/0.8147, allocations: 0 / 0.4976 GB, free: 2.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005388/0.8152, allocations: 0 / 0.4976 GB, free: 2.262 MB / 398.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.02501/0.8402, allocations: 8.024 MB / 0.5054 GB, free: 10.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.978e-05/0.8403, allocations: 12.03 kB / 0.5054 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04908/0.8894, allocations: 5.361 MB / 0.5107 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0222/0.9117, allocations: 8.191 MB / 0.5187 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005468/0.9123, allocations: 427.4 kB / 0.5191 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003182/0.9155, allocations: 0.5853 MB / 0.5196 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.512/1.427, allocations: 16.62 MB / 0.5359 GB, free: 143.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008005/1.428, allocations: 100.5 kB / 0.536 GB, free: 143.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002446/1.431, allocations: 263.9 kB / 0.5362 GB, free: 143.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006307/1.437, allocations: 2.767 MB / 0.5389 GB, free: 143.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04191/1.479, allocations: 13.69 MB / 0.5523 GB, free: 138.5 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.1088/1.588, allocations: 68.05 MB / 0.6187 GB, free: 72.83 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02021/1.608, allocations: 7.934 MB / 0.6265 GB, free: 64.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006439/1.615, allocations: 4.506 MB / 0.6309 GB, free: 60.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02891/1.644, allocations: 12.43 MB / 0.643 GB, free: 47.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/1.644, allocations: 64.56 kB / 0.6431 GB, free: 47.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=280): time 7.604e-06/1.644, allocations: 0 / 0.6431 GB, free: 47.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=340): time 0.496/2.14, allocations: 50.09 MB / 0.692 GB, free: 133.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003587/2.14, allocations: 403.1 kB / 0.6924 GB, free: 133 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01727/2.158, allocations: 7.185 MB / 0.6994 GB, free: 131.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001291/2.159, allocations: 78.64 kB / 0.6995 GB, free: 131.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004799/2.164, allocations: 5.034 MB / 0.7044 GB, free: 128.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002896/2.167, allocations: 1.263 MB / 0.7056 GB, free: 128 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001563/2.168, allocations: 0.8049 MB / 0.7064 GB, free: 127.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.035e-05/2.168, allocations: 306 kB / 0.7067 GB, free: 127.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008245/2.177, allocations: 4.549 MB / 0.7112 GB, free: 125.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009997/2.187, allocations: 9.268 MB / 0.7202 GB, free: 117.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02121/2.208, allocations: 14.54 MB / 0.7344 GB, free: 107.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003955/2.208, allocations: 46.16 kB / 0.7344 GB, free: 107.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04984/2.258, allocations: 19.78 MB / 0.7538 GB, free: 93.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003502/2.259, allocations: 76.25 kB / 0.7538 GB, free: 93.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004503/2.259, allocations: 160 kB / 0.754 GB, free: 92.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02122/2.28, allocations: 7.052 MB / 0.7609 GB, free: 85.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007822/2.288, allocations: 1.931 MB / 0.7628 GB, free: 83.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0504/2.339, allocations: 33.22 MB / 0.7952 GB, free: 50.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01161/2.35, allocations: 0.5929 MB / 0.7958 GB, free: 49.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002494/2.353, allocations: 499.9 kB / 0.7963 GB, free: 49.21 MB / 430.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.009442/2.362, allocations: 3.495 MB / 0.7997 GB, free: 45.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002524/2.365, allocations: 0.6364 MB / 0.8003 GB, free: 45.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03053/2.395, allocations: 13.32 MB / 0.8133 GB, free: 31.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/2.395, allocations: 36.55 kB / 0.8133 GB, free: 31.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001219/2.396, allocations: 20 kB / 0.8134 GB, free: 31.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001324/2.396, allocations: 19.88 kB / 0.8134 GB, free: 31.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06019/2.456, allocations: 26.75 MB / 0.8395 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-05/2.456, allocations: 7.938 kB / 0.8395 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/2.458, allocations: 423.3 kB / 0.8399 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.325/2.783, allocations: 6.681 MB / 0.8464 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001306/2.785, allocations: 58.66 kB / 0.8465 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05099/2.836, allocations: 31.98 MB / 0.8777 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.998e-06/2.836, allocations: 11.47 kB / 0.8777 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03715/2.873, allocations: 18.77 MB / 0.8961 GB, free: 116.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005401/2.878, allocations: 1.389 MB / 0.8974 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00297/2.881, allocations: 63.94 kB / 0.8975 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005782/2.887, allocations: 311.8 kB / 0.8978 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001135/2.888, allocations: 244.6 kB / 0.898 GB, free: 115.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003139/2.889, allocations: 92.5 kB / 0.8981 GB, free: 115.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.009461/2.898, allocations: 4.61 MB / 0.9026 GB, free: 111.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.41e-07/2.898, allocations: 0 / 0.9026 GB, free: 111.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01331/2.912, allocations: 2.142 MB / 0.9047 GB, free: 109.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.001401/2.913, allocations: 211.7 kB / 0.9049 GB, free: 109.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01967/2.933, allocations: 11.57 MB / 0.9162 GB, free: 97.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/2.933, allocations: 0 / 0.9162 GB, free: 97.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009226/2.942, allocations: 5.011 MB / 0.9211 GB, free: 92.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01787/2.96, allocations: 0.9411 MB / 0.922 GB, free: 91.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04973/3.01, allocations: 23.91 MB / 0.9454 GB, free: 68.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008574/3.018, allocations: 5.47 MB / 0.9507 GB, free: 62.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002166/3.02, allocations: 443.4 kB / 0.9511 GB, free: 62.14 MB / 446.1 MB Notification: Performance of SimCode: time 1.673e-06/3.02, allocations: 4 kB / 0.9511 GB, free: 62.13 MB / 446.1 MB Notification: Performance of Templates: time 0.5929/3.613, allocations: 205.6 MB / 1.152 GB, free: 1.379 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