Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 178.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 225.7 MB / 243.9 MB, free: 8.477 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007459/0.0007461, allocations: 90.25 kB / 295.1 MB, free: 9.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3803/0.3803, allocations: 44.32 MB / 390.5 MB, free: 37.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.000487, allocations: 8 kB / 463.1 MB, free: 248 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3889, allocations: 61.9 MB / 0.5127 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.04769/0.4367, allocations: 57.35 MB / 0.5687 GB, free: 13.3 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03941/0.4761, allocations: 16.44 MB / 0.5848 GB, free: 464 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01591/0.4921, allocations: 271.6 kB / 0.5851 GB, free: 420 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003424/0.4955, allocations: 0.7288 MB / 0.5858 GB, free: 136 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.5062, allocations: 2.854 MB / 0.5886 GB, free: 14.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004532/0.5108, allocations: 1.375 MB / 0.5899 GB, free: 13.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01893/0.5298, allocations: 12.23 MB / 0.6018 GB, free: 1.727 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01698/0.5468, allocations: 10.38 MB / 0.612 GB, free: 6.793 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006855/0.5537, allocations: 2.467 MB / 0.6144 GB, free: 4.316 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007171/0.5609, allocations: 3.964 MB / 0.6183 GB, free: 348 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001958/0.5629, allocations: 292 kB / 0.6185 GB, free: 56 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005464/0.5684, allocations: 1.533 MB / 0.62 GB, free: 14.52 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004971/0.5734, allocations: 3.284 MB / 0.6232 GB, free: 11.23 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0059/0.5794, allocations: 3.724 MB / 0.6269 GB, free: 7.473 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.5941, allocations: 12.6 MB / 0.6392 GB, free: 10.82 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.5942, allocations: 0 / 0.6392 GB, free: 10.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5942, allocations: 4 kB / 0.6392 GB, free: 10.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004836/0.5947, allocations: 0 / 0.6392 GB, free: 10.82 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.01854/0.6132, allocations: 7.423 MB / 0.6464 GB, free: 3.312 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.6133, allocations: 8.031 kB / 0.6464 GB, free: 3.305 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01678/0.6301, allocations: 4.198 MB / 0.6505 GB, free: 15.09 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01213/0.6423, allocations: 5.091 MB / 0.6555 GB, free: 9.914 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003952/0.6427, allocations: 434.9 kB / 0.6559 GB, free: 9.488 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002349/0.645, allocations: 0.6009 MB / 0.6565 GB, free: 8.887 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03949/0.6846, allocations: 20.62 MB / 0.6767 GB, free: 3.121 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002459/0.6848, allocations: 79.3 kB / 0.6767 GB, free: 3.043 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001198/0.686, allocations: 271.7 kB / 0.677 GB, free: 2.777 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.5308/1.217, allocations: 3.709 MB / 0.6806 GB, free: 124 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03861/1.255, allocations: 18.18 MB / 0.6984 GB, free: 118.9 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.1008/1.356, allocations: 74.55 MB / 0.7712 GB, free: 61.04 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01591/1.372, allocations: 7.433 MB / 0.7784 GB, free: 53.35 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005472/1.378, allocations: 4.115 MB / 0.7824 GB, free: 49.21 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02791/1.406, allocations: 18.17 MB / 0.8002 GB, free: 30.48 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.98e-05/1.406, allocations: 64.53 kB / 0.8003 GB, free: 30.41 MB / 490.8 MB Notification: Performance of pre-optimization done (n=335): time 7.264e-06/1.406, allocations: 0 / 0.8003 GB, free: 30.41 MB / 490.8 MB Notification: Performance of matching and sorting (n=419): time 0.118/1.524, allocations: 35.28 MB / 0.8347 GB, free: 10.99 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/1.524, allocations: 196.9 kB / 0.8349 GB, free: 10.76 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01331/1.537, allocations: 6.416 MB / 0.8412 GB, free: 4.34 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009506/1.538, allocations: 85.7 kB / 0.8412 GB, free: 4.25 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005026/1.544, allocations: 5.365 MB / 0.8465 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002815/1.546, allocations: 1.545 MB / 0.848 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/1.548, allocations: 216 kB / 0.8482 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001124/1.549, allocations: 0.7726 MB / 0.8489 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008524/1.558, allocations: 4.292 MB / 0.8531 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01352/1.571, allocations: 10.23 MB / 0.8631 GB, free: 10.95 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02005/1.591, allocations: 15.64 MB / 0.8784 GB, free: 8.387 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001718/1.591, allocations: 60 kB / 0.8785 GB, free: 8.328 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.3332/1.925, allocations: 16.26 MB / 0.8943 GB, free: 165.9 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/1.925, allocations: 95.12 kB / 0.8944 GB, free: 165.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002847/1.925, allocations: 207.8 kB / 0.8946 GB, free: 165.9 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007545/1.933, allocations: 2.37 MB / 0.8969 GB, free: 165.6 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008272/1.941, allocations: 2.469 MB / 0.8994 GB, free: 165.6 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01759/1.959, allocations: 11.9 MB / 0.911 GB, free: 160.3 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008491/1.967, allocations: 0.5929 MB / 0.9116 GB, free: 160.1 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002255/1.969, allocations: 0.5984 MB / 0.9121 GB, free: 160 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.008212/1.978, allocations: 3.769 MB / 0.9158 GB, free: 158.5 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001444/1.979, allocations: 0.5903 MB / 0.9164 GB, free: 158.5 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01831/1.997, allocations: 8.297 MB / 0.9245 GB, free: 155.5 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000117/1.998, allocations: 68.23 kB / 0.9246 GB, free: 155.5 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.964e-05/1.998, allocations: 14.34 kB / 0.9246 GB, free: 155.5 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.721e-05/1.998, allocations: 18.58 kB / 0.9246 GB, free: 155.5 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03713/2.035, allocations: 18.93 MB / 0.9431 GB, free: 148.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.799e-05/2.035, allocations: 16.98 kB / 0.9431 GB, free: 148.2 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002841/2.038, allocations: 0.6219 MB / 0.9437 GB, free: 148.1 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00608/2.044, allocations: 1.808 MB / 0.9455 GB, free: 147.8 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004896/2.044, allocations: 80.69 kB / 0.9456 GB, free: 147.7 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01353/2.058, allocations: 10 MB / 0.9553 GB, free: 139.9 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/2.058, allocations: 22.91 kB / 0.9553 GB, free: 139.9 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01885/2.077, allocations: 12.43 MB / 0.9675 GB, free: 127.5 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/2.079, allocations: 0.6379 MB / 0.9681 GB, free: 126.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009251/2.079, allocations: 80.53 kB / 0.9682 GB, free: 126.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002407/2.082, allocations: 197.1 kB / 0.9684 GB, free: 126.6 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006257/2.083, allocations: 269.6 kB / 0.9686 GB, free: 126.3 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/2.083, allocations: 113.5 kB / 0.9687 GB, free: 126.2 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.005581/2.088, allocations: 3.977 MB / 0.9726 GB, free: 122.2 MB / 0.5418 GB Notification: Performance of sort global known variables: time 3.4e-07/2.088, allocations: 2.719 kB / 0.9726 GB, free: 122.2 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.009451/2.098, allocations: 1.955 MB / 0.9745 GB, free: 120.3 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.001071/2.099, allocations: 295 kB / 0.9748 GB, free: 120 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01605/2.115, allocations: 10.06 MB / 0.9846 GB, free: 110 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/2.115, allocations: 4 kB / 0.9846 GB, free: 110 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.004672/2.12, allocations: 3.385 MB / 0.9879 GB, free: 106.6 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0148/2.135, allocations: 0.7778 MB / 0.9887 GB, free: 105.8 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02886/2.163, allocations: 21.72 MB / 1.01 GB, free: 83.88 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008401/2.172, allocations: 5.58 MB / 1.015 GB, free: 78.26 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.009514/2.181, allocations: 3.315 MB / 1.019 GB, free: 74.94 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/2.184, allocations: 419.4 kB / 1.019 GB, free: 74.53 MB / 0.5418 GB Notification: Performance of SimCode: time 1.614e-06/2.184, allocations: 2.516 kB / 1.019 GB, free: 74.53 MB / 0.5418 GB Notification: Performance of Templates: time 0.3681/2.552, allocations: 70.8 MB / 1.088 GB, free: 161.4 MB / 0.5418 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)