Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, 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.001741/0.001741, 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.876/1.876, 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.001246/0.001246, allocations: 48.22 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1316, allocations: 46.64 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.04347/0.1751, allocations: 42.2 MB / 369.5 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02835/0.2035, allocations: 9.161 MB / 378.6 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01373/0.2174, allocations: 179.6 kB / 378.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3085/0.5259, allocations: 2.563 MB / 381.4 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007299/0.5333, allocations: 1.631 MB / 383 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003596/0.5369, allocations: 0.6273 MB / 383.6 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0111/0.548, allocations: 5.342 MB / 389 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008179/0.5562, allocations: 3.534 MB / 392.5 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004753/0.561, allocations: 1.324 MB / 393.8 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005131/0.5662, allocations: 2.089 MB / 395.9 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001926/0.5681, allocations: 231.2 kB / 396.1 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004862/0.573, allocations: 1.118 MB / 397.2 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004627/0.5777, allocations: 1.766 MB / 399 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007456/0.5851, allocations: 2.073 MB / 401.1 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008243/0.5934, allocations: 5.228 MB / 406.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.5935, allocations: 3.562 kB / 406.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.5935, allocations: 0 / 406.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004375/0.5939, allocations: 3.938 kB / 406.3 MB, free: 4.582 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01696/0.6109, allocations: 4.571 MB / 410.9 MB, free: 1.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.611, allocations: 9.25 kB / 410.9 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007856/0.6188, allocations: 1.879 MB / 412.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005999/0.6249, allocations: 2.04 MB / 414.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003768/0.6253, allocations: 251.3 kB / 415.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00193/0.6272, allocations: 399.3 kB / 415.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02566/0.6529, allocations: 10.06 MB / 425.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000294/0.6532, allocations: 42.03 kB / 425.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001573/0.6548, allocations: 161.8 kB / 425.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003515/0.6584, allocations: 1.86 MB / 427.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02247/0.6809, allocations: 8.32 MB / 435.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06418/0.7451, allocations: 39.39 MB / 475.3 MB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/0.7567, allocations: 4.008 MB / 479.3 MB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00252/0.7593, allocations: 1.424 MB / 480.7 MB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0137/0.773, allocations: 7.628 MB / 488.3 MB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.807e-05/0.7732, allocations: 54.38 kB / 488.4 MB, free: 4.316 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 5.59e-06/0.7732, allocations: 0 / 488.4 MB, free: 4.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.04024/0.8134, allocations: 12.41 MB / 0.4891 GB, free: 7.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00203/0.8155, allocations: 1.589 MB / 0.4906 GB, free: 6.016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007712/0.8232, allocations: 3.82 MB / 0.4944 GB, free: 2.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000493/0.8238, allocations: 49.7 kB / 0.4944 GB, free: 2.152 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003357/0.8271, allocations: 3.108 MB / 0.4974 GB, free: 15.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001138/0.8283, allocations: 0.6458 MB / 0.4981 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00217/0.8305, allocations: 1.259 MB / 0.4993 GB, free: 13.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.8306, allocations: 305.2 kB / 0.4996 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003713/0.8344, allocations: 2.034 MB / 0.5016 GB, free: 10.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007171/0.8415, allocations: 5.97 MB / 0.5074 GB, free: 2.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01247/0.8541, allocations: 8.619 MB / 0.5158 GB, free: 8.906 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001846/0.8543, allocations: 40 kB / 0.5159 GB, free: 8.867 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02754/0.8819, allocations: 9.734 MB / 0.5254 GB, free: 15.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.882, allocations: 68 kB / 0.5254 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01135/0.8934, allocations: 3.74 MB / 0.5291 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01176/0.9052, allocations: 2.613 MB / 0.5316 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004817/0.91, allocations: 1.365 MB / 0.533 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2965/1.207, allocations: 7.183 MB / 0.54 GB, free: 172 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006208/1.213, allocations: 398.9 kB / 0.5404 GB, free: 172 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/1.214, allocations: 388.1 kB / 0.5407 GB, free: 172 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.004647/1.219, allocations: 2.011 MB / 0.5427 GB, free: 171.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008948/1.22, allocations: 330 kB / 0.543 GB, free: 171.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007062/1.227, allocations: 3.135 MB / 0.5461 GB, free: 171.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006382/1.233, allocations: 2.679 MB / 0.5487 GB, free: 170.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/1.233, allocations: 3.516 kB / 0.5487 GB, free: 170.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.822e-05/1.233, allocations: 8.078 kB / 0.5487 GB, free: 170.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/1.25, allocations: 8.565 MB / 0.5571 GB, free: 167.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.25, allocations: 4.469 kB / 0.5571 GB, free: 167.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008584/1.251, allocations: 192.6 kB / 0.5573 GB, free: 167.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004322/1.255, allocations: 1.432 MB / 0.5587 GB, free: 167.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/1.255, allocations: 42.72 kB / 0.5587 GB, free: 167.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005359/1.261, allocations: 5.697 MB / 0.5643 GB, free: 163.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008677/1.262, allocations: 1.454 MB / 0.5657 GB, free: 162 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008753/1.27, allocations: 5.304 MB / 0.5709 GB, free: 160.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/1.272, allocations: 383.3 kB / 0.5712 GB, free: 160 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/1.272, allocations: 27.61 kB / 0.5712 GB, free: 160 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/1.273, allocations: 117.9 kB / 0.5714 GB, free: 160 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003658/1.274, allocations: 95.19 kB / 0.5714 GB, free: 160 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.274, allocations: 43.8 kB / 0.5715 GB, free: 160 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004213/1.278, allocations: 2.35 MB / 0.5738 GB, free: 159.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/1.278, allocations: 0 / 0.5738 GB, free: 159.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005791/1.284, allocations: 1.032 MB / 0.5748 GB, free: 159.1 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004972/1.285, allocations: 171.7 kB / 0.575 GB, free: 159 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008832/1.293, allocations: 5.48 MB / 0.5803 GB, free: 155.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.293, allocations: 0 / 0.5803 GB, free: 155.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00353/1.297, allocations: 2.024 MB / 0.5823 GB, free: 153.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/1.3, allocations: 380.8 kB / 0.5826 GB, free: 153.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/1.318, allocations: 11.41 MB / 0.5938 GB, free: 141.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002791/1.32, allocations: 3.107 MB / 0.5968 GB, free: 138.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/1.321, allocations: 263.4 kB / 0.5971 GB, free: 138.5 MB / 462.1 MB Notification: Performance of SimCode: time 9.31e-07/1.321, allocations: 0 / 0.5971 GB, free: 138.5 MB / 462.1 MB Notification: Performance of Templates: time 0.419/1.74, allocations: 143.4 MB / 0.7371 GB, free: 161.9 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.Elementary.ThreeSpringsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o] Error 1