Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001446/0.001451, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.218/2.218, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001458/0.001458, allocations: 93.11 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.303/0.303, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.918e-05/1.912e-05, allocations: 0 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.402, allocations: 58.86 MB / 477.2 MB, free: 5.145 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/0.599, allocations: 106.8 MB / 0.5703 GB, free: 8.371 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.5993, allocations: 79.47 kB / 0.5704 GB, free: 8.297 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6207/1.22, allocations: 73.35 MB / 0.642 GB, free: 112.5 MB / 475.1 MB Notification: Performance of FrontEnd: time 1.884e-06/1.22, allocations: 0 / 0.642 GB, free: 112.5 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002198/1.22, allocations: 71.58 kB / 0.6421 GB, free: 112.5 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.01598/1.236, allocations: 3.595 MB / 0.6456 GB, free: 111.8 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/1.236, allocations: 9.562 kB / 0.6456 GB, free: 111.8 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007014/1.243, allocations: 0.6705 MB / 0.6462 GB, free: 111.6 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/1.254, allocations: 2.207 MB / 0.6484 GB, free: 111.1 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003899/1.254, allocations: 128.2 kB / 0.6485 GB, free: 111.1 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002132/1.256, allocations: 222.3 kB / 0.6487 GB, free: 111.1 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01505/1.272, allocations: 5.234 MB / 0.6538 GB, free: 111.1 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02303/1.295, allocations: 6.9 MB / 0.6606 GB, free: 110 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002165/1.295, allocations: 21.83 kB / 0.6606 GB, free: 110 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001624/1.297, allocations: 10.78 kB / 0.6606 GB, free: 110 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002794/1.299, allocations: 0.7892 MB / 0.6614 GB, free: 110 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05321/1.353, allocations: 26.05 MB / 0.6868 GB, free: 95.37 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/1.355, allocations: 1.106 MB / 0.6879 GB, free: 94.86 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/1.357, allocations: 0.7415 MB / 0.6886 GB, free: 94.53 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01137/1.368, allocations: 5.931 MB / 0.6944 GB, free: 90.39 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/1.368, allocations: 50.03 kB / 0.6945 GB, free: 90.35 MB / 475.1 MB Notification: Performance of pre-optimization done (n=67): time 4.689e-06/1.368, allocations: 0 / 0.6945 GB, free: 90.35 MB / 475.1 MB Notification: Performance of matching and sorting (n=76): time 0.01556/1.384, allocations: 4.662 MB / 0.699 GB, free: 87.83 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/1.384, allocations: 143.1 kB / 0.6991 GB, free: 87.67 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003532/1.387, allocations: 1.94 MB / 0.701 GB, free: 86.83 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001789/1.388, allocations: 25.7 kB / 0.7011 GB, free: 86.8 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001713/1.389, allocations: 2.491 MB / 0.7035 GB, free: 84.82 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003765/1.39, allocations: 320.7 kB / 0.7038 GB, free: 84.61 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/1.39, allocations: 3.094 kB / 0.7038 GB, free: 84.61 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0002278/1.39, allocations: 474 kB / 0.7043 GB, free: 84.23 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/1.392, allocations: 0.8283 MB / 0.7051 GB, free: 83.92 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002873/1.395, allocations: 3.214 MB / 0.7082 GB, free: 80.34 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003388/1.398, allocations: 1.605 MB / 0.7098 GB, free: 79.68 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.834e-05/1.398, allocations: 26.22 kB / 0.7098 GB, free: 79.68 MB / 475.1 MB Notification: Performance of matching and sorting (n=491) (initialization): time 0.008992/1.407, allocations: 3.456 MB / 0.7132 GB, free: 78.45 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.179e-05/1.408, allocations: 41.31 kB / 0.7132 GB, free: 78.45 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/1.408, allocations: 94.06 kB / 0.7133 GB, free: 78.44 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/1.408, allocations: 129.3 kB / 0.7134 GB, free: 78.44 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005235/1.413, allocations: 0.9083 MB / 0.7143 GB, free: 78.33 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001449/1.413, allocations: 168.8 kB / 0.7145 GB, free: 78.29 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003637/1.417, allocations: 103.2 kB / 0.7146 GB, free: 78.28 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000704/1.418, allocations: 238.8 kB / 0.7148 GB, free: 78.25 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 394 * Number of states: 0 () * Number of discrete variables: 40 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[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],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (491): * Single equations (assignments): 491 * 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 prepare postOptimizeDAE: time 0.0005841/1.418, allocations: 334.8 kB / 0.7151 GB, free: 77.97 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001794/1.42, allocations: 0.8286 MB / 0.7159 GB, free: 77.61 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/1.421, allocations: 200.2 kB / 0.7161 GB, free: 77.5 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/1.423, allocations: 0.9021 MB / 0.717 GB, free: 77.12 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/1.423, allocations: 7.875 kB / 0.717 GB, free: 77.12 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/1.423, allocations: 0 / 0.717 GB, free: 77.12 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/1.423, allocations: 7.422 kB / 0.717 GB, free: 77.12 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009959/1.433, allocations: 4.296 MB / 0.7212 GB, free: 74.81 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/1.433, allocations: 14.06 kB / 0.7212 GB, free: 74.81 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/1.434, allocations: 212.2 kB / 0.7214 GB, free: 74.78 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.279e-05/1.434, allocations: 22.16 kB / 0.7214 GB, free: 74.78 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.798e-05/1.434, allocations: 22.22 kB / 0.7215 GB, free: 74.78 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-05/1.434, allocations: 32.8 kB / 0.7215 GB, free: 74.77 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-05/1.434, allocations: 25.94 kB / 0.7215 GB, free: 74.77 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/1.437, allocations: 2.867 MB / 0.7243 GB, free: 71.71 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007186/1.438, allocations: 293.5 kB / 0.7246 GB, free: 71.48 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003697/1.438, allocations: 26.28 kB / 0.7246 GB, free: 71.48 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/1.439, allocations: 30.3 kB / 0.7247 GB, free: 71.47 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/1.44, allocations: 118.3 kB / 0.7248 GB, free: 71.43 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.265e-05/1.44, allocations: 45.56 kB / 0.7248 GB, free: 71.4 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.002628/1.442, allocations: 1.282 MB / 0.7261 GB, free: 70.26 MB / 475.1 MB Notification: Performance of sort global known variables: time 8.01e-07/1.442, allocations: 0 / 0.7261 GB, free: 70.26 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.004786/1.447, allocations: 0.5545 MB / 0.7266 GB, free: 69.71 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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.003867/1.451, allocations: 8.022 MB / 0.7344 GB, free: 61.27 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.004497/1.456, allocations: 1.994 MB / 0.7364 GB, free: 59.44 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.827e-05/1.456, allocations: 8.062 kB / 0.7364 GB, free: 59.43 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009156/1.457, allocations: 442.6 kB / 0.7368 GB, free: 59.04 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/1.458, allocations: 210.8 kB / 0.737 GB, free: 58.85 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/1.478, allocations: 6.65 MB / 0.7435 GB, free: 52.82 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005429/1.484, allocations: 2.802 MB / 0.7462 GB, free: 50.66 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003085/1.487, allocations: 1.48 MB / 0.7477 GB, free: 49.29 MB / 475.1 MB Notification: Performance of SimCode: time 1.783e-06/1.487, allocations: 0 / 0.7477 GB, free: 49.29 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.382/4.869, allocations: 54.07 MB / 0.8005 GB, free: 15.21 MB / 491.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat