Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001742/0.001742, allocations: 195.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.1 MB / 222 MB, free: 4.766 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.4071/0.4071, allocations: 39.93 MB / 309.3 MB, free: 9.309 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.001374/0.001374, allocations: 72.47 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1525, allocations: 56.88 MB / 433.8 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.374/0.5265, allocations: 68.46 MB / 0.4905 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04341/0.57, allocations: 14.27 MB / 0.5044 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02102/0.591, allocations: 306.9 kB / 0.5047 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01156/0.6027, allocations: 5.132 MB / 0.5097 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.6133, allocations: 2.483 MB / 0.5122 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004756/0.6181, allocations: 1.279 MB / 0.5134 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0219/0.64, allocations: 10.92 MB / 0.5241 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01234/0.6524, allocations: 6.871 MB / 0.5308 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007312/0.6598, allocations: 2.468 MB / 0.5332 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008305/0.6681, allocations: 3.957 MB / 0.5371 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002144/0.6703, allocations: 428 kB / 0.5375 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004982/0.6753, allocations: 1.658 MB / 0.5391 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004516/0.6798, allocations: 3.168 MB / 0.5422 GB, free: 9.957 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006641/0.6865, allocations: 3.503 MB / 0.5456 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01686/0.7034, allocations: 11.53 MB / 0.5569 GB, free: 10.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.7034, allocations: 0 / 0.5569 GB, free: 10.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.7035, allocations: 3.938 kB / 0.5569 GB, free: 10.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007167/0.7042, allocations: 0 / 0.5569 GB, free: 10.87 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.03138/0.7356, allocations: 7.925 MB / 0.5646 GB, free: 2.859 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.039e-05/0.7357, allocations: 12.03 kB / 0.5646 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01565/0.7513, allocations: 3.057 MB / 0.5676 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01406/0.7654, allocations: 5.166 MB / 0.5726 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004222/0.7659, allocations: 394.3 kB / 0.573 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002951/0.7689, allocations: 0.5074 MB / 0.5735 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03611/0.805, allocations: 15.52 MB / 0.5887 GB, free: 9.223 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000281/0.8054, allocations: 71.36 kB / 0.5887 GB, free: 9.152 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008949/0.8063, allocations: 235.8 kB / 0.589 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004254/0.8105, allocations: 2.544 MB / 0.5914 GB, free: 6.375 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03067/0.8412, allocations: 13.1 MB / 0.6042 GB, free: 9.25 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4183/1.26, allocations: 57.62 MB / 0.6605 GB, free: 106.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01655/1.276, allocations: 6.367 MB / 0.6667 GB, free: 104.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004844/1.281, allocations: 3.442 MB / 0.6701 GB, free: 103.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02206/1.303, allocations: 11.58 MB / 0.6814 GB, free: 97.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.956e-05/1.303, allocations: 61.7 kB / 0.6814 GB, free: 97.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=248): time 5.941e-06/1.303, allocations: 2 kB / 0.6814 GB, free: 97.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=343): time 0.1395/1.443, allocations: 39.58 MB / 0.7201 GB, free: 83.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/1.443, allocations: 242.6 kB / 0.7203 GB, free: 83.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009689/1.453, allocations: 5.746 MB / 0.7259 GB, free: 77.74 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00132/1.454, allocations: 77.7 kB / 0.726 GB, free: 77.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002948/1.457, allocations: 4.351 MB / 0.7303 GB, free: 73.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001767/1.459, allocations: 1.261 MB / 0.7315 GB, free: 72.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002814/1.462, allocations: 1.753 MB / 0.7332 GB, free: 70.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.736e-05/1.462, allocations: 301.1 kB / 0.7335 GB, free: 70 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005604/1.467, allocations: 4.085 MB / 0.7375 GB, free: 65.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007947/1.475, allocations: 8.671 MB / 0.7459 GB, free: 55.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01532/1.491, allocations: 13.56 MB / 0.7592 GB, free: 39.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001618/1.491, allocations: 48 kB / 0.7592 GB, free: 39.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03746/1.528, allocations: 16.38 MB / 0.7752 GB, free: 22.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/1.528, allocations: 79.88 kB / 0.7753 GB, free: 22.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002196/1.529, allocations: 163.5 kB / 0.7755 GB, free: 22.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01351/1.542, allocations: 4.287 MB / 0.7796 GB, free: 18.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007795/1.55, allocations: 1.892 MB / 0.7815 GB, free: 16.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02794/1.578, allocations: 20.18 MB / 0.8012 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008493/1.587, allocations: 0.4992 MB / 0.8017 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002098/1.589, allocations: 488 kB / 0.8022 GB, free: 11.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1031): * Single equations (assignments): 1027 * Array equations: 3 * 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 {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00744/1.596, allocations: 3.13 MB / 0.8052 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001725/1.598, allocations: 0.5207 MB / 0.8057 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02301/1.621, allocations: 10.11 MB / 0.8156 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-05/1.621, allocations: 36.47 kB / 0.8156 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.857e-05/1.621, allocations: 12 kB / 0.8156 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.654e-05/1.621, allocations: 19.94 kB / 0.8157 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3783/1.999, allocations: 20.17 MB / 0.8354 GB, free: 156.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.581e-05/2, allocations: 6.406 kB / 0.8354 GB, free: 156.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002604/2.002, allocations: 0.4964 MB / 0.8358 GB, free: 156.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01275/2.015, allocations: 3.838 MB / 0.8396 GB, free: 156.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001025/2.016, allocations: 60.53 kB / 0.8397 GB, free: 156.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0279/2.044, allocations: 17.8 MB / 0.857 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.94e-05/2.044, allocations: 14.94 kB / 0.857 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03644/2.08, allocations: 14.91 MB / 0.8716 GB, free: 143.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004616/2.085, allocations: 1.172 MB / 0.8728 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002748/2.088, allocations: 62.61 kB / 0.8728 GB, free: 142.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005229/2.093, allocations: 228 kB / 0.873 GB, free: 142.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001928/2.095, allocations: 228.5 kB / 0.8732 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001173/2.096, allocations: 91.84 kB / 0.8733 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01003/2.106, allocations: 3.639 MB / 0.8769 GB, free: 141.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.31e-07/2.106, allocations: 1.375 kB / 0.8769 GB, free: 141.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01363/2.12, allocations: 1.788 MB / 0.8786 GB, free: 141.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.w) * 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 (261): * Single equations (assignments): 257 * Array equations: 3 * 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 {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001553/2.122, allocations: 260.8 kB / 0.8789 GB, free: 141.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01712/2.139, allocations: 9.804 MB / 0.8885 GB, free: 137.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-05/2.139, allocations: 6.406 kB / 0.8885 GB, free: 137.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006865/2.146, allocations: 3.785 MB / 0.8922 GB, free: 135.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006224/2.152, allocations: 0.6896 MB / 0.8928 GB, free: 135.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03114/2.183, allocations: 19.21 MB / 0.9116 GB, free: 120.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007721/2.191, allocations: 4.835 MB / 0.9163 GB, free: 116.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007452/2.198, allocations: 2.582 MB / 0.9188 GB, free: 113.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001603/2.2, allocations: 355.4 kB / 0.9192 GB, free: 113.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.132e-06/2.2, allocations: 0 / 0.9192 GB, free: 113.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.1188/2.319, allocations: 76.09 MB / 0.9935 GB, free: 37.6 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1)