Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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.Revolute2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2",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.001555/0.001555, allocations: 183.4 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.2 MB / 218.9 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008884/0.0008886, allocations: 90.55 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3909/0.3909, allocations: 43.47 MB / 358.6 MB, free: 52.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.925e-05/4.962e-05, allocations: 8 kB / 425.4 MB, free: 8.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1498, allocations: 58.83 MB / 484.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4328/0.5827, allocations: 105.4 MB / 0.5758 GB, free: 15.56 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.583, allocations: 75.95 kB / 0.5758 GB, free: 15.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6638/1.247, allocations: 129 MB / 0.7019 GB, free: 89.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.247, allocations: 0 / 0.7019 GB, free: 89.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004087/1.247, allocations: 116.8 kB / 0.702 GB, free: 89.69 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: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.02239/1.27, allocations: 6.257 MB / 0.7081 GB, free: 87.26 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/1.27, allocations: 9.438 kB / 0.7081 GB, free: 87.26 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00594/1.276, allocations: 1.099 MB / 0.7092 GB, free: 87.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02892/1.305, allocations: 6.459 MB / 0.7155 GB, free: 86.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0212/1.326, allocations: 8.575 MB / 0.7238 GB, free: 85.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004151/1.326, allocations: 437.7 kB / 0.7243 GB, free: 85.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003956/1.33, allocations: 0.5773 MB / 0.7248 GB, free: 85.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03602/1.366, allocations: 15.32 MB / 0.7398 GB, free: 81.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004042/1.367, allocations: 57.38 kB / 0.7398 GB, free: 81.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002598/1.369, allocations: 265.5 kB / 0.7401 GB, free: 81.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002599/1.372, allocations: 1.703 MB / 0.7418 GB, free: 80.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03107/1.403, allocations: 14.64 MB / 0.7561 GB, free: 76.56 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08789/1.491, allocations: 56.38 MB / 0.8111 GB, free: 30.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01673/1.508, allocations: 7.961 MB / 0.8189 GB, free: 22.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005697/1.514, allocations: 4.695 MB / 0.8235 GB, free: 17.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001619/1.515, allocations: 2.205 MB / 0.8256 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/1.515, allocations: 69.03 kB / 0.8257 GB, free: 15.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=367): time 7.484e-06/1.515, allocations: 0 / 0.8257 GB, free: 15.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=419): time 0.4681/1.984, allocations: 33.39 MB / 0.8583 GB, free: 95.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/1.984, allocations: 115.1 kB / 0.8584 GB, free: 94.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009621/1.993, allocations: 3.841 MB / 0.8622 GB, free: 94.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001555/1.995, allocations: 83.73 kB / 0.8622 GB, free: 94.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006149/2.001, allocations: 3.922 MB / 0.8661 GB, free: 93.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0034/2.004, allocations: 1.497 MB / 0.8675 GB, free: 92.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009514/2.005, allocations: 152.9 kB / 0.8677 GB, free: 92.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005955/2.006, allocations: 0.6376 MB / 0.8683 GB, free: 92.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006834/2.013, allocations: 3.826 MB / 0.872 GB, free: 92.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/2.024, allocations: 7.631 MB / 0.8795 GB, free: 87.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009988/2.034, allocations: 5.416 MB / 0.8848 GB, free: 87.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001927/2.034, allocations: 38.56 kB / 0.8848 GB, free: 87.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1020) (initialization): time 0.03411/2.068, allocations: 13.96 MB / 0.8985 GB, free: 85.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001882/2.069, allocations: 64.88 kB / 0.8985 GB, free: 85.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000296/2.069, allocations: 130.1 kB / 0.8986 GB, free: 85.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009936/2.079, allocations: 2.631 MB / 0.9012 GB, free: 85.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/2.089, allocations: 1.95 MB / 0.9031 GB, free: 85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02028/2.109, allocations: 13.61 MB / 0.9164 GB, free: 78.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009165/2.119, allocations: 477.6 kB / 0.9169 GB, free: 78.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002483/2.121, allocations: 435 kB / 0.9173 GB, free: 78.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 597 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (923): * Single equations (assignments): 915 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00381/2.125, allocations: 0.6657 MB / 0.9179 GB, free: 77.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002021/2.127, allocations: 465.6 kB / 0.9184 GB, free: 77.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02152/2.149, allocations: 10.35 MB / 0.9285 GB, free: 74.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.994e-05/2.149, allocations: 69.34 kB / 0.9285 GB, free: 74.42 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.787e-05/2.149, allocations: 9.578 kB / 0.9286 GB, free: 74.42 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.822e-05/2.149, allocations: 18.84 kB / 0.9286 GB, free: 74.42 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0468/2.196, allocations: 21 MB / 0.9491 GB, free: 67.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.973e-05/2.196, allocations: 7.844 kB / 0.9491 GB, free: 67.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003876/2.2, allocations: 0.7932 MB / 0.9499 GB, free: 67.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006955/2.207, allocations: 2.404 MB / 0.9522 GB, free: 67.08 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00103/2.208, allocations: 81.23 kB / 0.9523 GB, free: 67.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/2.224, allocations: 12.37 MB / 0.9644 GB, free: 61.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.536e-05/2.224, allocations: 17.88 kB / 0.9644 GB, free: 61.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02964/2.253, allocations: 16.14 MB / 0.9801 GB, free: 49.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00498/2.258, allocations: 1.164 MB / 0.9813 GB, free: 48.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002494/2.261, allocations: 81.72 kB / 0.9814 GB, free: 48.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005055/2.266, allocations: 286.8 kB / 0.9816 GB, free: 48.51 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001482/2.268, allocations: 269.5 kB / 0.9819 GB, free: 48.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008781/2.268, allocations: 113.9 kB / 0.982 GB, free: 48.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007816/2.276, allocations: 2.685 MB / 0.9846 GB, free: 45.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.51e-07/2.276, allocations: 0 / 0.9846 GB, free: 45.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01228/2.289, allocations: 1.651 MB / 0.9862 GB, free: 44.21 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02943/2.318, allocations: 19.35 MB / 1.005 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01786/2.336, allocations: 9.611 MB / 1.015 GB, free: 18.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.11e-05/2.336, allocations: 0 / 1.015 GB, free: 18.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007748/2.344, allocations: 4.198 MB / 1.019 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005947/2.35, allocations: 0.6373 MB / 1.019 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04864/2.399, allocations: 15.38 MB / 1.034 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01184/2.41, allocations: 4.747 MB / 1.039 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00954/2.42, allocations: 2.746 MB / 1.042 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008001/2.428, allocations: 2.92 MB / 1.044 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/2.428, allocations: 4 kB / 1.044 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5929/3.021, allocations: 122.9 MB / 1.164 GB, free: 54.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/3.021, allocations: 183.5 kB / 1.165 GB, free: 54.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.013/9.035, allocations: 0 / 1.165 GB, free: 54.6 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat does not exist to compare? outputFormat=mat