Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007822/0.007822, allocations: 99.95 kB / 15.73 MB, free: 6.477 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.001455/0.001455, allocations: 191 kB / 16.67 MB, free: 6.379 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.575/1.575, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3048/0.3048, allocations: 37.99 MB / 307.9 MB, free: 10.16 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.001469/0.001469, allocations: 63.91 kB / 433 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2755, allocations: 56.47 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01142/0.2869, allocations: 12.66 MB / 0.4904 GB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008882/0.2958, allocations: 3.898 MB / 0.4942 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002612/0.2985, allocations: 62.59 kB / 0.4942 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003449/0.302, allocations: 1.319 MB / 0.4955 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005152/0.3072, allocations: 1.781 MB / 0.4972 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.3086, allocations: 420.6 kB / 0.4977 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005327/0.314, allocations: 3.667 MB / 0.5012 GB, free: 5.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003123/0.3171, allocations: 2.055 MB / 0.5032 GB, free: 3.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/0.3195, allocations: 1.231 MB / 0.5044 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.3216, allocations: 1.775 MB / 0.5062 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005286/0.3222, allocations: 242.4 kB / 0.5064 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.3237, allocations: 0.8343 MB / 0.5072 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.3249, allocations: 1.619 MB / 0.5088 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001713/0.3267, allocations: 1.937 MB / 0.5107 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007233/0.3339, allocations: 6.256 MB / 0.5168 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.334, allocations: 1.156 kB / 0.5168 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.334, allocations: 4 kB / 0.5168 GB, free: 11.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002646/0.3342, allocations: 0 / 0.5168 GB, free: 11.15 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.008928/0.3432, allocations: 4.145 MB / 0.5209 GB, free: 7.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3432, allocations: 19.89 kB / 0.5209 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.3545, allocations: 3.072 MB / 0.5239 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005254/0.3597, allocations: 1.991 MB / 0.5258 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.36, allocations: 201.2 kB / 0.526 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009511/0.3609, allocations: 255.7 kB / 0.5263 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01664/0.3776, allocations: 10.39 MB / 0.5364 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.9e-05/0.3777, allocations: 27.75 kB / 0.5364 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004017/0.3781, allocations: 119.8 kB / 0.5365 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004414/0.3825, allocations: 2.55 MB / 0.539 GB, free: 4.355 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/0.4012, allocations: 9.463 MB / 0.5483 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04596/0.4472, allocations: 32.25 MB / 0.5798 GB, free: 9.766 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006256/0.4535, allocations: 3.375 MB / 0.5831 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.4551, allocations: 1.081 MB / 0.5841 GB, free: 5.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.4563, allocations: 1.31 MB / 0.5854 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.4563, allocations: 51.81 kB / 0.5854 GB, free: 3.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=187): time 4.248e-06/0.4563, allocations: 0 / 0.5854 GB, free: 3.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=193): time 0.02154/0.4779, allocations: 9.771 MB / 0.595 GB, free: 9.598 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.478, allocations: 94.42 kB / 0.5951 GB, free: 9.484 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00398/0.4819, allocations: 2.66 MB / 0.5977 GB, free: 6.805 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002395/0.4822, allocations: 45.7 kB / 0.5977 GB, free: 6.754 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001894/0.4841, allocations: 2.751 MB / 0.6004 GB, free: 3.961 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007234/0.4849, allocations: 0.7093 MB / 0.6011 GB, free: 3.242 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/0.4861, allocations: 0.9883 MB / 0.6021 GB, free: 2.242 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4862, allocations: 305.1 kB / 0.6023 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/0.4885, allocations: 1.567 MB / 0.6039 GB, free: 376 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004059/0.4926, allocations: 4.477 MB / 0.6083 GB, free: 10.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007817/0.5004, allocations: 6.695 MB / 0.6148 GB, free: 2.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/0.5006, allocations: 32 kB / 0.6148 GB, free: 2.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01083/0.5114, allocations: 5.952 MB / 0.6206 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.5116, allocations: 51.94 kB / 0.6207 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001719/0.5117, allocations: 100 kB / 0.6208 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003909/0.5121, allocations: 176.8 kB / 0.6209 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/0.5157, allocations: 1.103 MB / 0.622 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.5175, allocations: 1.797 MB / 0.6238 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004095/0.5217, allocations: 215.8 kB / 0.624 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/0.5227, allocations: 312 kB / 0.6243 GB, free: 8.438 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (609): * Single equations (assignments): 602 * 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 {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0049/0.5276, allocations: 2.024 MB / 0.6263 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005799/0.5282, allocations: 248.7 kB / 0.6265 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004482/0.5327, allocations: 2.538 MB / 0.629 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-05/0.5328, allocations: 24 kB / 0.629 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.5328, allocations: 0 / 0.629 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.5328, allocations: 7.969 kB / 0.629 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.275/0.8078, allocations: 8.135 MB / 0.637 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/0.8079, allocations: 9.969 kB / 0.637 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.8089, allocations: 250.8 kB / 0.6372 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.8091, allocations: 55.27 kB / 0.6373 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.8093, allocations: 44.25 kB / 0.6373 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.8107, allocations: 1.628 MB / 0.6389 GB, free: 123 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.928e-05/0.8108, allocations: 19.5 kB / 0.6389 GB, free: 123 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00625/0.817, allocations: 4.053 MB / 0.6429 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001654/0.8187, allocations: 0.4953 MB / 0.6433 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000344/0.819, allocations: 40.44 kB / 0.6434 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008684/0.8199, allocations: 59.28 kB / 0.6434 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/0.8202, allocations: 123.5 kB / 0.6436 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.8203, allocations: 66.59 kB / 0.6436 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002924/0.8233, allocations: 1.636 MB / 0.6452 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8233, allocations: 0 / 0.6452 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005112/0.8284, allocations: 0.8118 MB / 0.646 GB, free: 120.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * 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 {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005426/0.8289, allocations: 188.3 kB / 0.6462 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006594/0.8355, allocations: 3.933 MB / 0.65 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.76e-05/0.8356, allocations: 1.219 kB / 0.65 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001991/0.8376, allocations: 1.24 MB / 0.6512 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/0.8398, allocations: 344 kB / 0.6516 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.854, allocations: 8.613 MB / 0.66 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00345/0.8575, allocations: 3.197 MB / 0.6631 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003077/0.8606, allocations: 1.731 MB / 0.6648 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/0.8611, allocations: 192.2 kB / 0.665 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.704e-06/0.8611, allocations: 0 / 0.665 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.03759/0.8987, allocations: 21.12 MB / 0.6856 GB, free: 99.43 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1)