Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009197/0.0009201, allocations: 88.89 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3551/0.3551, allocations: 44.23 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 8 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3768, allocations: 61.9 MB / 0.5096 GB, free: 37.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.531, allocations: 111.8 MB / 0.6188 GB, free: 15.14 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.5314, allocations: 87.92 kB / 0.6189 GB, free: 15.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5007/1.032, allocations: 66.79 MB / 0.6842 GB, free: 97.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.815e-06/1.032, allocations: 6.031 kB / 0.6842 GB, free: 97.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001478/1.032, allocations: 73.25 kB / 0.6842 GB, free: 97.02 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.01194/1.044, allocations: 3.952 MB / 0.6881 GB, free: 95.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/1.044, allocations: 8.844 kB / 0.6881 GB, free: 95.56 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002937/1.047, allocations: 0.607 MB / 0.6887 GB, free: 95.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004002/1.051, allocations: 0.6491 MB / 0.6893 GB, free: 95.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007014/1.058, allocations: 2.423 MB / 0.6917 GB, free: 94.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002961/1.059, allocations: 284.2 kB / 0.692 GB, free: 94.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001549/1.06, allocations: 360 kB / 0.6923 GB, free: 94.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02192/1.082, allocations: 9.004 MB / 0.7011 GB, free: 93.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.222e-05/1.082, allocations: 18.69 kB / 0.7011 GB, free: 93.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005362/1.083, allocations: 164.8 kB / 0.7013 GB, free: 93.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001139/1.084, allocations: 0.6756 MB / 0.7019 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/1.103, allocations: 8.039 MB / 0.7098 GB, free: 92.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0458/1.149, allocations: 28.25 MB / 0.7374 GB, free: 75.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008274/1.157, allocations: 3.013 MB / 0.7403 GB, free: 74.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/1.168, allocations: 8.645 MB / 0.7487 GB, free: 69.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/1.169, allocations: 47.23 kB / 0.7488 GB, free: 69.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.246e-06/1.169, allocations: 0 / 0.7488 GB, free: 69.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.02153/1.19, allocations: 7.456 MB / 0.7561 GB, free: 66.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/1.19, allocations: 63.56 kB / 0.7561 GB, free: 66.74 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003021/1.193, allocations: 2.297 MB / 0.7584 GB, free: 65.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001335/1.193, allocations: 44.95 kB / 0.7584 GB, free: 65.78 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001104/1.194, allocations: 2.139 MB / 0.7605 GB, free: 64.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/1.195, allocations: 431.5 kB / 0.7609 GB, free: 63.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/1.195, allocations: 73.25 kB / 0.761 GB, free: 63.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/1.195, allocations: 467.4 kB / 0.7614 GB, free: 63.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/1.197, allocations: 1.385 MB / 0.7628 GB, free: 62.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/1.2, allocations: 3.437 MB / 0.7661 GB, free: 59.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/1.202, allocations: 2.097 MB / 0.7682 GB, free: 58.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.91e-05/1.202, allocations: 22.53 kB / 0.7682 GB, free: 58.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.005935/1.208, allocations: 4.815 MB / 0.7729 GB, free: 56.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/1.208, allocations: 36.09 kB / 0.773 GB, free: 56.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.68e-05/1.208, allocations: 72.41 kB / 0.773 GB, free: 56.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-05/1.208, allocations: 108.4 kB / 0.7731 GB, free: 56.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002773/1.211, allocations: 0.893 MB / 0.774 GB, free: 56.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001073/1.211, allocations: 151.1 kB / 0.7741 GB, free: 56.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/1.214, allocations: 226.3 kB / 0.7744 GB, free: 56.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002977/1.214, allocations: 216.6 kB / 0.7746 GB, free: 56.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.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 (476): * Single equations (assignments): 475 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002315/1.217, allocations: 1.589 MB / 0.7761 GB, free: 55.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003241/1.217, allocations: 219.5 kB / 0.7763 GB, free: 55.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/1.22, allocations: 2.102 MB / 0.7784 GB, free: 54.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/1.22, allocations: 7.719 kB / 0.7784 GB, free: 54.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.22, allocations: 5.875 kB / 0.7784 GB, free: 54.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/1.22, allocations: 7.328 kB / 0.7784 GB, free: 54.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008053/1.228, allocations: 6.427 MB / 0.7847 GB, free: 49.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.228, allocations: 19.47 kB / 0.7847 GB, free: 49.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/1.229, allocations: 290.5 kB / 0.785 GB, free: 49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.52e-05/1.229, allocations: 28 kB / 0.785 GB, free: 48.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-05/1.229, allocations: 44 kB / 0.785 GB, free: 48.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.841e-05/1.229, allocations: 42.34 kB / 0.7851 GB, free: 48.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/1.229, allocations: 23.88 kB / 0.7851 GB, free: 48.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/1.232, allocations: 4.034 MB / 0.789 GB, free: 44.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005943/1.232, allocations: 332.5 kB / 0.7894 GB, free: 44.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/1.232, allocations: 50.8 kB / 0.7894 GB, free: 44.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009083/1.233, allocations: 78.09 kB / 0.7895 GB, free: 43.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/1.234, allocations: 146.2 kB / 0.7896 GB, free: 43.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/1.234, allocations: 64 kB / 0.7897 GB, free: 43.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002335/1.236, allocations: 1.618 MB / 0.7913 GB, free: 42.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.236, allocations: 0 / 0.7913 GB, free: 42.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004437/1.24, allocations: 0.6989 MB / 0.7919 GB, free: 41.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * 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 (157): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004625/1.245, allocations: 9.217 MB / 0.8009 GB, free: 32.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004243/1.249, allocations: 3.061 MB / 0.8039 GB, free: 29.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.249, allocations: 4 kB / 0.8039 GB, free: 29.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008952/1.25, allocations: 0.8956 MB / 0.8048 GB, free: 28.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/1.252, allocations: 331.8 kB / 0.8051 GB, free: 28.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03697/1.289, allocations: 61.63 MB / 0.8653 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003358/1.292, allocations: 2.741 MB / 0.868 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003006/1.295, allocations: 0.9736 MB / 0.8689 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002207/1.297, allocations: 1.372 MB / 0.8703 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of SimCode: time 2.214e-06/1.298, allocations: 0 / 0.8703 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3661/1.664, allocations: 51.88 MB / 0.9209 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/1.664, allocations: 167.2 kB / 0.9211 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.654/5.318, allocations: 0 / 0.9211 GB, free: 129.7 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat