Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.001491, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.001428/0.001428, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.801/1.801, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001282/0.001282, allocations: 55.92 kB / 280.6 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1418, allocations: 46.62 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.456/0.5978, allocations: 111.5 MB / 438.8 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.07527/0.6732, allocations: 21.29 MB / 460 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03377/0.707, allocations: 0.5026 MB / 460.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01298/0.7201, allocations: 6.37 MB / 466.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.7324, allocations: 3.278 MB / 470.2 MB, free: 7.094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005185/0.7376, allocations: 1.537 MB / 471.7 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02461/0.7622, allocations: 16.35 MB / 488.1 MB, free: 5.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01428/0.7765, allocations: 7.902 MB / 496 MB, free: 13.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01134/0.7879, allocations: 3.403 MB / 499.4 MB, free: 9.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01106/0.7991, allocations: 5.32 MB / 0.4929 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00409/0.8032, allocations: 0.5 MB / 0.4934 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005911/0.8092, allocations: 1.529 MB / 0.4949 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007839/0.817, allocations: 4.2 MB / 0.499 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01106/0.8281, allocations: 4.42 MB / 0.5033 GB, free: 9.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01637/0.8445, allocations: 11.27 MB / 0.5143 GB, free: 14.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.8446, allocations: 3.984 kB / 0.5143 GB, free: 14.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.8446, allocations: 3.938 kB / 0.5143 GB, free: 14.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005397/0.8451, allocations: 0 / 0.5143 GB, free: 14.46 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: 2489 * Number of variables: 2489 Notification: Performance of Generate backend data structure: time 0.03152/0.8767, allocations: 10.05 MB / 0.5241 GB, free: 4.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.8768, allocations: 15.97 kB / 0.5241 GB, free: 4.297 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04189/0.9187, allocations: 5.283 MB / 0.5293 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02551/0.9443, allocations: 8.373 MB / 0.5375 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005667/0.9449, allocations: 444.2 kB / 0.5379 GB, free: 6.098 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003481/0.9484, allocations: 0.6126 MB / 0.5385 GB, free: 5.484 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5213/1.47, allocations: 17.13 MB / 0.5552 GB, free: 158 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004285/1.47, allocations: 104.6 kB / 0.5553 GB, free: 158 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009552/1.471, allocations: 279.8 kB / 0.5556 GB, free: 157.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005356/1.476, allocations: 2.859 MB / 0.5584 GB, free: 157.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03099/1.507, allocations: 14.03 MB / 0.5721 GB, free: 151.2 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.1035/1.611, allocations: 69.44 MB / 0.6399 GB, free: 80.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01843/1.629, allocations: 7.47 MB / 0.6472 GB, free: 73.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007206/1.637, allocations: 4.463 MB / 0.6515 GB, free: 68.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03045/1.667, allocations: 12.75 MB / 0.664 GB, free: 55.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.573e-05/1.667, allocations: 64.56 kB / 0.664 GB, free: 55.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=293): time 8.626e-06/1.667, allocations: 0 / 0.664 GB, free: 55.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=365): time 0.1525/1.82, allocations: 43.53 MB / 0.7065 GB, free: 12.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002192/1.82, allocations: 406.2 kB / 0.7069 GB, free: 11.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01322/1.833, allocations: 7.389 MB / 0.7142 GB, free: 4.277 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001184/1.835, allocations: 85.08 kB / 0.7142 GB, free: 4.191 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3384/2.173, allocations: 5.232 MB / 0.7193 GB, free: 148.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002773/2.176, allocations: 1.348 MB / 0.7207 GB, free: 148.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004522/2.18, allocations: 1.936 MB / 0.7225 GB, free: 148 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.425e-05/2.18, allocations: 306.4 kB / 0.7228 GB, free: 147.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009171/2.19, allocations: 4.28 MB / 0.727 GB, free: 146.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0129/2.203, allocations: 9.195 MB / 0.736 GB, free: 138.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01986/2.222, allocations: 14.24 MB / 0.7499 GB, free: 128.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002677/2.223, allocations: 50 kB / 0.75 GB, free: 128.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.04163/2.264, allocations: 18.01 MB / 0.7675 GB, free: 121.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004002/2.265, allocations: 76 kB / 0.7676 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004992/2.265, allocations: 171.9 kB / 0.7678 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01608/2.281, allocations: 5.323 MB / 0.773 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007914/2.289, allocations: 2.012 MB / 0.7749 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04363/2.333, allocations: 29 MB / 0.8033 GB, free: 86.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/2.345, allocations: 0.5539 MB / 0.8038 GB, free: 85.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003009/2.348, allocations: 0.5078 MB / 0.8043 GB, free: 85.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 762 * Number of states: 0 () * Number of discrete variables: 72 (Rod3.color[3],Rod3.color[2],Rod3.color[1],Rod1.color[3],Rod1.color[2],Rod1.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.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 (1102): * Single equations (assignments): 1096 * 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 {(6,100,72.2%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.01324/2.361, allocations: 3.628 MB / 0.8078 GB, free: 81.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003431/2.364, allocations: 0.6635 MB / 0.8085 GB, free: 80.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02906/2.393, allocations: 11.26 MB / 0.8195 GB, free: 69.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001005/2.394, allocations: 40 kB / 0.8195 GB, free: 69.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-05/2.394, allocations: 23.98 kB / 0.8195 GB, free: 69.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001149/2.394, allocations: 19.88 kB / 0.8196 GB, free: 69.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05386/2.448, allocations: 22.16 MB / 0.8412 GB, free: 47.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.487e-05/2.448, allocations: 12.19 kB / 0.8412 GB, free: 47.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002219/2.45, allocations: 455.1 kB / 0.8417 GB, free: 46.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01423/2.464, allocations: 5.027 MB / 0.8466 GB, free: 41.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00112/2.466, allocations: 68 kB / 0.8466 GB, free: 41.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04041/2.506, allocations: 28.4 MB / 0.8744 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/2.506, allocations: 16.59 kB / 0.8744 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3366/2.843, allocations: 16.48 MB / 0.8905 GB, free: 130.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004736/2.847, allocations: 1.341 MB / 0.8918 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001292/2.849, allocations: 72.17 kB / 0.8919 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003191/2.852, allocations: 266.9 kB / 0.8921 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000998/2.853, allocations: 262.4 kB / 0.8924 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002914/2.853, allocations: 102.5 kB / 0.8925 GB, free: 130 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007382/2.861, allocations: 4.729 MB / 0.8971 GB, free: 128.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/2.861, allocations: 0 / 0.8971 GB, free: 128.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01444/2.875, allocations: 2.181 MB / 0.8992 GB, free: 128.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (241): * Single equations (assignments): 235 * 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 {(5,96,72.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001182/2.876, allocations: 230.7 kB / 0.8994 GB, free: 128.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01986/2.896, allocations: 10.83 MB / 0.91 GB, free: 124 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.068e-05/2.896, allocations: 7.031 kB / 0.91 GB, free: 124 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007733/2.904, allocations: 4.468 MB / 0.9144 GB, free: 122.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01195/2.916, allocations: 0.9755 MB / 0.9153 GB, free: 121.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04652/2.963, allocations: 23.78 MB / 0.9386 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006901/2.969, allocations: 5.682 MB / 0.9441 GB, free: 98.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/2.971, allocations: 471.4 kB / 0.9445 GB, free: 97.66 MB / 446.1 MB Notification: Performance of SimCode: time 1.533e-06/2.972, allocations: 4 kB / 0.9446 GB, free: 97.66 MB / 446.1 MB Notification: Performance of Templates: time 0.497/3.469, allocations: 213.2 MB / 1.153 GB, free: 38.56 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.Engine1bCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1bCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1bCalcHelperMain.o] Error 1