Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009166/0.0009167, allocations: 193.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 229.5 MB / 247.7 MB, free: 6.285 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000744/0.0007442, allocations: 95.66 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3129/0.3129, allocations: 45 MB / 397 MB, free: 31.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002744, allocations: 4 kB / 470.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3022, allocations: 63.1 MB / 0.5214 GB, free: 38.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.04354/0.3458, allocations: 57.37 MB / 0.5774 GB, free: 13.22 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0361/0.3819, allocations: 16.84 MB / 0.5938 GB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01441/0.3964, allocations: 275.3 kB / 0.5941 GB, free: 11.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003438/0.3999, allocations: 0.7231 MB / 0.5948 GB, free: 10.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008184/0.4081, allocations: 2.846 MB / 0.5976 GB, free: 7.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003261/0.4114, allocations: 1.377 MB / 0.5989 GB, free: 6.602 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01464/0.426, allocations: 12.45 MB / 0.6111 GB, free: 10.13 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01342/0.4395, allocations: 10.36 MB / 0.6212 GB, free: 15.23 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004946/0.4445, allocations: 2.459 MB / 0.6236 GB, free: 12.76 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00677/0.4513, allocations: 3.967 MB / 0.6275 GB, free: 8.777 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001824/0.4531, allocations: 296 kB / 0.6278 GB, free: 8.488 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004025/0.4572, allocations: 1.517 MB / 0.6292 GB, free: 6.969 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004727/0.4619, allocations: 3.288 MB / 0.6324 GB, free: 3.672 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007692/0.4697, allocations: 3.736 MB / 0.6361 GB, free: 15.9 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01591/0.4856, allocations: 12.59 MB / 0.6484 GB, free: 3.273 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4856, allocations: 3.938 kB / 0.6484 GB, free: 3.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4856, allocations: 0 / 0.6484 GB, free: 3.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006297/0.4863, allocations: 4 kB / 0.6484 GB, free: 3.266 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02023/0.5065, allocations: 7.444 MB / 0.6557 GB, free: 11.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.5066, allocations: 8.031 kB / 0.6557 GB, free: 11.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/0.5231, allocations: 4.198 MB / 0.6598 GB, free: 7.512 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/0.5343, allocations: 4.982 MB / 0.6646 GB, free: 2.445 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004158/0.5347, allocations: 434.9 kB / 0.6651 GB, free: 2.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002169/0.5369, allocations: 0.6049 MB / 0.6656 GB, free: 1.414 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4821/1.019, allocations: 20.63 MB / 0.6858 GB, free: 122.2 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004172/1.019, allocations: 80.55 kB / 0.6859 GB, free: 122.1 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002293/1.022, allocations: 272.4 kB / 0.6861 GB, free: 122 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005324/1.027, allocations: 3.72 MB / 0.6898 GB, free: 121.3 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04081/1.068, allocations: 18.17 MB / 0.7075 GB, free: 115.8 MB / 490.8 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.09527/1.163, allocations: 74.56 MB / 0.7803 GB, free: 50.36 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01572/1.179, allocations: 7.439 MB / 0.7876 GB, free: 42.67 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005532/1.185, allocations: 4.1 MB / 0.7916 GB, free: 38.55 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02865/1.213, allocations: 18.17 MB / 0.8093 GB, free: 19.79 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.56e-05/1.213, allocations: 68.53 kB / 0.8094 GB, free: 19.71 MB / 490.8 MB Notification: Performance of pre-optimization done (n=335): time 8.546e-06/1.213, allocations: 0 / 0.8094 GB, free: 19.71 MB / 490.8 MB Notification: Performance of matching and sorting (n=419): time 0.1126/1.326, allocations: 35.28 MB / 0.8438 GB, free: 276 kB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/1.326, allocations: 200.8 kB / 0.844 GB, free: 36 kB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/1.337, allocations: 6.423 MB / 0.8503 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007284/1.338, allocations: 81.7 kB / 0.8504 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003865/1.342, allocations: 5.368 MB / 0.8556 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002155/1.344, allocations: 1.538 MB / 0.8571 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/1.345, allocations: 216 kB / 0.8573 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001086/1.346, allocations: 0.7687 MB / 0.8581 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01018/1.357, allocations: 4.296 MB / 0.8623 GB, free: 13.23 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01411/1.371, allocations: 10.23 MB / 0.8723 GB, free: 112 kB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2955/1.666, allocations: 15.62 MB / 0.8875 GB, free: 166.2 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002203/1.667, allocations: 59.41 kB / 0.8876 GB, free: 166.2 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03285/1.699, allocations: 16.27 MB / 0.9035 GB, free: 161.4 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001484/1.7, allocations: 92.62 kB / 0.9036 GB, free: 161.4 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003181/1.7, allocations: 211.1 kB / 0.9038 GB, free: 161.4 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007576/1.708, allocations: 2.375 MB / 0.9061 GB, free: 161 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008477/1.716, allocations: 2.462 MB / 0.9085 GB, free: 160.7 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01922/1.735, allocations: 11.91 MB / 0.9201 GB, free: 155.3 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007937/1.743, allocations: 0.593 MB / 0.9207 GB, free: 155.1 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00163/1.745, allocations: 0.5992 MB / 0.9213 GB, free: 155.1 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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 (1316): * Single equations (assignments): 1309 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007477/1.752, allocations: 3.772 MB / 0.925 GB, free: 153.4 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.754, allocations: 0.5899 MB / 0.9255 GB, free: 153.4 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01432/1.768, allocations: 8.3 MB / 0.9336 GB, free: 150.4 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001021/1.768, allocations: 68.81 kB / 0.9337 GB, free: 150.4 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/1.768, allocations: 11.62 kB / 0.9337 GB, free: 150.4 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.967e-05/1.768, allocations: 22.98 kB / 0.9337 GB, free: 150.4 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02975/1.798, allocations: 18.93 MB / 0.9522 GB, free: 137.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.843e-05/1.798, allocations: 12 kB / 0.9522 GB, free: 137.1 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0027/1.801, allocations: 0.624 MB / 0.9528 GB, free: 136.4 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005798/1.806, allocations: 1.808 MB / 0.9546 GB, free: 134.6 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005372/1.807, allocations: 85.02 kB / 0.9547 GB, free: 134.5 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01291/1.82, allocations: 9.998 MB / 0.9645 GB, free: 124.5 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/1.82, allocations: 19.88 kB / 0.9645 GB, free: 124.5 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01805/1.838, allocations: 12.43 MB / 0.9766 GB, free: 111.8 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/1.84, allocations: 0.6393 MB / 0.9772 GB, free: 111.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009149/1.841, allocations: 80.92 kB / 0.9773 GB, free: 111.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002543/1.843, allocations: 201 kB / 0.9775 GB, free: 110.9 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006416/1.844, allocations: 271.6 kB / 0.9778 GB, free: 110.6 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002311/1.844, allocations: 112 kB / 0.9779 GB, free: 110.5 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.00489/1.849, allocations: 3.973 MB / 0.9818 GB, free: 106.6 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.81e-07/1.849, allocations: 0 / 0.9818 GB, free: 106.6 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.007986/1.857, allocations: 1.955 MB / 0.9837 GB, free: 104.6 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * 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 (331): * Single equations (assignments): 324 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007526/1.858, allocations: 298.5 kB / 0.9839 GB, free: 104.3 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01455/1.872, allocations: 10.06 MB / 0.9938 GB, free: 94.3 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/1.872, allocations: 5.75 kB / 0.9938 GB, free: 94.29 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.004293/1.877, allocations: 3.386 MB / 0.9971 GB, free: 90.89 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01379/1.891, allocations: 0.7767 MB / 0.9978 GB, free: 90.12 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02559/1.916, allocations: 21.73 MB / 1.019 GB, free: 68.2 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005618/1.922, allocations: 5.584 MB / 1.025 GB, free: 62.58 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.00814/1.93, allocations: 3.312 MB / 1.028 GB, free: 59.26 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/1.932, allocations: 415.4 kB / 1.028 GB, free: 58.86 MB / 0.5418 GB Notification: Performance of SimCode: time 7.72e-07/1.932, allocations: 4 kB / 1.028 GB, free: 58.85 MB / 0.5418 GB Notification: Performance of Templates: time 0.3364/2.268, allocations: 70.85 MB / 1.097 GB, free: 172.2 MB / 0.5574 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)