Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json 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/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001835/0.001835, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.795/1.795, allocations: 227.2 MB / 245 MB, free: 5.785 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 98.44 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4039/0.4039, allocations: 45.23 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003204, allocations: 11.98 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4024, allocations: 63.24 MB / 0.5193 GB, free: 37.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1693/0.5718, allocations: 117.7 MB / 0.6342 GB, free: 1.629 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/0.5722, allocations: 83.92 kB / 0.6343 GB, free: 1.551 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6926/1.265, allocations: 127.3 MB / 0.7586 GB, free: 85.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.477e-06/1.265, allocations: 0 / 0.7586 GB, free: 85.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003955/1.265, allocations: 108.1 kB / 0.7587 GB, free: 84.93 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02228/1.288, allocations: 6.041 MB / 0.7646 GB, free: 78.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/1.288, allocations: 8.031 kB / 0.7646 GB, free: 78.81 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004767/1.292, allocations: 0.9762 MB / 0.7655 GB, free: 77.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0192/1.312, allocations: 4.727 MB / 0.7702 GB, free: 73.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01607/1.328, allocations: 5.732 MB / 0.7758 GB, free: 67.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005081/1.328, allocations: 448.6 kB / 0.7762 GB, free: 66.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003096/1.332, allocations: 0.5388 MB / 0.7767 GB, free: 66.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03199/1.364, allocations: 14.2 MB / 0.7906 GB, free: 50.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002876/1.364, allocations: 71.39 kB / 0.7907 GB, free: 50.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001679/1.366, allocations: 267.8 kB / 0.7909 GB, free: 50.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001619/1.367, allocations: 1.298 MB / 0.7922 GB, free: 49.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02513/1.392, allocations: 11.89 MB / 0.8038 GB, free: 37.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07101/1.463, allocations: 59.29 MB / 0.8617 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01329/1.477, allocations: 4.674 MB / 0.8663 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02046/1.497, allocations: 12.58 MB / 0.8785 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/1.497, allocations: 59.81 kB / 0.8786 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=191): time 5.61e-06/1.497, allocations: 0 / 0.8786 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of matching and sorting (n=242): time 0.4777/1.975, allocations: 39.7 MB / 0.9174 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.623e-05/1.975, allocations: 229.5 kB / 0.9176 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009008/1.984, allocations: 4.252 MB / 0.9217 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000948/1.985, allocations: 63.22 kB / 0.9218 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00423/1.99, allocations: 3.912 MB / 0.9256 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001789/1.991, allocations: 0.9067 MB / 0.9265 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006238/1.992, allocations: 146.5 kB / 0.9266 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000453/1.992, allocations: 0.6091 MB / 0.9272 GB, free: 121 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005/1.997, allocations: 3.252 MB / 0.9304 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007189/2.005, allocations: 7.534 MB / 0.9378 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007307/2.012, allocations: 4.796 MB / 0.9424 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001606/2.012, allocations: 47.06 kB / 0.9425 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.03176/2.044, allocations: 13.87 MB / 0.956 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/2.044, allocations: 67.41 kB / 0.9561 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002863/2.044, allocations: 151.8 kB / 0.9562 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01184/2.056, allocations: 3.813 MB / 0.96 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006159/2.062, allocations: 1.619 MB / 0.9615 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02417/2.087, allocations: 18.65 MB / 0.9798 GB, free: 90.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00735/2.094, allocations: 495.2 kB / 0.9802 GB, free: 90.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001519/2.096, allocations: 433.9 kB / 0.9806 GB, free: 89.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 689 * 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 (859): * Single equations (assignments): 855 * 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.005664/2.101, allocations: 2.661 MB / 0.9832 GB, free: 87.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/2.102, allocations: 430.4 kB / 0.9837 GB, free: 87.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0167/2.119, allocations: 8.14 MB / 0.9916 GB, free: 80.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.664e-05/2.119, allocations: 32 kB / 0.9916 GB, free: 80.94 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.84e-05/2.119, allocations: 12 kB / 0.9916 GB, free: 80.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.416e-05/2.119, allocations: 11.2 kB / 0.9917 GB, free: 80.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03785/2.157, allocations: 17.45 MB / 1.009 GB, free: 66.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-05/2.157, allocations: 4 kB / 1.009 GB, free: 66.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002245/2.16, allocations: 387.4 kB / 1.009 GB, free: 65.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01118/2.171, allocations: 3.854 MB / 1.013 GB, free: 62.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006258/2.171, allocations: 43.98 kB / 1.013 GB, free: 62.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02209/2.194, allocations: 17.09 MB / 1.03 GB, free: 44.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/2.194, allocations: 0 / 1.03 GB, free: 44.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02229/2.216, allocations: 12.64 MB / 1.042 GB, free: 32.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/2.218, allocations: 463.4 kB / 1.042 GB, free: 31.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/2.219, allocations: 39.2 kB / 1.042 GB, free: 31.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/2.221, allocations: 215.7 kB / 1.043 GB, free: 31.42 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005746/2.222, allocations: 150.2 kB / 1.043 GB, free: 31.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002031/2.222, allocations: 61.3 kB / 1.043 GB, free: 31.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005528/2.228, allocations: 2.975 MB / 1.046 GB, free: 28.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.81e-07/2.228, allocations: 0 / 1.046 GB, free: 28.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009084/2.237, allocations: 1.461 MB / 1.047 GB, free: 26.8 MB / 0.5261 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.02216/2.259, allocations: 13.56 MB / 1.06 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01341/2.273, allocations: 7.888 MB / 1.068 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/2.273, allocations: 4 kB / 1.068 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004253/2.277, allocations: 2.955 MB / 1.071 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/2.28, allocations: 495.6 kB / 1.071 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3743/2.655, allocations: 128 MB / 1.196 GB, free: 40.21 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006732/2.661, allocations: 4.209 MB / 1.201 GB, free: 39.38 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006265/2.668, allocations: 2.181 MB / 1.203 GB, free: 39.21 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005378/2.673, allocations: 2.469 MB / 1.205 GB, free: 39.21 MB / 0.5573 GB Notification: Performance of SimCode: time 1.035e-05/2.673, allocations: 2.812 kB / 1.205 GB, free: 39.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5014/3.175, allocations: 109.4 MB / 1.312 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/3.175, allocations: 196.4 kB / 1.312 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.537/8.712, allocations: 0 / 1.312 GB, free: 142.1 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat does not exist to compare? outputFormat=mat