Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.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.Joints.PrismaticInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008051/0.0008056, allocations: 84.38 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.0009429/0.0009433, 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.891/1.891, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.4816/0.4816, allocations: 39.99 MB / 310.4 MB, free: 9.957 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.0005517/0.0005517, allocations: 16 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1469, allocations: 57.96 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.3353/0.4823, allocations: 23.6 MB / 460.4 MB, free: 33.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0154/0.4977, allocations: 5.972 MB / 466.4 MB, free: 33.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005455/0.5032, allocations: 108 kB / 466.5 MB, free: 33.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003448/0.5067, allocations: 1.033 MB / 467.5 MB, free: 33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01097/0.5177, allocations: 3.316 MB / 470.8 MB, free: 32.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.5198, allocations: 439.6 kB / 471.3 MB, free: 32.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002813/0.5226, allocations: 1.886 MB / 473.1 MB, free: 32.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00269/0.5253, allocations: 1.971 MB / 475.1 MB, free: 31.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009989/0.5263, allocations: 0.5258 MB / 475.6 MB, free: 31.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.5273, allocations: 0.7888 MB / 476.4 MB, free: 31.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.5275, allocations: 53.41 kB / 476.5 MB, free: 31.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009503/0.5284, allocations: 457.4 kB / 476.9 MB, free: 31.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005247/0.529, allocations: 0.6273 MB / 477.6 MB, free: 31.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.5293, allocations: 311 kB / 477.9 MB, free: 31.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.5309, allocations: 1.901 MB / 479.8 MB, free: 31.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.5309, allocations: 0 / 479.8 MB, free: 31.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5309, allocations: 0 / 479.8 MB, free: 31.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.342e-05/0.531, allocations: 0 / 479.8 MB, free: 31.29 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.002864/0.5338, allocations: 1.728 MB / 481.5 MB, free: 30.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.5339, allocations: 12.03 kB / 481.5 MB, free: 30.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009236/0.5348, allocations: 270.8 kB / 481.8 MB, free: 30.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.5366, allocations: 1.089 MB / 482.9 MB, free: 29.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-05/0.5366, allocations: 92.52 kB / 482.9 MB, free: 29.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.5368, allocations: 128.2 kB / 483.1 MB, free: 29.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004667/0.5415, allocations: 2.98 MB / 486.1 MB, free: 28.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.775e-05/0.5416, allocations: 13.75 kB / 486.1 MB, free: 28.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.5417, allocations: 64.02 kB / 486.1 MB, free: 28.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006235/0.5423, allocations: 437.8 kB / 486.6 MB, free: 28.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004444/0.5468, allocations: 2.157 MB / 488.7 MB, free: 28.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01519/0.562, allocations: 10.74 MB / 499.4 MB, free: 20.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00434/0.5664, allocations: 1.232 MB / 0.4889 GB, free: 20.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007475/0.5672, allocations: 410.5 kB / 0.4893 GB, free: 20.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004804/0.572, allocations: 3.005 MB / 0.4923 GB, free: 18.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.5721, allocations: 41.89 kB / 0.4923 GB, free: 18.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.727e-06/0.5721, allocations: 3.984 kB / 0.4923 GB, free: 18.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01238/0.5845, allocations: 3.77 MB / 0.496 GB, free: 16.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/0.5847, allocations: 87.06 kB / 0.4961 GB, free: 16.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/0.5872, allocations: 1.198 MB / 0.4973 GB, free: 16.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.5872, allocations: 36.36 kB / 0.4973 GB, free: 16.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007922/0.588, allocations: 0.9348 MB / 0.4982 GB, free: 15.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/0.5883, allocations: 219.2 kB / 0.4984 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.5884, allocations: 31.06 kB / 0.4984 GB, free: 15.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5885, allocations: 370.1 kB / 0.4988 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007242/0.5893, allocations: 408.4 kB / 0.4992 GB, free: 14.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.5907, allocations: 1.254 MB / 0.5004 GB, free: 13.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.5919, allocations: 0.6861 MB / 0.5011 GB, free: 13.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-05/0.592, allocations: 8.875 kB / 0.5011 GB, free: 13.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003392/0.5954, allocations: 1.721 MB / 0.5028 GB, free: 12.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/0.5954, allocations: 17.22 kB / 0.5028 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.193e-05/0.5955, allocations: 32.78 kB / 0.5028 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003152/0.5958, allocations: 85.64 kB / 0.5029 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.597, allocations: 362 kB / 0.5032 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.5986, allocations: 1.688 MB / 0.5049 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.6, allocations: 69.84 kB / 0.505 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.6002, allocations: 90.12 kB / 0.505 GB, free: 10.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 193 * Array equations: 0 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001407/0.6016, allocations: 0.6466 MB / 0.5057 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/0.6019, allocations: 116.5 kB / 0.5058 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.6035, allocations: 0.7078 MB / 0.5065 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.6035, allocations: 5.75 kB / 0.5065 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.6036, allocations: 4.938 kB / 0.5065 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/0.6036, allocations: 3.984 kB / 0.5065 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/0.6077, allocations: 2.228 MB / 0.5087 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.6077, allocations: 9.234 kB / 0.5087 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.6081, allocations: 101.4 kB / 0.5088 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.6083, allocations: 59.55 kB / 0.5088 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.6084, allocations: 16.12 kB / 0.5088 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.6098, allocations: 1.745 MB / 0.5105 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.6098, allocations: 8.062 kB / 0.5105 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.6114, allocations: 1.09 MB / 0.5116 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004202/0.6119, allocations: 220.5 kB / 0.5118 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.612, allocations: 24.55 kB / 0.5118 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.6123, allocations: 26.08 kB / 0.5119 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.6124, allocations: 48.16 kB / 0.5119 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.6124, allocations: 19.62 kB / 0.5119 GB, free: 5.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001187/0.6136, allocations: 0.7653 MB / 0.5127 GB, free: 5.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6136, allocations: 0 / 0.5127 GB, free: 5.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001834/0.6155, allocations: 297.9 kB / 0.513 GB, free: 5.035 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002697/0.6158, allocations: 139.3 kB / 0.5131 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001999/0.6178, allocations: 1.087 MB / 0.5142 GB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.6178, allocations: 2.906 kB / 0.5142 GB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005167/0.6183, allocations: 403.1 kB / 0.5146 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.6194, allocations: 185 kB / 0.5147 GB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005232/0.6247, allocations: 3.401 MB / 0.518 GB, free: 1.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.6258, allocations: 1.47 MB / 0.5195 GB, free: 184 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001266/0.6271, allocations: 406.6 kB / 0.5199 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.6273, allocations: 83.38 kB / 0.52 GB, free: 15.7 MB / 398.1 MB Notification: Performance of SimCode: time 1.783e-06/0.6273, allocations: 0 / 0.52 GB, free: 15.7 MB / 398.1 MB Notification: Performance of Templates: time 0.025/0.6523, allocations: 9.736 MB / 0.5295 GB, free: 6.027 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) Environment - environmentSimulation: