Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009634/0.0009636, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001192/0.001192, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 205.4 MB / 222.1 MB, free: 5.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3963/0.3963, allocations: 40.01 MB / 310.4 MB, free: 10.13 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006015/0.0006021, allocations: 12 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1588, allocations: 57.96 MB / 436.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.3833/0.5422, allocations: 57.24 MB / 494 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03816/0.5805, allocations: 12.57 MB / 0.4947 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02035/0.6009, allocations: 273.2 kB / 0.495 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01232/0.6133, allocations: 2.965 MB / 0.4979 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03345/0.6468, allocations: 8.996 MB / 0.5067 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00634/0.6531, allocations: 1.279 MB / 0.5079 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03935/0.6925, allocations: 24.63 MB / 0.532 GB, free: 6.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01343/0.706, allocations: 7.854 MB / 0.5396 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006748/0.7128, allocations: 2.437 MB / 0.542 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008013/0.7208, allocations: 3.981 MB / 0.5459 GB, free: 8.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002335/0.7232, allocations: 292 kB / 0.5462 GB, free: 8.102 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005041/0.7283, allocations: 1.323 MB / 0.5475 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00554/0.7338, allocations: 3.269 MB / 0.5507 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003279/0.7371, allocations: 1.509 MB / 0.5521 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01641/0.7535, allocations: 10.47 MB / 0.5624 GB, free: 7.484 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.7536, allocations: 0 / 0.5624 GB, free: 7.484 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.7536, allocations: 0 / 0.5624 GB, free: 7.484 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006144/0.7542, allocations: 0 / 0.5624 GB, free: 7.484 MB / 430.1 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.02197/0.7762, allocations: 7.545 MB / 0.5697 GB, free: 15.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.107e-05/0.7763, allocations: 8.031 kB / 0.5697 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01793/0.7943, allocations: 4.201 MB / 0.5738 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/0.8078, allocations: 5.193 MB / 0.5789 GB, free: 6.355 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005884/0.8084, allocations: 446.9 kB / 0.5793 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003342/0.8118, allocations: 0.6009 MB / 0.5799 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04518/0.857, allocations: 20.63 MB / 0.6001 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002659/0.8573, allocations: 83.3 kB / 0.6002 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/0.8586, allocations: 271.7 kB / 0.6004 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005591/0.8642, allocations: 3.706 MB / 0.604 GB, free: 11.49 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04167/0.9059, allocations: 18.18 MB / 0.6218 GB, free: 9.293 MB / 494.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.6566/1.563, allocations: 74.51 MB / 0.6946 GB, free: 87.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0196/1.582, allocations: 7.451 MB / 0.7018 GB, free: 84.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007929/1.59, allocations: 4.098 MB / 0.7058 GB, free: 83.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03367/1.624, allocations: 18.19 MB / 0.7236 GB, free: 73.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.509e-05/1.624, allocations: 67.78 kB / 0.7237 GB, free: 73.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=335): time 7.374e-06/1.624, allocations: 0 / 0.7237 GB, free: 73.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.109/1.733, allocations: 36.24 MB / 0.7591 GB, free: 41.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/1.733, allocations: 196.8 kB / 0.7592 GB, free: 41.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009352/1.743, allocations: 6.475 MB / 0.7656 GB, free: 34.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001005/1.744, allocations: 88.59 kB / 0.7656 GB, free: 34.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003326/1.747, allocations: 5.372 MB / 0.7709 GB, free: 29.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001991/1.749, allocations: 1.54 MB / 0.7724 GB, free: 27.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006393/1.75, allocations: 216 kB / 0.7726 GB, free: 27.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004696/1.75, allocations: 0.7687 MB / 0.7734 GB, free: 26.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006439/1.757, allocations: 4.292 MB / 0.7775 GB, free: 22.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009636/1.766, allocations: 10.24 MB / 0.7875 GB, free: 9.516 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009845/1.776, allocations: 6.476 MB / 0.7939 GB, free: 3.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001358/1.776, allocations: 60 kB / 0.7939 GB, free: 2.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03689/1.813, allocations: 16.26 MB / 0.8098 GB, free: 2.68 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003147/1.813, allocations: 98.5 kB / 0.8099 GB, free: 2.586 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004379/1.814, allocations: 204.8 kB / 0.8101 GB, free: 2.387 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008342/1.822, allocations: 2.42 MB / 0.8125 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009038/1.831, allocations: 2.456 MB / 0.8149 GB, free: 13.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02107/1.852, allocations: 11.9 MB / 0.8265 GB, free: 1.473 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009042/1.862, allocations: 0.5922 MB / 0.8271 GB, free: 0.8828 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002301/1.864, allocations: 0.6015 MB / 0.8276 GB, free: 288 kB / 0.5138 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3111/2.175, allocations: 3.766 MB / 0.8313 GB, free: 153.5 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001634/2.177, allocations: 0.5938 MB / 0.8319 GB, free: 153.5 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01672/2.193, allocations: 8.311 MB / 0.84 GB, free: 152.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.752e-05/2.194, allocations: 62.05 kB / 0.8401 GB, free: 152.6 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.348e-05/2.194, allocations: 14.27 kB / 0.8401 GB, free: 152.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.265e-05/2.194, allocations: 17.2 kB / 0.8401 GB, free: 152.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04053/2.234, allocations: 18.94 MB / 0.8586 GB, free: 145.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-05/2.234, allocations: 12.31 kB / 0.8586 GB, free: 145.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003431/2.238, allocations: 0.6238 MB / 0.8592 GB, free: 145.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007171/2.245, allocations: 1.819 MB / 0.861 GB, free: 144.9 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009415/2.246, allocations: 81.86 kB / 0.8611 GB, free: 144.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01736/2.263, allocations: 9.991 MB / 0.8708 GB, free: 140.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.726e-05/2.263, allocations: 21.38 kB / 0.8709 GB, free: 140.1 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02342/2.287, allocations: 12.44 MB / 0.883 GB, free: 135.2 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003952/2.291, allocations: 1.176 MB / 0.8841 GB, free: 134.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001514/2.292, allocations: 80.39 kB / 0.8842 GB, free: 134.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003057/2.295, allocations: 203 kB / 0.8844 GB, free: 134.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006732/2.296, allocations: 272.5 kB / 0.8847 GB, free: 134.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002693/2.296, allocations: 115 kB / 0.8848 GB, free: 134.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007546/2.304, allocations: 4.011 MB / 0.8887 GB, free: 133.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.01e-07/2.304, allocations: 0 / 0.8887 GB, free: 133.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0121/2.316, allocations: 1.957 MB / 0.8906 GB, free: 132.9 MB / 0.5138 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/2.317, allocations: 267.4 kB / 0.8909 GB, free: 132.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01766/2.335, allocations: 10.07 MB / 0.9007 GB, free: 125.8 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.288e-05/2.335, allocations: 4 kB / 0.9007 GB, free: 125.8 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005714/2.34, allocations: 3.383 MB / 0.904 GB, free: 122.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005851/2.346, allocations: 0.7692 MB / 0.9048 GB, free: 122.1 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03237/2.379, allocations: 20.96 MB / 0.9252 GB, free: 101.2 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007658/2.386, allocations: 5.593 MB / 0.9307 GB, free: 95.62 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008069/2.395, allocations: 3.327 MB / 0.9339 GB, free: 92.29 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/2.396, allocations: 415.4 kB / 0.9343 GB, free: 91.88 MB / 0.5138 GB Notification: Performance of SimCode: time 1.413e-06/2.396, allocations: 4 kB / 0.9343 GB, free: 91.88 MB / 0.5138 GB Notification: Performance of Templates: time 0.1415/2.538, allocations: 69.52 MB / 1.002 GB, free: 22.47 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) Environment - environmentSimulation: