Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001673/0.001673, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001953/0.001953, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 247 MB, free: 10.44 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.13 MB / 344.4 MB, free: 11.44 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.002246/0.002246, allocations: 75.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4187, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01362/0.4324, allocations: 9.57 MB / 0.54 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009088/0.4415, allocations: 3.216 MB / 0.5431 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/0.4443, allocations: 47.84 kB / 0.5431 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005815/0.4502, allocations: 2.641 MB / 0.5457 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.4528, allocations: 0.5966 MB / 0.5463 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.4545, allocations: 0.5189 MB / 0.5468 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002823/0.4573, allocations: 1.486 MB / 0.5483 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003917/0.4612, allocations: 3.219 MB / 0.5514 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.463, allocations: 0.9581 MB / 0.5523 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002064/0.4651, allocations: 1.258 MB / 0.5536 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006437/0.4658, allocations: 268 kB / 0.5538 GB, free: 9.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.4675, allocations: 0.8075 MB / 0.5546 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.4688, allocations: 1.154 MB / 0.5557 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001931/0.4708, allocations: 1.352 MB / 0.5571 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006807/0.4776, allocations: 4.437 MB / 0.5614 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4776, allocations: 0 / 0.5614 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4776, allocations: 0 / 0.5614 GB, free: 2.043 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001617/0.4778, allocations: 0 / 0.5614 GB, free: 2.043 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.006974/0.4848, allocations: 2.847 MB / 0.5642 GB, free: 15.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4849, allocations: 12.03 kB / 0.5642 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006093/0.4855, allocations: 422.9 kB / 0.5646 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.4868, allocations: 370.8 kB / 0.5649 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.4894, allocations: 1.236 MB / 0.5662 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.4895, allocations: 168.4 kB / 0.5663 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004158/0.49, allocations: 235.8 kB / 0.5665 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01352/0.5035, allocations: 5.612 MB / 0.572 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.122e-05/0.5036, allocations: 19.88 kB / 0.572 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000252/0.5039, allocations: 99.94 kB / 0.5721 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00116/0.505, allocations: 0.7734 MB / 0.5729 GB, free: 5.859 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.5163, allocations: 4.287 MB / 0.5771 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02354/0.5398, allocations: 17.09 MB / 0.5938 GB, free: 24 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004156/0.544, allocations: 1.251 MB / 0.595 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006579/0.5447, allocations: 394.3 kB / 0.5954 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002085/0.5468, allocations: 2.137 MB / 0.5974 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.5469, allocations: 47 kB / 0.5975 GB, free: 11.83 MB / 462.1 MB Notification: Performance of pre-optimization done (n=65): time 2.795e-06/0.5469, allocations: 7.938 kB / 0.5975 GB, free: 11.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=109): time 0.02126/0.5682, allocations: 5.393 MB / 0.6028 GB, free: 6.422 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.5683, allocations: 68.39 kB / 0.6028 GB, free: 6.344 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002586/0.5709, allocations: 1.721 MB / 0.6045 GB, free: 4.613 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.991e-05/0.571, allocations: 45.7 kB / 0.6046 GB, free: 4.562 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.5722, allocations: 1.562 MB / 0.6061 GB, free: 2.984 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003939/0.5726, allocations: 420.6 kB / 0.6065 GB, free: 2.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007189/0.5733, allocations: 0.5286 MB / 0.607 GB, free: 2.035 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5735, allocations: 301.1 kB / 0.6073 GB, free: 1.738 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.5748, allocations: 0.7782 MB / 0.608 GB, free: 0.957 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002497/0.5773, allocations: 2.227 MB / 0.6102 GB, free: 14.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004441/0.5818, allocations: 3.279 MB / 0.6134 GB, free: 10.03 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.875e-05/0.5819, allocations: 12 kB / 0.6134 GB, free: 10.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.005272/0.5871, allocations: 3.017 MB / 0.6164 GB, free: 6.996 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.5872, allocations: 28.03 kB / 0.6164 GB, free: 6.969 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.113e-05/0.5873, allocations: 52 kB / 0.6165 GB, free: 6.918 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.362e-05/0.5874, allocations: 68 kB / 0.6165 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.5892, allocations: 0.6004 MB / 0.6171 GB, free: 6.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.633e-05/0.5893, allocations: 99.64 kB / 0.6172 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.5908, allocations: 115.9 kB / 0.6173 GB, free: 6.039 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/0.591, allocations: 148 kB / 0.6175 GB, free: 5.895 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (340): * Single equations (assignments): 340 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001864/0.5929, allocations: 1.141 MB / 0.6186 GB, free: 4.746 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003755/0.5933, allocations: 170.8 kB / 0.6187 GB, free: 4.578 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.5938, allocations: 204.8 kB / 0.6189 GB, free: 4.371 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.5938, allocations: 12 kB / 0.6189 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.5938, allocations: 0 / 0.6189 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.5938, allocations: 7.984 kB / 0.6189 GB, free: 4.352 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.6043, allocations: 6.062 MB / 0.6249 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/0.6044, allocations: 20 kB / 0.6249 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006933/0.6051, allocations: 208.4 kB / 0.6251 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.099e-05/0.6051, allocations: 28 kB / 0.6251 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.6e-05/0.6052, allocations: 48 kB / 0.6252 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.731e-05/0.6053, allocations: 47.78 kB / 0.6252 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.239e-05/0.6053, allocations: 31.81 kB / 0.6252 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.6076, allocations: 1.681 MB / 0.6269 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005451/0.6082, allocations: 267.9 kB / 0.6271 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.6084, allocations: 47.92 kB / 0.6272 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006369/0.609, allocations: 40 kB / 0.6272 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.6092, allocations: 139.3 kB / 0.6273 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.6093, allocations: 56 kB / 0.6274 GB, free: 11.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001776/0.6111, allocations: 1.135 MB / 0.6285 GB, free: 9.898 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6111, allocations: 0 / 0.6285 GB, free: 9.898 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002357/0.6135, allocations: 467.9 kB / 0.629 GB, free: 9.441 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * 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 (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00294/0.6164, allocations: 2.327 MB / 0.6312 GB, free: 6.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003431/0.6199, allocations: 1.824 MB / 0.633 GB, free: 5.008 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.879e-05/0.6199, allocations: 4.375 kB / 0.633 GB, free: 5.004 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008324/0.6208, allocations: 494.4 kB / 0.6335 GB, free: 4.523 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.6226, allocations: 286.3 kB / 0.6338 GB, free: 4.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03202/0.6546, allocations: 19.78 MB / 0.6531 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002586/0.6573, allocations: 2.073 MB / 0.6551 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001891/0.6592, allocations: 0.6711 MB / 0.6557 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/0.6606, allocations: 0.9562 MB / 0.6567 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/0.6606, allocations: 0 / 0.6567 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07538/0.736, allocations: 34.95 MB / 0.6908 GB, free: 7.516 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.49, allocations: 16.92 kB / 0.6908 GB, free: 7.5 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1)