Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00953/0.00953, allocations: 165.6 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.524/1.524, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001712/0.001711, allocations: 114.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3228/0.3228, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004471, allocations: 12 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1203, allocations: 48.7 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3816/0.502, allocations: 104.2 MB / 0.5037 GB, free: 12 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.5023, allocations: 78.16 kB / 0.5037 GB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6747/1.177, allocations: 171.8 MB / 0.6715 GB, free: 70.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.486e-06/1.177, allocations: 0 / 0.6715 GB, free: 70.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004744/1.178, allocations: 146.7 kB / 0.6716 GB, free: 70.32 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: 2779 * Number of variables: 2779 Notification: Performance of Generate backend data structure: time 0.02758/1.205, allocations: 8.226 MB / 0.6797 GB, free: 65.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.205, allocations: 10.12 kB / 0.6797 GB, free: 65.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02834/1.234, allocations: 6.941 MB / 0.6864 GB, free: 61.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02242/1.256, allocations: 9.875 MB / 0.6961 GB, free: 52.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006803/1.257, allocations: 0.5663 MB / 0.6966 GB, free: 51.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004594/1.261, allocations: 0.7711 MB / 0.6974 GB, free: 50.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04832/1.31, allocations: 20.76 MB / 0.7177 GB, free: 28.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006662/1.31, allocations: 83.19 kB / 0.7177 GB, free: 28.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004681/1.315, allocations: 371.6 kB / 0.7181 GB, free: 28.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003127/1.318, allocations: 1.958 MB / 0.72 GB, free: 26.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03728/1.356, allocations: 18.31 MB / 0.7379 GB, free: 8.117 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3281/1.684, allocations: 82.17 MB / 0.8181 GB, free: 46.19 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03402/1.718, allocations: 7.351 MB / 0.8253 GB, free: 44.94 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0412/1.759, allocations: 18.21 MB / 0.8431 GB, free: 36.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/1.759, allocations: 66.94 kB / 0.8432 GB, free: 36.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=332): time 6.652e-06/1.759, allocations: 3.562 kB / 0.8432 GB, free: 36.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=413): time 0.1267/1.886, allocations: 36.21 MB / 0.8785 GB, free: 26.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/1.886, allocations: 196.2 kB / 0.8787 GB, free: 25.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01188/1.898, allocations: 5.813 MB / 0.8844 GB, free: 24 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000895/1.899, allocations: 83.45 kB / 0.8845 GB, free: 23.92 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003911/1.903, allocations: 5.426 MB / 0.8898 GB, free: 19.54 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002222/1.905, allocations: 1.527 MB / 0.8913 GB, free: 18.19 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001819/1.907, allocations: 206.9 kB / 0.8915 GB, free: 17.99 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001124/1.908, allocations: 0.7489 MB / 0.8922 GB, free: 17.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006874/1.915, allocations: 4.189 MB / 0.8963 GB, free: 13.81 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0112/1.926, allocations: 10 MB / 0.9061 GB, free: 1.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/1.939, allocations: 6.461 MB / 0.9124 GB, free: 12.64 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002693/1.939, allocations: 60 kB / 0.9124 GB, free: 12.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=1370) (initialization): time 0.2626/2.202, allocations: 15.95 MB / 0.928 GB, free: 100.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001899/2.202, allocations: 92.59 kB / 0.9281 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004055/2.202, allocations: 208.2 kB / 0.9283 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008376/2.211, allocations: 2.348 MB / 0.9306 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008488/2.219, allocations: 2.444 MB / 0.933 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01772/2.237, allocations: 12.01 MB / 0.9447 GB, free: 99.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009687/2.247, allocations: 0.6871 MB / 0.9454 GB, free: 99.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002404/2.249, allocations: 0.5865 MB / 0.9459 GB, free: 99.45 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 931 * Number of states: 0 () * Number of discrete variables: 46 (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.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 (1269): * Single equations (assignments): 1262 * 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.009618/2.259, allocations: 3.751 MB / 0.9496 GB, free: 99.34 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001841/2.261, allocations: 0.6012 MB / 0.9502 GB, free: 99.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02029/2.281, allocations: 8.169 MB / 0.9582 GB, free: 99.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001688/2.281, allocations: 62.55 kB / 0.9582 GB, free: 99.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.147e-05/2.281, allocations: 9.312 kB / 0.9582 GB, free: 99.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001199/2.281, allocations: 19.39 kB / 0.9582 GB, free: 99.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05044/2.332, allocations: 18.81 MB / 0.9766 GB, free: 94.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.512e-05/2.332, allocations: 11.12 kB / 0.9766 GB, free: 94.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002951/2.335, allocations: 0.6482 MB / 0.9773 GB, free: 94.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006773/2.342, allocations: 1.892 MB / 0.9791 GB, free: 94.48 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000853/2.343, allocations: 76.7 kB / 0.9792 GB, free: 94.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/2.358, allocations: 10.35 MB / 0.9893 GB, free: 89.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.631e-05/2.358, allocations: 17.62 kB / 0.9893 GB, free: 89.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02562/2.384, allocations: 14.29 MB / 1.003 GB, free: 82.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004544/2.389, allocations: 1.165 MB / 1.004 GB, free: 82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002839/2.391, allocations: 70.47 kB / 1.004 GB, free: 81.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005026/2.396, allocations: 262.5 kB / 1.005 GB, free: 81.92 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001253/2.398, allocations: 257.9 kB / 1.005 GB, free: 81.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007677/2.399, allocations: 114 kB / 1.005 GB, free: 81.85 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01049/2.409, allocations: 4.07 MB / 1.009 GB, free: 80.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.41e-07/2.409, allocations: 3 kB / 1.009 GB, free: 80.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01317/2.422, allocations: 1.938 MB / 1.011 GB, free: 80.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (324): * Single equations (assignments): 317 * 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.001545/2.424, allocations: 276.9 kB / 1.011 GB, free: 80.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01754/2.441, allocations: 9.846 MB / 1.021 GB, free: 77.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.67e-05/2.441, allocations: 0 / 1.021 GB, free: 77.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006016/2.447, allocations: 3.326 MB / 1.024 GB, free: 75.71 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006161/2.454, allocations: 0.7164 MB / 1.025 GB, free: 75.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04139/2.495, allocations: 20.68 MB / 1.045 GB, free: 56.28 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01218/2.507, allocations: 5.743 MB / 1.051 GB, free: 52.07 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01065/2.518, allocations: 3.33 MB / 1.054 GB, free: 49.96 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002635/2.521, allocations: 414.4 kB / 1.054 GB, free: 49.57 MB / 474.7 MB Notification: Performance of SimCode: time 1.463e-06/2.521, allocations: 0 / 1.054 GB, free: 49.57 MB / 474.7 MB Notification: Performance of Templates: time 0.4036/2.924, allocations: 68.39 MB / 1.121 GB, free: 95.23 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)