Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001183/0.001183, allocations: 182.9 kB / 19.32 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2185/0.2185, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 68.66 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1307, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01808/0.1488, allocations: 17.68 MB / 488.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.1607, allocations: 5.694 MB / 494.1 MB, free: 6.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003228/0.164, allocations: 111.7 kB / 494.2 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008526/0.1725, allocations: 4.586 MB / 498.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007907/0.1805, allocations: 3.007 MB / 0.49 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003481/0.184, allocations: 1.501 MB / 0.4915 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01202/0.196, allocations: 8.75 MB / 0.5 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2283/0.4243, allocations: 6.436 MB / 0.5063 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007045/0.4314, allocations: 3.015 MB / 0.5093 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00963/0.4411, allocations: 4.261 MB / 0.5134 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003872/0.445, allocations: 0.665 MB / 0.5141 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008203/0.4532, allocations: 1.854 MB / 0.5159 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006246/0.4595, allocations: 3.71 MB / 0.5195 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01155/0.4711, allocations: 4.216 MB / 0.5236 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.4854, allocations: 13.57 MB / 0.5369 GB, free: 6.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4855, allocations: 0 / 0.5369 GB, free: 6.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4855, allocations: 0 / 0.5369 GB, free: 6.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004463/0.4859, allocations: 0 / 0.5369 GB, free: 6.602 MB / 382.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.02154/0.5075, allocations: 9.011 MB / 0.5457 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.5076, allocations: 9.938 kB / 0.5457 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/0.5244, allocations: 4.105 MB / 0.5497 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01389/0.5383, allocations: 5.179 MB / 0.5547 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005421/0.5389, allocations: 435.9 kB / 0.5552 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002999/0.5419, allocations: 0.6025 MB / 0.5558 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04259/0.5845, allocations: 20.62 MB / 0.5759 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002889/0.5849, allocations: 81.45 kB / 0.576 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001553/0.5864, allocations: 264.1 kB / 0.5762 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005686/0.5921, allocations: 3.714 MB / 0.5798 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03907/0.6312, allocations: 18.2 MB / 0.5976 GB, free: 13.32 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.1113/0.7426, allocations: 74.29 MB / 0.6702 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01753/0.7602, allocations: 7.448 MB / 0.6774 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005667/0.7658, allocations: 4.119 MB / 0.6815 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03113/0.797, allocations: 18.2 MB / 0.6992 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.659e-05/0.7971, allocations: 71.5 kB / 0.6993 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=335): time 7.253e-06/0.7971, allocations: 0 / 0.6993 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of matching and sorting (n=419): time 0.3412/1.138, allocations: 35 MB / 0.7335 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.639e-05/1.138, allocations: 192.2 kB / 0.7337 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008204/1.147, allocations: 6.478 MB / 0.74 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008031/1.148, allocations: 80.7 kB / 0.7401 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002607/1.15, allocations: 5.368 MB / 0.7453 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001608/1.152, allocations: 1.544 MB / 0.7468 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002744/1.155, allocations: 2.137 MB / 0.7489 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.432e-05/1.155, allocations: 303.1 kB / 0.7492 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005658/1.16, allocations: 4.33 MB / 0.7534 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00901/1.169, allocations: 10.28 MB / 0.7635 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01526/1.185, allocations: 15.67 MB / 0.7788 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001687/1.185, allocations: 65.62 kB / 0.7788 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03175/1.217, allocations: 16.36 MB / 0.7948 GB, free: 111.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/1.217, allocations: 96.94 kB / 0.7949 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001991/1.217, allocations: 208 kB / 0.7951 GB, free: 111.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006938/1.224, allocations: 2.366 MB / 0.7974 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007634/1.231, allocations: 2.468 MB / 0.7998 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01607/1.248, allocations: 12.76 MB / 0.8123 GB, free: 93.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008225/1.256, allocations: 0.5775 MB / 0.8128 GB, free: 93.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001782/1.258, allocations: 0.6015 MB / 0.8134 GB, free: 92.68 MB / 0.5294 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.006443/1.264, allocations: 3.773 MB / 0.8171 GB, free: 88.89 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001218/1.265, allocations: 0.5939 MB / 0.8177 GB, free: 88.29 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01453/1.28, allocations: 8.321 MB / 0.8258 GB, free: 79.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-05/1.28, allocations: 66.88 kB / 0.8259 GB, free: 79.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.962e-05/1.28, allocations: 12 kB / 0.8259 GB, free: 79.85 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.246e-05/1.28, allocations: 19.88 kB / 0.8259 GB, free: 79.83 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03328/1.313, allocations: 18.83 MB / 0.8443 GB, free: 60.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.613e-05/1.313, allocations: 15.94 kB / 0.8443 GB, free: 60.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/1.316, allocations: 0.6242 MB / 0.8449 GB, free: 60.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00584/1.322, allocations: 1.807 MB / 0.8467 GB, free: 58.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003209/1.322, allocations: 76 kB / 0.8468 GB, free: 58.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/1.336, allocations: 10.82 MB / 0.8573 GB, free: 47.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/1.336, allocations: 19.94 kB / 0.8574 GB, free: 47.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01914/1.355, allocations: 12.47 MB / 0.8695 GB, free: 34.46 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002045/1.357, allocations: 0.6261 MB / 0.8701 GB, free: 33.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001476/1.359, allocations: 79.98 kB / 0.8702 GB, free: 33.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003111/1.362, allocations: 203.3 kB / 0.8704 GB, free: 33.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006885/1.363, allocations: 269.7 kB / 0.8707 GB, free: 33.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002664/1.363, allocations: 116 kB / 0.8708 GB, free: 33.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006203/1.369, allocations: 4.02 MB / 0.8747 GB, free: 29.15 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.81e-07/1.369, allocations: 0 / 0.8747 GB, free: 29.15 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01031/1.38, allocations: 1.952 MB / 0.8766 GB, free: 27.21 MB / 0.5294 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.001122/1.381, allocations: 290.2 kB / 0.8769 GB, free: 26.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01508/1.396, allocations: 10.18 MB / 0.8868 GB, free: 16.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.637e-05/1.396, allocations: 4 kB / 0.8868 GB, free: 16.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004709/1.401, allocations: 3.391 MB / 0.8901 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005041/1.406, allocations: 0.7943 MB / 0.8909 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2476/1.653, allocations: 17.65 MB / 0.9082 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01044/1.664, allocations: 5.584 MB / 0.9136 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008246/1.672, allocations: 3.316 MB / 0.9168 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/1.674, allocations: 414.5 kB / 0.9172 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/1.674, allocations: 0 / 0.9172 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.1117/1.785, allocations: 66.08 MB / 0.9818 GB, free: 111.8 MB / 0.5294 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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)