Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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 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.1_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.00158/0.001581, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.701/1.701, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3951/0.3951, allocations: 37.99 MB / 307.8 MB, free: 10.04 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.1. 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.001977/0.001977, allocations: 76.11 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.164, allocations: 56.46 MB / 431.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.0123/0.1764, allocations: 8.675 MB / 440.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008604/0.1851, allocations: 3.453 MB / 443.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.187, allocations: 47.88 kB / 443.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002898/0.19, allocations: 1.363 MB / 445.3 MB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00303/0.193, allocations: 0.9455 MB / 446.2 MB, free: 8.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.1943, allocations: 0.5186 MB / 446.7 MB, free: 7.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00279/0.1971, allocations: 1.691 MB / 448.4 MB, free: 5.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/0.1991, allocations: 1.674 MB / 450.1 MB, free: 4.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.2004, allocations: 0.6737 MB / 450.8 MB, free: 3.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.2016, allocations: 0.8957 MB / 451.7 MB, free: 2.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.2019, allocations: 143.9 kB / 451.8 MB, free: 2.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.2031, allocations: 0.5851 MB / 452.4 MB, free: 1.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007462/0.2039, allocations: 0.7286 MB / 453.1 MB, free: 1.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008529/0.2048, allocations: 0.8393 MB / 453.9 MB, free: 268 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.339/0.5438, allocations: 2.44 MB / 456.4 MB, free: 38.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.5438, allocations: 0 / 456.4 MB, free: 38.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.616e-06/0.5438, allocations: 3.25 kB / 456.4 MB, free: 38.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.233e-05/0.5439, allocations: 0.7812 kB / 456.4 MB, free: 38.89 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.003638/0.5475, allocations: 2.009 MB / 458.4 MB, free: 37.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.5476, allocations: 13.2 kB / 458.4 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.5486, allocations: 261.8 kB / 458.7 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.5504, allocations: 1.121 MB / 459.8 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.412e-05/0.5505, allocations: 96.22 kB / 459.9 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.5507, allocations: 126.7 kB / 460 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004953/0.5556, allocations: 2.986 MB / 463 MB, free: 36.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.425e-05/0.5557, allocations: 17.31 kB / 463 MB, free: 36.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.5558, allocations: 57.8 kB / 463.1 MB, free: 36.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006764/0.5565, allocations: 439.6 kB / 463.5 MB, free: 36.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004645/0.5612, allocations: 2.157 MB / 465.6 MB, free: 36.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/0.5728, allocations: 10.74 MB / 476.4 MB, free: 30.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/0.5766, allocations: 1.233 MB / 477.6 MB, free: 29.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/0.5771, allocations: 408.9 kB / 478 MB, free: 29.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003765/0.5809, allocations: 2.998 MB / 481 MB, free: 27.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.581, allocations: 42.12 kB / 481.1 MB, free: 27.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.375e-06/0.581, allocations: 0 / 481.1 MB, free: 27.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01164/0.5926, allocations: 3.771 MB / 484.8 MB, free: 25.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.5928, allocations: 88.2 kB / 484.9 MB, free: 25.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.5945, allocations: 1.199 MB / 486.1 MB, free: 25.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.5946, allocations: 40.8 kB / 486.2 MB, free: 25.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005651/0.5952, allocations: 0.9329 MB / 487.1 MB, free: 24.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.5953, allocations: 227.8 kB / 487.3 MB, free: 24.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003496/0.5957, allocations: 311.1 kB / 487.6 MB, free: 24.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.852e-05/0.5958, allocations: 301.1 kB / 487.9 MB, free: 23.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005794/0.5963, allocations: 417.9 kB / 488.3 MB, free: 23.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009579/0.5973, allocations: 1.258 MB / 489.6 MB, free: 22.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.5995, allocations: 1.804 MB / 491.4 MB, free: 21.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/0.5995, allocations: 8.562 kB / 491.4 MB, free: 21.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003221/0.6028, allocations: 1.731 MB / 493.1 MB, free: 20.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.6028, allocations: 17.56 kB / 493.1 MB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.986e-05/0.6029, allocations: 32.81 kB / 493.2 MB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002906/0.6032, allocations: 85.45 kB / 493.2 MB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.6044, allocations: 365 kB / 493.6 MB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.6063, allocations: 1.872 MB / 495.5 MB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.6077, allocations: 71.88 kB / 495.5 MB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.6079, allocations: 84.72 kB / 495.6 MB, free: 18.84 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 (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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001593/0.6095, allocations: 0.6436 MB / 496.3 MB, free: 18.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/0.6099, allocations: 120 kB / 496.4 MB, free: 18.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.6117, allocations: 0.7067 MB / 497.1 MB, free: 18.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.6117, allocations: 9.656 kB / 497.1 MB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6117, allocations: 1.688 kB / 497.1 MB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.6118, allocations: 2.953 kB / 497.1 MB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004955/0.6167, allocations: 2.239 MB / 499.4 MB, free: 17.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.6167, allocations: 3.656 kB / 499.4 MB, free: 17.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.6171, allocations: 98.66 kB / 499.5 MB, free: 17.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000226/0.6174, allocations: 62.06 kB / 499.5 MB, free: 17.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.6174, allocations: 19.47 kB / 499.5 MB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.6192, allocations: 1.943 MB / 0.4897 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/0.6192, allocations: 8.062 kB / 0.4897 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.6211, allocations: 1.093 MB / 0.4908 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004521/0.6216, allocations: 224.2 kB / 0.491 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.6217, allocations: 21.44 kB / 0.491 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.6221, allocations: 22.62 kB / 0.4911 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.6222, allocations: 45.3 kB / 0.4911 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/0.6223, allocations: 19.2 kB / 0.4911 GB, free: 14.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001553/0.6238, allocations: 0.7668 MB / 0.4919 GB, free: 14.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6238, allocations: 6.625 kB / 0.4919 GB, free: 14.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002142/0.626, allocations: 304 kB / 0.4922 GB, free: 14.2 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 (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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003423/0.6263, allocations: 141.3 kB / 0.4923 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002713/0.6291, allocations: 1.201 MB / 0.4935 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/0.6291, allocations: 1.062 kB / 0.4935 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007784/0.6299, allocations: 411 kB / 0.4939 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.631, allocations: 181.2 kB / 0.494 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006277/0.6373, allocations: 2.863 MB / 0.4968 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001909/0.6393, allocations: 1.458 MB / 0.4982 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001643/0.6409, allocations: 409.5 kB / 0.4986 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.6412, allocations: 77.03 kB / 0.4987 GB, free: 11.09 MB / 382.1 MB Notification: Performance of SimCode: time 4.549e-06/0.6412, allocations: 4 kB / 0.4987 GB, free: 11.09 MB / 382.1 MB Notification: Performance of Templates: time 0.02873/0.6699, allocations: 10.49 MB / 0.509 GB, free: 8.914 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1)