Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_3_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.0007685/0.0007684, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009536/0.0009538, allocations: 175.2 kB / 16.58 MB, free: 5.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.4 MB / 222.7 MB, free: 5.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3653/0.3653, allocations: 43.56 MB / 314.6 MB, free: 8.867 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004729, allocations: 16 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.117, allocations: 58.87 MB / 442.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.2744/0.3914, allocations: 43.69 MB / 486.6 MB, free: 23.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02238/0.4138, allocations: 10.12 MB / 496.7 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01057/0.4244, allocations: 206.9 kB / 496.9 MB, free: 16.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007094/0.4315, allocations: 2.233 MB / 499.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01946/0.451, allocations: 6.794 MB / 0.4941 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006174/0.4572, allocations: 0.9818 MB / 0.495 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03147/0.4887, allocations: 20.49 MB / 0.515 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009583/0.4983, allocations: 6.292 MB / 0.5212 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004453/0.5028, allocations: 1.705 MB / 0.5228 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005368/0.5082, allocations: 2.68 MB / 0.5255 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001544/0.5098, allocations: 200 kB / 0.5256 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003647/0.5135, allocations: 1.205 MB / 0.5268 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003791/0.5173, allocations: 2.283 MB / 0.5291 GB, free: 7.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002257/0.5195, allocations: 1.092 MB / 0.5301 GB, free: 6.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.5299, allocations: 7.899 MB / 0.5378 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5299, allocations: 0 / 0.5378 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.5299, allocations: 0 / 0.5378 GB, free: 14.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003637/0.5303, allocations: 3.938 kB / 0.5378 GB, free: 14.86 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.01541/0.5457, allocations: 5.592 MB / 0.5433 GB, free: 9.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.5458, allocations: 12.03 kB / 0.5433 GB, free: 9.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00348/0.5493, allocations: 0.9214 MB / 0.5442 GB, free: 8.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06908/0.6184, allocations: 7.605 MB / 0.5516 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009715/0.6281, allocations: 4.525 MB / 0.5561 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003627/0.6285, allocations: 349.8 kB / 0.5564 GB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001407/0.63, allocations: 427.7 kB / 0.5568 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0252/0.6552, allocations: 13.78 MB / 0.5703 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001541/0.6554, allocations: 63.44 kB / 0.5703 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005207/0.6559, allocations: 195.8 kB / 0.5705 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003369/0.6593, allocations: 2.41 MB / 0.5729 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02286/0.6821, allocations: 11.6 MB / 0.5842 GB, free: 14.35 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.3271/1.009, allocations: 51.34 MB / 0.6343 GB, free: 107 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/1.021, allocations: 4.66 MB / 0.6389 GB, free: 106.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003346/1.024, allocations: 2.771 MB / 0.6416 GB, free: 106.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01637/1.041, allocations: 12.35 MB / 0.6536 GB, free: 102.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.299e-05/1.041, allocations: 62.91 kB / 0.6537 GB, free: 102.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=191): time 5.179e-06/1.041, allocations: 0 / 0.6537 GB, free: 102.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=242): time 0.1443/1.185, allocations: 42.45 MB / 0.6951 GB, free: 89.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.185, allocations: 237.3 kB / 0.6954 GB, free: 89.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007054/1.192, allocations: 4.801 MB / 0.7001 GB, free: 85.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006104/1.193, allocations: 61.7 kB / 0.7001 GB, free: 85.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002183/1.195, allocations: 3.908 MB / 0.7039 GB, free: 81.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001177/1.196, allocations: 0.9133 MB / 0.7048 GB, free: 80.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/1.197, allocations: 148 kB / 0.705 GB, free: 80.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002869/1.197, allocations: 0.6039 MB / 0.7056 GB, free: 79.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004105/1.201, allocations: 3.233 MB / 0.7087 GB, free: 76.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006133/1.207, allocations: 7.518 MB / 0.7161 GB, free: 66.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006462/1.214, allocations: 4.76 MB / 0.7207 GB, free: 62.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/1.214, allocations: 43.94 kB / 0.7207 GB, free: 62.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02492/1.239, allocations: 13.8 MB / 0.7342 GB, free: 48.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001693/1.239, allocations: 68 kB / 0.7343 GB, free: 48.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000228/1.239, allocations: 152 kB / 0.7344 GB, free: 48.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009687/1.249, allocations: 3.804 MB / 0.7381 GB, free: 44.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005301/1.254, allocations: 1.595 MB / 0.7397 GB, free: 42.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02249/1.277, allocations: 18.01 MB / 0.7573 GB, free: 24.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006388/1.283, allocations: 447.4 kB / 0.7577 GB, free: 24.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001497/1.285, allocations: 435.9 kB / 0.7581 GB, free: 23.88 MB / 494.1 MB 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.005657/1.29, allocations: 2.659 MB / 0.7607 GB, free: 21.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.292, allocations: 434.3 kB / 0.7611 GB, free: 20.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01582/1.307, allocations: 8.134 MB / 0.7691 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-05/1.307, allocations: 30.11 kB / 0.7691 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.239e-05/1.308, allocations: 12 kB / 0.7691 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.033e-05/1.308, allocations: 11.95 kB / 0.7691 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0352/1.343, allocations: 17.34 MB / 0.7861 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.4e-05/1.343, allocations: 4 kB / 0.7861 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/1.345, allocations: 387.4 kB / 0.7865 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01081/1.356, allocations: 3.83 MB / 0.7902 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006184/1.356, allocations: 44 kB / 0.7902 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0255/1.382, allocations: 16.46 MB / 0.8063 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.382, allocations: 0 / 0.8063 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02432/1.406, allocations: 12.5 MB / 0.8185 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002956/1.409, allocations: 0.9366 MB / 0.8194 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001433/1.411, allocations: 40 kB / 0.8195 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003075/1.414, allocations: 203.7 kB / 0.8197 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007501/1.415, allocations: 146.2 kB / 0.8198 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004232/1.415, allocations: 68.05 kB / 0.8199 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008426/1.424, allocations: 2.992 MB / 0.8228 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.01e-07/1.424, allocations: 0 / 0.8228 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009681/1.433, allocations: 1.452 MB / 0.8242 GB, free: 3.988 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.3097/1.743, allocations: 13.19 MB / 0.8371 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01238/1.755, allocations: 7.854 MB / 0.8448 GB, free: 168 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/1.755, allocations: 6.797 kB / 0.8448 GB, free: 168 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00396/1.759, allocations: 2.961 MB / 0.8477 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004716/1.764, allocations: 0.5161 MB / 0.8482 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09928/1.863, allocations: 50.24 MB / 0.8972 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008142/1.872, allocations: 4.112 MB / 0.9012 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006455/1.878, allocations: 2.173 MB / 0.9034 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00412/1.882, allocations: 2.488 MB / 0.9058 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.031e-06/1.882, allocations: 0 / 0.9058 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1456/2.028, allocations: 110.7 MB / 1.014 GB, free: 24.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/2.028, allocations: 199.7 kB / 1.014 GB, free: 24.51 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.345/6.373, allocations: 0 / 1.014 GB, free: 24.51 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat does not exist to compare? outputFormat=mat