Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.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 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 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) 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007652/0.0007652, allocations: 92.55 kB / 17 MB, free: 6.418 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.0007608/0.0007607, allocations: 188.9 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.3 MB / 241.9 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2278/0.2278, allocations: 44.23 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003288, allocations: 8.625 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1356, allocations: 61.92 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.04077/0.1764, allocations: 43.66 MB / 0.5032 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.364/0.5405, allocations: 10.11 MB / 0.5131 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01352/0.554, allocations: 212.3 kB / 0.5133 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009826/0.5639, allocations: 2.24 MB / 0.5155 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02469/0.5886, allocations: 6.797 MB / 0.5221 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005381/0.594, allocations: 0.9778 MB / 0.5231 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04708/0.6411, allocations: 34.07 MB / 0.5564 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/0.6519, allocations: 6.288 MB / 0.5625 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004398/0.6564, allocations: 1.69 MB / 0.5641 GB, free: 44 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005248/0.6617, allocations: 2.68 MB / 0.5668 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001118/0.6628, allocations: 200 kB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.6662, allocations: 1.205 MB / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00367/0.6699, allocations: 2.275 MB / 0.5704 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002438/0.6723, allocations: 1.094 MB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01235/0.6847, allocations: 7.879 MB / 0.5791 GB, free: 3.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.6847, allocations: 7.938 kB / 0.5791 GB, free: 3.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.6848, allocations: 3.984 kB / 0.5791 GB, free: 3.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003457/0.6851, allocations: 4 kB / 0.5791 GB, free: 3.273 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01574/0.7009, allocations: 5.581 MB / 0.5846 GB, free: 14.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.7009, allocations: 8.031 kB / 0.5846 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003288/0.7042, allocations: 0.9211 MB / 0.5855 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06828/0.7725, allocations: 7.597 MB / 0.5929 GB, free: 6.035 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/0.7835, allocations: 4.222 MB / 0.597 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004727/0.784, allocations: 345.2 kB / 0.5974 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002424/0.7864, allocations: 430.8 kB / 0.5978 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02873/0.8152, allocations: 13.78 MB / 0.6112 GB, free: 2.645 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001945/0.8154, allocations: 55.53 kB / 0.6113 GB, free: 2.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007673/0.8162, allocations: 194.6 kB / 0.6115 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003572/0.8198, allocations: 2.414 MB / 0.6138 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02593/0.8457, allocations: 11.58 MB / 0.6251 GB, free: 4.445 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06842/0.9141, allocations: 51.32 MB / 0.6753 GB, free: 15.94 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/0.9257, allocations: 4.655 MB / 0.6798 GB, free: 11.13 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003817/0.9296, allocations: 2.77 MB / 0.6825 GB, free: 8.34 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01762/0.9472, allocations: 12.35 MB / 0.6946 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.9473, allocations: 59.81 kB / 0.6946 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=191): time 4.087e-06/0.9473, allocations: 0 / 0.6946 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=242): time 0.4183/1.366, allocations: 42.32 MB / 0.7359 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/1.366, allocations: 242.7 kB / 0.7362 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006756/1.372, allocations: 4.765 MB / 0.7408 GB, free: 177.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006131/1.373, allocations: 61.7 kB / 0.7409 GB, free: 177.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002208/1.375, allocations: 3.9 MB / 0.7447 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001352/1.377, allocations: 0.9144 MB / 0.7456 GB, free: 173 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004555/1.377, allocations: 140 kB / 0.7457 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003406/1.378, allocations: 0.6078 MB / 0.7463 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004527/1.382, allocations: 3.23 MB / 0.7495 GB, free: 169 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006802/1.389, allocations: 7.519 MB / 0.7568 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006996/1.396, allocations: 4.767 MB / 0.7615 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.179e-05/1.396, allocations: 48 kB / 0.7615 GB, free: 154.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02611/1.422, allocations: 13.79 MB / 0.775 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.641e-05/1.422, allocations: 72 kB / 0.7751 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/1.422, allocations: 148 kB / 0.7752 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009949/1.432, allocations: 3.8 MB / 0.7789 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005515/1.438, allocations: 1.595 MB / 0.7805 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02365/1.462, allocations: 18.02 MB / 0.7981 GB, free: 117 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006722/1.468, allocations: 444.6 kB / 0.7985 GB, free: 116.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/1.47, allocations: 436.9 kB / 0.7989 GB, free: 116.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 853 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005736/1.476, allocations: 2.654 MB / 0.8015 GB, free: 113.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.477, allocations: 434.4 kB / 0.8019 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/1.492, allocations: 8.126 MB / 0.8098 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.656e-05/1.492, allocations: 28 kB / 0.8099 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.406e-05/1.493, allocations: 12 kB / 0.8099 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.938e-05/1.493, allocations: 7.969 kB / 0.8099 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03059/1.523, allocations: 17.34 MB / 0.8268 GB, free: 87.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-05/1.523, allocations: 0 / 0.8268 GB, free: 87.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/1.525, allocations: 395.4 kB / 0.8272 GB, free: 87.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009958/1.535, allocations: 3.823 MB / 0.8309 GB, free: 83.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005627/1.536, allocations: 40 kB / 0.831 GB, free: 83.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02013/1.556, allocations: 16.45 MB / 0.847 GB, free: 66.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.556, allocations: 0 / 0.847 GB, free: 66.67 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02034/1.576, allocations: 12.5 MB / 0.8592 GB, free: 54.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/1.578, allocations: 475.3 kB / 0.8597 GB, free: 53.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007684/1.579, allocations: 36.86 kB / 0.8597 GB, free: 53.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/1.581, allocations: 208.2 kB / 0.8599 GB, free: 53.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004893/1.581, allocations: 146.8 kB / 0.8601 GB, free: 53.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/1.581, allocations: 60.94 kB / 0.8601 GB, free: 53.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004479/1.586, allocations: 2.979 MB / 0.863 GB, free: 50.25 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.31e-07/1.586, allocations: 0 / 0.863 GB, free: 50.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007567/1.593, allocations: 1.45 MB / 0.8645 GB, free: 48.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02118/1.615, allocations: 13.19 MB / 0.8773 GB, free: 35.58 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01186/1.626, allocations: 7.852 MB / 0.885 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.627, allocations: 0 / 0.885 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003806/1.63, allocations: 2.968 MB / 0.8879 GB, free: 24.76 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003242/1.634, allocations: 0.522 MB / 0.8884 GB, free: 24.24 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3573/1.991, allocations: 50.05 MB / 0.9373 GB, free: 155.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004979/1.996, allocations: 4.099 MB / 0.9413 GB, free: 154 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005543/2.002, allocations: 2.169 MB / 0.9434 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004001/2.006, allocations: 2.485 MB / 0.9458 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.453e-06/2.006, allocations: 0 / 0.9458 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.217/2.223, allocations: 110.5 MB / 1.054 GB, free: 41.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/2.223, allocations: 195.6 kB / 1.054 GB, free: 40.94 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.994/7.217, allocations: 4 kB / 1.054 GB, free: 40.94 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat does not exist to compare? outputFormat=mat