Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000955/0.0009551, allocations: 94.02 kB / 16.67 MB, free: 6.105 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: 179.8 kB / 17.57 MB, free: 5.82 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.948/1.948, allocations: 205.4 MB / 223.8 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2786/0.2786, allocations: 43.59 MB / 315.6 MB, free: 424 kB / 254.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.0006131/0.0006137, allocations: 17.2 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1518, allocations: 58.87 MB / 444.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.06043/0.2123, allocations: 56.77 MB / 0.4891 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03608/0.2484, allocations: 12.23 MB / 0.5011 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01665/0.2651, allocations: 251.4 kB / 0.5013 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003333/0.2685, allocations: 0.6765 MB / 0.502 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.2792, allocations: 2.608 MB / 0.5045 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003786/0.283, allocations: 1.162 MB / 0.5056 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01621/0.2993, allocations: 10.53 MB / 0.5159 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01503/0.3144, allocations: 7.831 MB / 0.5236 GB, free: 8.703 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005797/0.3202, allocations: 2.004 MB / 0.5255 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007302/0.3275, allocations: 3.539 MB / 0.529 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002608/0.3302, allocations: 264 kB / 0.5292 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005633/0.3358, allocations: 1.498 MB / 0.5307 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3907/0.7266, allocations: 2.961 MB / 0.5336 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01286/0.7395, allocations: 3.383 MB / 0.5369 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01869/0.7582, allocations: 9.556 MB / 0.5462 GB, free: 11.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.7583, allocations: 0 / 0.5462 GB, free: 11.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.349e-06/0.7583, allocations: 1.312 kB / 0.5462 GB, free: 11.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006264/0.759, allocations: 0 / 0.5462 GB, free: 11.29 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.03338/0.7924, allocations: 6.446 MB / 0.5525 GB, free: 8.391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.769e-05/0.7925, allocations: 16 kB / 0.5525 GB, free: 8.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03422/0.8267, allocations: 4.034 MB / 0.5565 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02036/0.8471, allocations: 4.403 MB / 0.5608 GB, free: 7.102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001091/0.8483, allocations: 402.8 kB / 0.5612 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005805/0.8541, allocations: 0.5469 MB / 0.5617 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07989/0.9341, allocations: 18.93 MB / 0.5802 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007712/0.9349, allocations: 63.62 kB / 0.5802 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004539/0.9395, allocations: 253.7 kB / 0.5805 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007884/0.9474, allocations: 3.423 MB / 0.5838 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04628/0.9938, allocations: 16.69 MB / 0.6001 GB, free: 3.152 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.1279/1.122, allocations: 66.88 MB / 0.6654 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02031/1.142, allocations: 6.277 MB / 0.6716 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005906/1.148, allocations: 2.818 MB / 0.6743 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03295/1.181, allocations: 13.82 MB / 0.6878 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.741e-05/1.181, allocations: 66.55 kB / 0.6879 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 9.709e-06/1.181, allocations: 0 / 0.6879 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of matching and sorting (n=345): time 0.11/1.291, allocations: 25.3 MB / 0.7126 GB, free: 14.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/1.291, allocations: 187.3 kB / 0.7128 GB, free: 13.92 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01621/1.308, allocations: 5.916 MB / 0.7186 GB, free: 8.027 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0011/1.309, allocations: 73.7 kB / 0.7186 GB, free: 7.949 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005267/1.314, allocations: 4.957 MB / 0.7235 GB, free: 2.992 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00249/1.317, allocations: 1.281 MB / 0.7247 GB, free: 1.723 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003487/1.32, allocations: 0.8126 MB / 0.7255 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.32, allocations: 309.1 kB / 0.7258 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008248/1.328, allocations: 3.357 MB / 0.7291 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01522/1.344, allocations: 8.869 MB / 0.7377 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4309/1.775, allocations: 13.18 MB / 0.7506 GB, free: 214.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003065/1.775, allocations: 55.09 kB / 0.7507 GB, free: 214.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03448/1.81, allocations: 13 MB / 0.7634 GB, free: 209.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/1.81, allocations: 90.83 kB / 0.7634 GB, free: 209.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00036/1.81, allocations: 191.6 kB / 0.7636 GB, free: 209.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004495/1.815, allocations: 1.328 MB / 0.7649 GB, free: 209.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009156/1.824, allocations: 2.203 MB / 0.7671 GB, free: 209 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/1.837, allocations: 7.281 MB / 0.7742 GB, free: 205.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01214/1.849, allocations: 0.5089 MB / 0.7747 GB, free: 205.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003466/1.853, allocations: 0.5601 MB / 0.7752 GB, free: 205 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.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 (1179): * Single equations (assignments): 1172 * Array equations: 6 * 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 {(2,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01328/1.866, allocations: 3.456 MB / 0.7786 GB, free: 202.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002183/1.868, allocations: 0.5254 MB / 0.7791 GB, free: 202 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/1.883, allocations: 5.403 MB / 0.7844 GB, free: 197.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.461e-05/1.883, allocations: 36 kB / 0.7844 GB, free: 197.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.909e-05/1.883, allocations: 8 kB / 0.7844 GB, free: 197.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-05/1.883, allocations: 19.31 kB / 0.7845 GB, free: 197.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04301/1.926, allocations: 14.02 MB / 0.7981 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.423e-05/1.927, allocations: 12 kB / 0.7982 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002524/1.929, allocations: 0.4938 MB / 0.7986 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003395/1.933, allocations: 0.813 MB / 0.7994 GB, free: 184.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006432/1.933, allocations: 71.98 kB / 0.7995 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009881/1.943, allocations: 5.351 MB / 0.8047 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.22e-05/1.943, allocations: 19.88 kB / 0.8047 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01881/1.962, allocations: 8.289 MB / 0.8128 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003642/1.966, allocations: 0.9469 MB / 0.8138 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002022/1.968, allocations: 65.56 kB / 0.8138 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003719/1.971, allocations: 133.4 kB / 0.814 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007071/1.972, allocations: 213.5 kB / 0.8142 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003356/1.973, allocations: 101.6 kB / 0.8143 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.009886/1.982, allocations: 3.682 MB / 0.8179 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.61e-07/1.982, allocations: 0 / 0.8179 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01247/1.995, allocations: 1.652 MB / 0.8195 GB, free: 164 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.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 (269): * Single equations (assignments): 262 * Array equations: 6 * 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 {(2,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001538/1.996, allocations: 271.6 kB / 0.8197 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01522/2.012, allocations: 7.891 MB / 0.8274 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/2.012, allocations: 0 / 0.8274 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004775/2.017, allocations: 2.372 MB / 0.8297 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01392/2.031, allocations: 0.6738 MB / 0.8304 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03401/2.065, allocations: 19.66 MB / 0.8496 GB, free: 133 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008089/2.073, allocations: 5.153 MB / 0.8546 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002228/2.075, allocations: 451.4 kB / 0.8551 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.533e-06/2.075, allocations: 0 / 0.8551 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.5335/2.609, allocations: 124.8 MB / 0.977 GB, free: 205.9 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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 OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSRCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSRCalcHelperMain.o] Error 1