Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2427/0.2427, allocations: 46.1 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002799/0.002799, allocations: 77.44 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1936, allocations: 62.46 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02009/0.2137, allocations: 8.63 MB / 488.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007625/0.2214, allocations: 3.467 MB / 492.3 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.2229, allocations: 43.88 kB / 492.4 MB, free: 8.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002876/0.2259, allocations: 1.367 MB / 493.7 MB, free: 7.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002802/0.2287, allocations: 0.9134 MB / 494.6 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.2301, allocations: 0.5108 MB / 495.1 MB, free: 6.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002834/0.2329, allocations: 1.722 MB / 496.9 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002683/0.2356, allocations: 1.659 MB / 498.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.237, allocations: 0.662 MB / 499.2 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.2386, allocations: 0.884 MB / 0.4884 GB, free: 1.148 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002954/0.2389, allocations: 140 kB / 0.4885 GB, free: 1.012 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.2404, allocations: 0.5695 MB / 0.489 GB, free: 452 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009899/0.2414, allocations: 0.721 MB / 0.4897 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.2425, allocations: 0.8315 MB / 0.4906 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003865/0.2464, allocations: 2.422 MB / 0.4929 GB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.2464, allocations: 4 kB / 0.4929 GB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.2465, allocations: 7.875 kB / 0.4929 GB, free: 12.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.624e-05/0.2465, allocations: 0 / 0.4929 GB, free: 12.44 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.004346/0.2509, allocations: 1.998 MB / 0.4949 GB, free: 10.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.2509, allocations: 8.031 kB / 0.4949 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003096/0.2513, allocations: 241.5 kB / 0.4951 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.2525, allocations: 274.6 kB / 0.4954 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.255, allocations: 1.262 MB / 0.4966 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.819e-05/0.2551, allocations: 94.39 kB / 0.4967 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.2553, allocations: 139.9 kB / 0.4968 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006243/0.2615, allocations: 2.996 MB / 0.4998 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.788e-05/0.2616, allocations: 11.94 kB / 0.4998 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.2618, allocations: 51.98 kB / 0.4998 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006893/0.2625, allocations: 434 kB / 0.5002 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005417/0.2679, allocations: 2.175 MB / 0.5024 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2648/0.5327, allocations: 10.73 MB / 0.5128 GB, free: 34.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004297/0.537, allocations: 1.255 MB / 0.5141 GB, free: 34.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006558/0.5377, allocations: 409.8 kB / 0.5145 GB, free: 34.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004117/0.5419, allocations: 3.072 MB / 0.5175 GB, free: 32.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.5419, allocations: 38.06 kB / 0.5175 GB, free: 32.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.405e-06/0.5419, allocations: 0 / 0.5175 GB, free: 32.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01513/0.5571, allocations: 3.788 MB / 0.5212 GB, free: 30.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.5572, allocations: 84.5 kB / 0.5213 GB, free: 30.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/0.5599, allocations: 1.193 MB / 0.5224 GB, free: 30.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/0.56, allocations: 40.27 kB / 0.5225 GB, free: 30.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007745/0.5608, allocations: 0.939 MB / 0.5234 GB, free: 29.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.561, allocations: 211.5 kB / 0.5236 GB, free: 29.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005065/0.5615, allocations: 313.2 kB / 0.5239 GB, free: 29.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.634e-05/0.5616, allocations: 303.4 kB / 0.5242 GB, free: 28.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007712/0.5624, allocations: 412.5 kB / 0.5246 GB, free: 28.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.5636, allocations: 1.252 MB / 0.5258 GB, free: 27.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.5656, allocations: 1.802 MB / 0.5276 GB, free: 25.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.264e-05/0.5657, allocations: 8.562 kB / 0.5276 GB, free: 25.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003006/0.5687, allocations: 1.714 MB / 0.5292 GB, free: 25.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.5687, allocations: 19.53 kB / 0.5293 GB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.428e-05/0.5688, allocations: 28.06 kB / 0.5293 GB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/0.5691, allocations: 87.5 kB / 0.5294 GB, free: 25.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.5702, allocations: 363.6 kB / 0.5297 GB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.5716, allocations: 1.878 MB / 0.5316 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.5729, allocations: 70.05 kB / 0.5316 GB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.5731, allocations: 85.56 kB / 0.5317 GB, free: 23.2 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 (190): * Single equations (assignments): 189 * 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.001142/0.5742, allocations: 0.6452 MB / 0.5323 GB, free: 22.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.5746, allocations: 115.9 kB / 0.5324 GB, free: 22.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.5749, allocations: 137.9 kB / 0.5326 GB, free: 22.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.5749, allocations: 5.5 kB / 0.5326 GB, free: 22.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/0.5749, allocations: 0.9688 kB / 0.5326 GB, free: 22.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.5749, allocations: 4.953 kB / 0.5326 GB, free: 22.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004018/0.579, allocations: 2.245 MB / 0.5348 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.579, allocations: 3.969 kB / 0.5348 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.5794, allocations: 100.2 kB / 0.5349 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001878/0.5796, allocations: 69.22 kB / 0.5349 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.5796, allocations: 19.69 kB / 0.535 GB, free: 21.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/0.5809, allocations: 1.938 MB / 0.5369 GB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.581, allocations: 10.5 kB / 0.5369 GB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.5824, allocations: 1.104 MB / 0.5379 GB, free: 18.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/0.5827, allocations: 181.1 kB / 0.5381 GB, free: 18.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.5829, allocations: 16.25 kB / 0.5381 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/0.5834, allocations: 32.34 kB / 0.5382 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.5834, allocations: 44.58 kB / 0.5382 GB, free: 18.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.5835, allocations: 17.72 kB / 0.5382 GB, free: 18.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001051/0.5845, allocations: 0.7639 MB / 0.539 GB, free: 17.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5845, allocations: 4 kB / 0.539 GB, free: 17.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00169/0.5862, allocations: 290.7 kB / 0.5392 GB, free: 17.88 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.001775/0.588, allocations: 1.693 MB / 0.5409 GB, free: 16.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001857/0.5899, allocations: 1.198 MB / 0.5421 GB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5899, allocations: 0 / 0.5421 GB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004793/0.5904, allocations: 422.8 kB / 0.5425 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.5914, allocations: 189.6 kB / 0.5427 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/0.6082, allocations: 12.04 MB / 0.5544 GB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/0.6098, allocations: 1.451 MB / 0.5558 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001196/0.611, allocations: 409.5 kB / 0.5562 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000819/0.6119, allocations: 0.5812 MB / 0.5568 GB, free: 14.62 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6119, allocations: 0 / 0.5568 GB, free: 14.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07877/0.6907, allocations: 22.48 MB / 0.5787 GB, free: 8.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/11.12, allocations: 13.53 kB / 0.5788 GB, free: 8.34 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1)