Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001482/0.001482, allocations: 119 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001626/0.001626, allocations: 204.7 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 247 MB, free: 10.46 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.2437/0.2437, allocations: 46.11 MB / 344.3 MB, free: 11.47 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.002286/0.002287, allocations: 83.84 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3648, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01308/0.3779, allocations: 9.576 MB / 0.54 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009362/0.3874, allocations: 3.425 MB / 0.5433 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002631/0.39, allocations: 51.34 kB / 0.5433 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005691/0.3958, allocations: 2.597 MB / 0.5459 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.3982, allocations: 0.5872 MB / 0.5465 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.4003, allocations: 0.7294 MB / 0.5472 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002952/0.4032, allocations: 1.567 MB / 0.5487 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004199/0.4075, allocations: 3.286 MB / 0.5519 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.4091, allocations: 0.9972 MB / 0.5529 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00187/0.411, allocations: 1.297 MB / 0.5542 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004915/0.4115, allocations: 276 kB / 0.5544 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.4136, allocations: 1.018 MB / 0.5554 GB, free: 8.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.4149, allocations: 1.165 MB / 0.5565 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.4167, allocations: 1.36 MB / 0.5579 GB, free: 5.684 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006716/0.4235, allocations: 4.679 MB / 0.5624 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4235, allocations: 0 / 0.5624 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4235, allocations: 0 / 0.5624 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001198/0.4236, allocations: 0 / 0.5624 GB, free: 0.9883 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.008595/0.4322, allocations: 2.99 MB / 0.5654 GB, free: 13.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.4323, allocations: 8.031 kB / 0.5654 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001044/0.4334, allocations: 435 kB / 0.5658 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.435, allocations: 374.8 kB / 0.5661 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/0.4377, allocations: 1.307 MB / 0.5674 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.4379, allocations: 164.2 kB / 0.5676 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003944/0.4383, allocations: 215.9 kB / 0.5678 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01559/0.4539, allocations: 6.488 MB / 0.5741 GB, free: 4.617 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.486e-05/0.454, allocations: 19.86 kB / 0.5741 GB, free: 4.598 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002681/0.4543, allocations: 99.94 kB / 0.5742 GB, free: 4.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001314/0.4556, allocations: 0.8046 MB / 0.575 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01428/0.4699, allocations: 5.477 MB / 0.5804 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02728/0.4972, allocations: 19 MB / 0.5989 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007264/0.5046, allocations: 1.817 MB / 0.6007 GB, free: 8.871 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.5057, allocations: 0.69 MB / 0.6014 GB, free: 8.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007027/0.5127, allocations: 4.801 MB / 0.6061 GB, free: 2.961 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/0.5128, allocations: 47.11 kB / 0.6061 GB, free: 2.902 MB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 2.735e-06/0.5128, allocations: 0 / 0.6061 GB, free: 2.902 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.04016/0.553, allocations: 8.778 MB / 0.6147 GB, free: 10.12 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/0.5531, allocations: 64.41 kB / 0.6147 GB, free: 10.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003003/0.5561, allocations: 1.838 MB / 0.6165 GB, free: 8.203 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002185/0.5564, allocations: 41.7 kB / 0.6166 GB, free: 8.156 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.5577, allocations: 1.581 MB / 0.6181 GB, free: 6.559 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004837/0.5582, allocations: 432.6 kB / 0.6185 GB, free: 6.133 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000887/0.5591, allocations: 0.5484 MB / 0.6191 GB, free: 5.578 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.5593, allocations: 305.1 kB / 0.6194 GB, free: 5.277 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.561, allocations: 1.02 MB / 0.6204 GB, free: 4.254 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003104/0.5641, allocations: 2.529 MB / 0.6228 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005119/0.5692, allocations: 3.815 MB / 0.6265 GB, free: 12.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.812e-05/0.5693, allocations: 16 kB / 0.6266 GB, free: 12.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006047/0.5753, allocations: 3.548 MB / 0.63 GB, free: 8.859 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.82e-05/0.5754, allocations: 32.03 kB / 0.6301 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.2e-05/0.5755, allocations: 52 kB / 0.6301 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8e-05/0.5756, allocations: 72 kB / 0.6302 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/0.5779, allocations: 0.6667 MB / 0.6308 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.303e-05/0.578, allocations: 103.6 kB / 0.6309 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.5798, allocations: 147.9 kB / 0.6311 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002911/0.5801, allocations: 160 kB / 0.6312 GB, free: 7.637 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (352): * Single equations (assignments): 352 * 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.0018/0.5819, allocations: 1.137 MB / 0.6323 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/0.5822, allocations: 174.8 kB / 0.6325 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.5854, allocations: 1.761 MB / 0.6342 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.5854, allocations: 8 kB / 0.6342 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5854, allocations: 48 / 0.6342 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.5854, allocations: 7.969 kB / 0.6342 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009407/0.5948, allocations: 5.432 MB / 0.6395 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.5949, allocations: 12 kB / 0.6395 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008506/0.5958, allocations: 211.8 kB / 0.6397 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-05/0.5958, allocations: 16 kB / 0.6398 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.93e-05/0.5959, allocations: 36 kB / 0.6398 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.601e-05/0.5959, allocations: 27.86 kB / 0.6398 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.371e-05/0.5959, allocations: 15.94 kB / 0.6398 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.5983, allocations: 1.703 MB / 0.6415 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/0.5987, allocations: 263.8 kB / 0.6418 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.5989, allocations: 43.92 kB / 0.6418 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/0.5996, allocations: 35.98 kB / 0.6418 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.5998, allocations: 108.1 kB / 0.6419 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.816e-05/0.5999, allocations: 44 kB / 0.642 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001973/0.6019, allocations: 1.199 MB / 0.6431 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6019, allocations: 0 / 0.6431 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00308/0.605, allocations: 0.496 MB / 0.6436 GB, free: 10.48 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (111): * Single equations (assignments): 111 * 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.003197/0.6082, allocations: 2.319 MB / 0.6459 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004148/0.6124, allocations: 2.234 MB / 0.6481 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/0.6124, allocations: 0 / 0.6481 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.6135, allocations: 0.6068 MB / 0.6487 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.6152, allocations: 262 kB / 0.6489 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03682/0.652, allocations: 21.16 MB / 0.6696 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00269/0.6547, allocations: 2.067 MB / 0.6716 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002153/0.6569, allocations: 0.7266 MB / 0.6723 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/0.6586, allocations: 0.964 MB / 0.6733 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/0.6586, allocations: 0 / 0.6733 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08608/0.7447, allocations: 39.04 MB / 0.7114 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.82, allocations: 4 kB / 0.7114 GB, free: 2.805 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1)