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.001833/0.001834, allocations: 103.2 kB / 16.52 MB, free: 6.723 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.002017/0.002017, allocations: 191.7 kB / 17.44 MB, free: 6.055 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.919/1.919, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.2604/0.2604, allocations: 43.52 MB / 314.2 MB, free: 0.7461 MB / 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.001528/0.001528, allocations: 68.61 kB / 382.7 MB, free: 57.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1583, allocations: 57.78 MB / 440.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.05647/0.2149, allocations: 58.26 MB / 498.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03518/0.2501, allocations: 12.31 MB / 0.4991 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01874/0.2689, allocations: 251.4 kB / 0.4993 GB, free: 440 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009261/0.2783, allocations: 4.153 MB / 0.5034 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009689/0.288, allocations: 2.596 MB / 0.5059 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003642/0.2917, allocations: 1.17 MB / 0.507 GB, free: 8.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0153/0.307, allocations: 10.52 MB / 0.5173 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009329/0.3164, allocations: 5.747 MB / 0.5229 GB, free: 8.125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006422/0.3229, allocations: 2.355 MB / 0.5252 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007465/0.3304, allocations: 4 MB / 0.5291 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00209/0.3325, allocations: 416 kB / 0.5295 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.372/0.7045, allocations: 1.638 MB / 0.5311 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006667/0.7112, allocations: 3.178 MB / 0.5342 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009708/0.7209, allocations: 3.633 MB / 0.5378 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02208/0.743, allocations: 9.777 MB / 0.5473 GB, free: 11.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.283e-05/0.7431, allocations: 0.5312 kB / 0.5473 GB, free: 11.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.7431, allocations: 3.625 kB / 0.5473 GB, free: 11.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0009561/0.7441, allocations: 2.406 kB / 0.5473 GB, free: 11.44 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.04724/0.7914, allocations: 7.897 MB / 0.555 GB, free: 8.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.435e-05/0.7914, allocations: 10.19 kB / 0.5551 GB, free: 8.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02046/0.8119, allocations: 3.937 MB / 0.5589 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01689/0.8289, allocations: 4.407 MB / 0.5632 GB, free: 7.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007982/0.8297, allocations: 408.6 kB / 0.5636 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005131/0.8349, allocations: 0.5553 MB / 0.5641 GB, free: 7.152 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05924/0.8941, allocations: 18.87 MB / 0.5826 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008697/0.8951, allocations: 73.27 kB / 0.5826 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004765/0.8999, allocations: 246.3 kB / 0.5829 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006373/0.9063, allocations: 3.426 MB / 0.5862 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04454/0.9509, allocations: 16.63 MB / 0.6025 GB, free: 15.06 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.129/1.08, allocations: 66.93 MB / 0.6678 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01918/1.099, allocations: 6.278 MB / 0.6739 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005911/1.105, allocations: 2.818 MB / 0.6767 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03566/1.141, allocations: 13.86 MB / 0.6902 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.637e-05/1.141, allocations: 60.56 kB / 0.6903 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 7.665e-06/1.141, allocations: 0 / 0.6903 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of matching and sorting (n=345): time 0.1054/1.246, allocations: 25.09 MB / 0.7148 GB, free: 10.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/1.247, allocations: 195.3 kB / 0.715 GB, free: 10.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01897/1.266, allocations: 5.908 MB / 0.7207 GB, free: 4.137 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001064/1.267, allocations: 76.75 kB / 0.7208 GB, free: 4.059 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006291/1.273, allocations: 4.964 MB / 0.7257 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002832/1.276, allocations: 1.285 MB / 0.7269 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009203/1.285, allocations: 1.904 MB / 0.7288 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.285, allocations: 305.1 kB / 0.7291 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008727/1.294, allocations: 3.353 MB / 0.7323 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3649/1.659, allocations: 8.873 MB / 0.741 GB, free: 221.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02324/1.682, allocations: 13.18 MB / 0.7539 GB, free: 213.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003148/1.683, allocations: 55.31 kB / 0.7539 GB, free: 213.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03348/1.716, allocations: 12.99 MB / 0.7666 GB, free: 208.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007536/1.717, allocations: 86.34 kB / 0.7667 GB, free: 208.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009136/1.718, allocations: 193 kB / 0.7669 GB, free: 208.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00542/1.723, allocations: 1.329 MB / 0.7682 GB, free: 208.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009052/1.733, allocations: 2.201 MB / 0.7703 GB, free: 208.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/1.745, allocations: 7.29 MB / 0.7775 GB, free: 203.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009874/1.754, allocations: 0.5039 MB / 0.778 GB, free: 203.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002589/1.757, allocations: 0.5522 MB / 0.7785 GB, free: 203 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.01014/1.767, allocations: 3.463 MB / 0.7819 GB, free: 200 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001923/1.769, allocations: 0.5239 MB / 0.7824 GB, free: 199.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/1.783, allocations: 5.396 MB / 0.7877 GB, free: 195.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.308e-05/1.783, allocations: 40.55 kB / 0.7877 GB, free: 195.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-05/1.783, allocations: 4 kB / 0.7877 GB, free: 195.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.545e-05/1.783, allocations: 22.47 kB / 0.7877 GB, free: 195.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04134/1.825, allocations: 14.01 MB / 0.8014 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.007e-05/1.825, allocations: 14.02 kB / 0.8014 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002471/1.827, allocations: 0.4919 MB / 0.8019 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003247/1.83, allocations: 0.8141 MB / 0.8027 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006555/1.831, allocations: 69.39 kB / 0.8028 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008547/1.84, allocations: 5.341 MB / 0.808 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.438e-05/1.84, allocations: 20.75 kB / 0.808 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01911/1.859, allocations: 8.293 MB / 0.8161 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003625/1.863, allocations: 0.9313 MB / 0.817 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002104/1.865, allocations: 65.08 kB / 0.8171 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003569/1.868, allocations: 133.3 kB / 0.8172 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007783/1.869, allocations: 221.4 kB / 0.8174 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004392/1.87, allocations: 102.4 kB / 0.8175 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.008906/1.878, allocations: 3.678 MB / 0.8211 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.2e-07/1.878, allocations: 4 kB / 0.8211 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01217/1.891, allocations: 1.651 MB / 0.8227 GB, free: 161.8 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.001399/1.892, allocations: 267.2 kB / 0.823 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01746/1.91, allocations: 7.887 MB / 0.8307 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-05/1.91, allocations: 0 / 0.8307 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005367/1.915, allocations: 2.373 MB / 0.833 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00942/1.925, allocations: 0.6735 MB / 0.8336 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03762/1.962, allocations: 19.59 MB / 0.8528 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008682/1.971, allocations: 5.153 MB / 0.8578 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002216/1.973, allocations: 451.4 kB / 0.8582 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/1.973, allocations: 0 / 0.8582 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.4842/2.457, allocations: 126.2 MB / 0.9815 GB, free: 203.1 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