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.007945/0.007945, allocations: 97.78 kB / 15.73 MB, free: 5.996 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.001586/0.001586, allocations: 186.3 kB / 16.67 MB, free: 5.926 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.688/1.688, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.3805/0.3805, allocations: 38 MB / 307.9 MB, free: 10.15 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.001827/0.001827, allocations: 80.5 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4141, allocations: 56.46 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01093/0.4251, allocations: 8.682 MB / 498.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008649/0.4338, allocations: 3.46 MB / 0.4899 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002638/0.4366, allocations: 46.31 kB / 0.4899 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003172/0.4398, allocations: 1.362 MB / 0.4912 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004646/0.4445, allocations: 0.9337 MB / 0.4921 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.447, allocations: 0.5257 MB / 0.4927 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004663/0.4517, allocations: 1.698 MB / 0.4943 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002617/0.4543, allocations: 1.665 MB / 0.4959 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.4559, allocations: 0.6684 MB / 0.4966 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.4574, allocations: 0.8918 MB / 0.4975 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002847/0.4577, allocations: 146.1 kB / 0.4976 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.4592, allocations: 0.5934 MB / 0.4982 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007093/0.4599, allocations: 0.7335 MB / 0.4989 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008022/0.4607, allocations: 0.8315 MB / 0.4997 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003941/0.4647, allocations: 2.503 MB / 0.5022 GB, free: 5.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.4647, allocations: 0 / 0.5022 GB, free: 5.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.26e-06/0.4647, allocations: 1.188 kB / 0.5022 GB, free: 5.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.154e-05/0.4648, allocations: 3.938 kB / 0.5022 GB, free: 5.348 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.004194/0.469, allocations: 2.058 MB / 0.5042 GB, free: 3.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.4691, allocations: 12.27 kB / 0.5042 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.4703, allocations: 275.2 kB / 0.5044 GB, free: 3.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.4724, allocations: 1.15 MB / 0.5056 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.292e-05/0.4725, allocations: 96.45 kB / 0.5057 GB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.4727, allocations: 129.3 kB / 0.5058 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005721/0.4784, allocations: 2.981 MB / 0.5087 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.896e-05/0.4785, allocations: 10.22 kB / 0.5087 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.4787, allocations: 54.5 kB / 0.5088 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007233/0.4794, allocations: 443.3 kB / 0.5092 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005202/0.4846, allocations: 2.159 MB / 0.5113 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01882/0.5034, allocations: 10.73 MB / 0.5218 GB, free: 6.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/0.5075, allocations: 1.222 MB / 0.523 GB, free: 4.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005982/0.5081, allocations: 411.2 kB / 0.5234 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004107/0.5122, allocations: 3.002 MB / 0.5263 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.5123, allocations: 39 kB / 0.5263 GB, free: 1.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=51): time 3.216e-06/0.5123, allocations: 0 / 0.5263 GB, free: 1.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.01181/0.5241, allocations: 3.806 MB / 0.53 GB, free: 13.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/0.5242, allocations: 81.67 kB / 0.5301 GB, free: 13.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.5259, allocations: 1.206 MB / 0.5313 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.526, allocations: 37.7 kB / 0.5313 GB, free: 11.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007097/0.5267, allocations: 0.9625 MB / 0.5323 GB, free: 10.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.5269, allocations: 226.2 kB / 0.5325 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004007/0.5273, allocations: 315.3 kB / 0.5328 GB, free: 10.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5275, allocations: 309.1 kB / 0.5331 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006259/0.5281, allocations: 419.7 kB / 0.5335 GB, free: 9.645 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.5294, allocations: 1.254 MB / 0.5347 GB, free: 7.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002707/0.5321, allocations: 1.81 MB / 0.5365 GB, free: 5.754 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/0.5322, allocations: 8 kB / 0.5365 GB, free: 5.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003441/0.5356, allocations: 1.73 MB / 0.5382 GB, free: 4.004 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.951e-05/0.5357, allocations: 17 kB / 0.5382 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.351e-05/0.5357, allocations: 31.94 kB / 0.5382 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/0.5361, allocations: 100.8 kB / 0.5383 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.5372, allocations: 351.4 kB / 0.5387 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.5392, allocations: 1.884 MB / 0.5405 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.5404, allocations: 63.98 kB / 0.5406 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.5405, allocations: 88 kB / 0.5406 GB, free: 1.336 MB / 414.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.001203/0.5417, allocations: 0.6439 MB / 0.5413 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.5419, allocations: 127.3 kB / 0.5414 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.5432, allocations: 0.7069 MB / 0.5421 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.5432, allocations: 8 kB / 0.5421 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5432, allocations: 0 / 0.5421 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.5432, allocations: 3.984 kB / 0.5421 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/0.5467, allocations: 2.243 MB / 0.5443 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.5467, allocations: 4 kB / 0.5443 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.5471, allocations: 87.89 kB / 0.5444 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000207/0.5473, allocations: 68.75 kB / 0.5444 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.5474, allocations: 19.94 kB / 0.5445 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.5491, allocations: 1.94 MB / 0.5463 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.5491, allocations: 11.88 kB / 0.5464 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.5506, allocations: 1.101 MB / 0.5474 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.551, allocations: 224.3 kB / 0.5476 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.5511, allocations: 19.94 kB / 0.5477 GB, free: 9.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/0.5514, allocations: 19.98 kB / 0.5477 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.5515, allocations: 47.95 kB / 0.5477 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.5516, allocations: 20 kB / 0.5477 GB, free: 9.703 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001033/0.5526, allocations: 0.7677 MB / 0.5485 GB, free: 8.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5526, allocations: 3.938 kB / 0.5485 GB, free: 8.926 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001492/0.5541, allocations: 300 kB / 0.5488 GB, free: 8.633 MB / 430.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.0002582/0.5544, allocations: 135 kB / 0.5489 GB, free: 8.488 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.5562, allocations: 1.107 MB / 0.55 GB, free: 7.371 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.5562, allocations: 1.5 kB / 0.55 GB, free: 7.371 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006073/0.5568, allocations: 415.5 kB / 0.5504 GB, free: 6.953 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.5579, allocations: 205.6 kB / 0.5506 GB, free: 6.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004763/0.5627, allocations: 2.865 MB / 0.5534 GB, free: 3.805 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.5639, allocations: 1.458 MB / 0.5548 GB, free: 2.312 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009117/0.5648, allocations: 409.7 kB / 0.5552 GB, free: 1.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.565, allocations: 75.44 kB / 0.5553 GB, free: 1.836 MB / 430.1 MB Notification: Performance of SimCode: time 3.427e-06/0.565, allocations: 0 / 0.5553 GB, free: 1.836 MB / 430.1 MB Notification: Performance of Templates: time 0.02184/0.5869, allocations: 10.86 MB / 0.5659 GB, free: 6.984 MB / 446.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)