Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001016, allocations: 176.2 kB / 16.08 MB, free: 5.598 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.6 MB / 222.4 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008695/0.0008699, allocations: 91.98 kB / 270.8 MB, free: 8.117 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3835/0.3835, allocations: 43.67 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002988, allocations: 12 kB / 432.3 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.116, allocations: 58.85 MB / 491.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.2643/0.3803, allocations: 57.44 MB / 0.5357 GB, free: 9.586 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0316/0.412, allocations: 16.41 MB / 0.5518 GB, free: 12.78 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01629/0.4283, allocations: 270 kB / 0.552 GB, free: 12.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00321/0.4316, allocations: 0.7318 MB / 0.5527 GB, free: 12.46 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01018/0.4418, allocations: 2.863 MB / 0.5555 GB, free: 11.2 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004118/0.446, allocations: 1.384 MB / 0.5569 GB, free: 10.65 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01814/0.4642, allocations: 12.02 MB / 0.5686 GB, free: 7.25 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01625/0.4805, allocations: 10.4 MB / 0.5788 GB, free: 14.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006999/0.4875, allocations: 2.487 MB / 0.5812 GB, free: 12.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008009/0.4956, allocations: 3.983 MB / 0.5851 GB, free: 8.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002505/0.4981, allocations: 292 kB / 0.5854 GB, free: 7.785 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005515/0.5037, allocations: 1.517 MB / 0.5869 GB, free: 6.266 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005933/0.5096, allocations: 3.299 MB / 0.5901 GB, free: 2.957 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007902/0.5176, allocations: 3.743 MB / 0.5937 GB, free: 15.18 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01941/0.537, allocations: 12.6 MB / 0.6061 GB, free: 2.535 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.5371, allocations: 4 kB / 0.6061 GB, free: 2.531 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5371, allocations: 0 / 0.6061 GB, free: 2.531 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006189/0.5378, allocations: 0 / 0.6061 GB, free: 2.531 MB / 426.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.02492/0.5627, allocations: 7.436 MB / 0.6133 GB, free: 11.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/0.5628, allocations: 8.031 kB / 0.6133 GB, free: 11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02384/0.5866, allocations: 4.202 MB / 0.6174 GB, free: 6.785 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01561/0.6023, allocations: 5.287 MB / 0.6226 GB, free: 1.414 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006194/0.603, allocations: 438.9 kB / 0.623 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003103/0.6061, allocations: 0.601 MB / 0.6236 GB, free: 392 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05343/0.6595, allocations: 20.63 MB / 0.6437 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002225/0.6598, allocations: 79.25 kB / 0.6438 GB, free: 10.54 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001017/0.6608, allocations: 271.7 kB / 0.6441 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005488/0.6663, allocations: 3.718 MB / 0.6477 GB, free: 6.551 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03764/0.704, allocations: 18.17 MB / 0.6655 GB, free: 4.359 MB / 490.7 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.5213/1.225, allocations: 74.57 MB / 0.7383 GB, free: 79.75 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01889/1.244, allocations: 7.451 MB / 0.7455 GB, free: 76.73 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005719/1.25, allocations: 4.094 MB / 0.7495 GB, free: 75.08 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02512/1.275, allocations: 18.17 MB / 0.7673 GB, free: 65 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/1.275, allocations: 71.56 kB / 0.7674 GB, free: 64.93 MB / 490.8 MB Notification: Performance of pre-optimization done (n=335): time 6.042e-06/1.275, allocations: 3.938 kB / 0.7674 GB, free: 64.93 MB / 490.8 MB Notification: Performance of matching and sorting (n=419): time 0.1042/1.379, allocations: 35.37 MB / 0.8019 GB, free: 32.35 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/1.38, allocations: 196.9 kB / 0.8021 GB, free: 32.12 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008023/1.388, allocations: 6.463 MB / 0.8084 GB, free: 25.65 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007555/1.388, allocations: 85.7 kB / 0.8085 GB, free: 25.56 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002613/1.391, allocations: 5.368 MB / 0.8137 GB, free: 20.2 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001539/1.393, allocations: 1.546 MB / 0.8152 GB, free: 18.66 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004373/1.393, allocations: 212 kB / 0.8154 GB, free: 18.46 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003784/1.393, allocations: 0.7727 MB / 0.8162 GB, free: 17.68 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005307/1.399, allocations: 4.288 MB / 0.8204 GB, free: 13.39 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007881/1.407, allocations: 10.23 MB / 0.8304 GB, free: 272 kB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02081/1.427, allocations: 15.63 MB / 0.8456 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002533/1.428, allocations: 61.31 kB / 0.8457 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.293/1.721, allocations: 16.26 MB / 0.8616 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001696/1.721, allocations: 93.25 kB / 0.8617 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003949/1.721, allocations: 207.7 kB / 0.8619 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008953/1.73, allocations: 2.373 MB / 0.8642 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008631/1.739, allocations: 2.457 MB / 0.8666 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01743/1.756, allocations: 11.92 MB / 0.8782 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008507/1.765, allocations: 0.6006 MB / 0.8788 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002032/1.767, allocations: 0.5945 MB / 0.8794 GB, free: 140.2 MB / 0.5105 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.006701/1.774, allocations: 3.777 MB / 0.8831 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/1.775, allocations: 0.5909 MB / 0.8836 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01528/1.79, allocations: 8.311 MB / 0.8918 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001203/1.791, allocations: 62.22 kB / 0.8918 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.269e-05/1.791, allocations: 13.09 kB / 0.8918 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.335e-05/1.791, allocations: 22.17 kB / 0.8919 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04047/1.831, allocations: 18.94 MB / 0.9104 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-05/1.831, allocations: 12.09 kB / 0.9104 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00284/1.834, allocations: 0.6276 MB / 0.911 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006283/1.84, allocations: 1.805 MB / 0.9127 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003851/1.841, allocations: 87.27 kB / 0.9128 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/1.855, allocations: 9.987 MB / 0.9226 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.12e-05/1.855, allocations: 23.56 kB / 0.9226 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01922/1.874, allocations: 12.44 MB / 0.9347 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003179/1.877, allocations: 1.176 MB / 0.9359 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/1.878, allocations: 77.55 kB / 0.936 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002563/1.881, allocations: 205.1 kB / 0.9362 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006796/1.882, allocations: 269.7 kB / 0.9364 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002517/1.882, allocations: 117 kB / 0.9365 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005727/1.888, allocations: 4.001 MB / 0.9404 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.322e-06/1.888, allocations: 0 / 0.9404 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008412/1.896, allocations: 1.959 MB / 0.9423 GB, free: 107.6 MB / 0.5105 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.0008138/1.897, allocations: 284.4 kB / 0.9426 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01498/1.912, allocations: 10.06 MB / 0.9524 GB, free: 97.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/1.912, allocations: 4.75 kB / 0.9525 GB, free: 97.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004863/1.917, allocations: 3.379 MB / 0.9558 GB, free: 93.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01679/1.934, allocations: 0.7684 MB / 0.9565 GB, free: 93.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03671/1.971, allocations: 21.8 MB / 0.9778 GB, free: 71.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.011/1.982, allocations: 5.601 MB / 0.9833 GB, free: 65.47 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009997/1.992, allocations: 3.323 MB / 0.9865 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002057/1.994, allocations: 419.4 kB / 0.9869 GB, free: 61.73 MB / 0.5105 GB Notification: Performance of SimCode: time 9.92e-07/1.994, allocations: 0 / 0.9869 GB, free: 61.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.3682/2.362, allocations: 70.98 MB / 1.056 GB, free: 154.1 MB / 0.5262 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)