Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 95.39 kB / 16.95 MB, free: 5.953 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.001775/0.001775, allocations: 181.5 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 241.9 MB, free: 14.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003295, allocations: 11.98 kB / 301.5 MB, free: 6.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1358, allocations: 50.42 MB / 351.9 MB, free: 3.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.2894/0.4253, allocations: 34.96 MB / 386.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0261/0.4515, allocations: 7.999 MB / 394.8 MB, free: 2.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01012/0.4617, allocations: 167.1 kB / 395 MB, free: 2.812 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007674/0.4694, allocations: 1.788 MB / 396.8 MB, free: 2.176 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02032/0.4897, allocations: 5.5 MB / 402.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.4936, allocations: 0.6278 MB / 402.9 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009102/0.5027, allocations: 4.681 MB / 407.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007376/0.5102, allocations: 3.355 MB / 411 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004042/0.5142, allocations: 1.245 MB / 412.2 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004378/0.5187, allocations: 2.006 MB / 414.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001402/0.5201, allocations: 148 kB / 414.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003183/0.5233, allocations: 0.7216 MB / 415.1 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00321/0.5266, allocations: 1.632 MB / 416.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002092/0.5287, allocations: 0.792 MB / 417.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006944/0.5356, allocations: 4.845 MB / 422.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5357, allocations: 0 / 422.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5357, allocations: 0 / 422.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002454/0.5359, allocations: 0 / 422.3 MB, free: 13.97 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1469 * Number of variables: 1469 Notification: Performance of Generate backend data structure: time 0.008658/0.5446, allocations: 3.851 MB / 426.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.5447, allocations: 12.03 kB / 426.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007052/0.5517, allocations: 1.971 MB / 428.2 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005778/0.5575, allocations: 2.203 MB / 430.4 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/0.5578, allocations: 229.6 kB / 430.6 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007552/0.5585, allocations: 295.8 kB / 430.9 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02167/0.5802, allocations: 9.632 MB / 440.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001423/0.5804, allocations: 51.58 kB / 440.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004272/0.5809, allocations: 147.8 kB / 440.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003028/0.5839, allocations: 1.919 MB / 442.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01758/0.6015, allocations: 7.606 MB / 450.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06236/0.6639, allocations: 37.74 MB / 488 MB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007852/0.6719, allocations: 2.883 MB / 490.9 MB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/0.6738, allocations: 0.8658 MB / 491.7 MB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008854/0.6827, allocations: 3.755 MB / 495.5 MB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.983e-05/0.6829, allocations: 51.16 kB / 495.5 MB, free: 2.316 MB / 398.1 MB Notification: Performance of pre-optimization done (n=134): time 7.314e-06/0.6829, allocations: 0 / 495.5 MB, free: 2.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=152): time 0.02651/0.7094, allocations: 9.018 MB / 0.4927 GB, free: 9.172 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.7096, allocations: 145.5 kB / 0.4929 GB, free: 9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00978/0.7194, allocations: 3.904 MB / 0.4967 GB, free: 5.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003843/0.7198, allocations: 45.7 kB / 0.4967 GB, free: 5.062 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003363/0.7232, allocations: 3.082 MB / 0.4997 GB, free: 1.941 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001029/0.7243, allocations: 0.6018 MB / 0.5003 GB, free: 1.332 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003177/0.7246, allocations: 116 kB / 0.5004 GB, free: 1.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004808/0.7251, allocations: 0.5579 MB / 0.501 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003087/0.7282, allocations: 1.557 MB / 0.5025 GB, free: 15.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006403/0.7346, allocations: 5.335 MB / 0.5077 GB, free: 7.855 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005963/0.7406, allocations: 2.815 MB / 0.5105 GB, free: 5.047 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001712/0.7409, allocations: 36 kB / 0.5105 GB, free: 5.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01987/0.7608, allocations: 6.62 MB / 0.517 GB, free: 14.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003527/0.7612, allocations: 60 kB / 0.517 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004851/0.7617, allocations: 140 kB / 0.5172 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/0.7622, allocations: 196 kB / 0.5173 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005935/0.7681, allocations: 1.384 MB / 0.5187 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004734/0.7687, allocations: 259 kB / 0.5189 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006162/0.7748, allocations: 291.7 kB / 0.5192 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001439/0.7763, allocations: 364 kB / 0.5196 GB, free: 11.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.boxColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 743 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006575/0.7829, allocations: 1.974 MB / 0.5215 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/0.7844, allocations: 339.6 kB / 0.5218 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004397/0.7888, allocations: 1.242 MB / 0.523 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.726e-05/0.7889, allocations: 16 kB / 0.523 GB, free: 8.129 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-05/0.7889, allocations: 0 / 0.523 GB, free: 8.129 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-05/0.789, allocations: 8.453 kB / 0.5231 GB, free: 8.121 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01967/0.8086, allocations: 5.741 MB / 0.5287 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.033e-05/0.8088, allocations: 16 kB / 0.5287 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.8102, allocations: 284.4 kB / 0.5289 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.154e-05/0.8102, allocations: 28 kB / 0.529 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002345/0.8105, allocations: 59.92 kB / 0.529 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.416e-05/0.8105, allocations: 35.86 kB / 0.5291 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.79e-05/0.8106, allocations: 27.88 kB / 0.5291 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3326/1.143, allocations: 3.202 MB / 0.5322 GB, free: 144.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/1.145, allocations: 413.1 kB / 0.5326 GB, free: 144.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003375/1.145, allocations: 52.27 kB / 0.5327 GB, free: 144.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/1.146, allocations: 57.09 kB / 0.5327 GB, free: 144.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/1.146, allocations: 151.3 kB / 0.5329 GB, free: 144.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/1.146, allocations: 67.08 kB / 0.5329 GB, free: 144.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005349/1.152, allocations: 2.413 MB / 0.5353 GB, free: 144.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.61e-07/1.152, allocations: 0.8125 kB / 0.5353 GB, free: 144.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00608/1.158, allocations: 0.87 MB / 0.5361 GB, free: 144.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 82 * Number of states: 4 (p1.s,p1.v,p2.s,p2.v) * 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 (142): * Single equations (assignments): 139 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005576/1.158, allocations: 199.6 kB / 0.5363 GB, free: 144.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007784/1.166, allocations: 3.611 MB / 0.5398 GB, free: 143 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-05/1.166, allocations: 2.188 kB / 0.5398 GB, free: 143 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/1.168, allocations: 0.7245 MB / 0.5406 GB, free: 142.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003788/1.171, allocations: 450.8 kB / 0.541 GB, free: 142.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02158/1.193, allocations: 10.57 MB / 0.5513 GB, free: 136.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003507/1.197, allocations: 3.097 MB / 0.5543 GB, free: 135.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008419/1.197, allocations: 274.6 kB / 0.5546 GB, free: 135.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.894e-06/1.197, allocations: 0 / 0.5546 GB, free: 135.5 MB / 446.1 MB Notification: Performance of Templates: time 0.07855/1.276, allocations: 50.66 MB / 0.6041 GB, free: 91.84 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemCalcHelperMain.o] Error 1