Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000957/0.000957, allocations: 95.03 kB / 292.1 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3746/0.3746, allocations: 44.22 MB / 387.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004064, allocations: 12 kB / 460 MB, free: 1.684 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3881, allocations: 61.89 MB / 0.5096 GB, free: 37.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.5205, allocations: 103.8 MB / 0.611 GB, free: 7.203 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.5208, allocations: 83.94 kB / 0.6111 GB, free: 7.125 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5128/1.034, allocations: 85.92 MB / 0.695 GB, free: 98.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.04e-06/1.034, allocations: 3.469 kB / 0.695 GB, free: 98.44 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001455/1.034, allocations: 68.53 kB / 0.6951 GB, free: 98.44 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01132/1.045, allocations: 3.73 MB / 0.6987 GB, free: 96.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.045, allocations: 7.781 kB / 0.6987 GB, free: 96.72 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003431/1.049, allocations: 0.7637 MB / 0.6995 GB, free: 96.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01467/1.063, allocations: 3.487 MB / 0.7029 GB, free: 96.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/1.076, allocations: 4.007 MB / 0.7068 GB, free: 95.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006312/1.076, allocations: 285.1 kB / 0.7071 GB, free: 95.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00352/1.08, allocations: 382.5 kB / 0.7074 GB, free: 95.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02639/1.106, allocations: 10.12 MB / 0.7173 GB, free: 94.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002623/1.107, allocations: 32.94 kB / 0.7173 GB, free: 94.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002069/1.109, allocations: 169.9 kB / 0.7175 GB, free: 94.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001953/1.111, allocations: 1.18 MB / 0.7187 GB, free: 94.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/1.13, allocations: 9.928 MB / 0.7284 GB, free: 91.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05232/1.182, allocations: 34.72 MB / 0.7623 GB, free: 70.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008604/1.191, allocations: 4.954 MB / 0.7671 GB, free: 67.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/1.192, allocations: 1.879 MB / 0.7689 GB, free: 66.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.938e-05/1.192, allocations: 57.34 kB / 0.769 GB, free: 66.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 7.795e-06/1.192, allocations: 0 / 0.769 GB, free: 66.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=235): time 0.03064/1.223, allocations: 14.29 MB / 0.7829 GB, free: 56.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/1.223, allocations: 69.41 kB / 0.783 GB, free: 55.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004179/1.227, allocations: 2.355 MB / 0.7853 GB, free: 53.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003208/1.228, allocations: 49.7 kB / 0.7854 GB, free: 53.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/1.229, allocations: 2.637 MB / 0.7879 GB, free: 51.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008415/1.23, allocations: 0.85 MB / 0.7888 GB, free: 50.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004385/1.23, allocations: 104 kB / 0.7889 GB, free: 50.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004264/1.231, allocations: 0.5249 MB / 0.7894 GB, free: 50.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002884/1.234, allocations: 2.171 MB / 0.7915 GB, free: 48.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004208/1.238, allocations: 5.023 MB / 0.7964 GB, free: 42.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004595/1.243, allocations: 3.299 MB / 0.7996 GB, free: 39.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.453e-05/1.243, allocations: 28 kB / 0.7996 GB, free: 39.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=690) (initialization): time 0.01374/1.256, allocations: 7.803 MB / 0.8073 GB, free: 32.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/1.257, allocations: 48 kB / 0.8073 GB, free: 32.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001947/1.257, allocations: 107.7 kB / 0.8074 GB, free: 32.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002214/1.259, allocations: 0.8029 MB / 0.8082 GB, free: 31.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004159/1.263, allocations: 1.178 MB / 0.8093 GB, free: 30.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004801/1.268, allocations: 4.239 MB / 0.8135 GB, free: 26.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004467/1.273, allocations: 287.8 kB / 0.8138 GB, free: 26.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/1.274, allocations: 303.7 kB / 0.814 GB, free: 25.75 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 29 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (630): * Single equations (assignments): 623 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004576/1.278, allocations: 2.018 MB / 0.816 GB, free: 23.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006099/1.279, allocations: 260.5 kB / 0.8163 GB, free: 23.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007445/1.286, allocations: 4.702 MB / 0.8209 GB, free: 18.74 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.855e-05/1.287, allocations: 43.94 kB / 0.8209 GB, free: 18.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/1.287, allocations: 15.88 kB / 0.8209 GB, free: 18.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/1.287, allocations: 7.969 kB / 0.8209 GB, free: 18.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02123/1.308, allocations: 10.53 MB / 0.8312 GB, free: 8.031 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.23e-05/1.308, allocations: 11.95 kB / 0.8312 GB, free: 8.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/1.31, allocations: 363.4 kB / 0.8316 GB, free: 7.664 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001968/1.312, allocations: 0.6523 MB / 0.8322 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004589/1.312, allocations: 43.98 kB / 0.8322 GB, free: 6.965 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004119/1.316, allocations: 3.694 MB / 0.8359 GB, free: 3.141 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/1.316, allocations: 11.94 kB / 0.8359 GB, free: 3.129 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/1.328, allocations: 7.657 MB / 0.8433 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009482/1.329, allocations: 309.7 kB / 0.8436 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000754/1.329, allocations: 39.98 kB / 0.8437 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/1.331, allocations: 135.8 kB / 0.8438 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003918/1.331, allocations: 133 kB / 0.8439 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002101/1.332, allocations: 67.89 kB / 0.844 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003408/1.335, allocations: 1.603 MB / 0.8456 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.21e-07/1.335, allocations: 0 / 0.8456 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005979/1.341, allocations: 0.9374 MB / 0.8465 GB, free: 7.941 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (178): * Single equations (assignments): 171 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01379/1.355, allocations: 10.08 MB / 0.8563 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0106/1.366, allocations: 5.313 MB / 0.8615 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/1.366, allocations: 0 / 0.8615 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003745/1.369, allocations: 2.02 MB / 0.8635 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/1.372, allocations: 318 kB / 0.8638 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3376/1.71, allocations: 97.46 MB / 0.959 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00453/1.714, allocations: 3.256 MB / 0.9621 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004953/1.719, allocations: 1.958 MB / 0.9641 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003297/1.722, allocations: 1.706 MB / 0.9657 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of SimCode: time 2.043e-06/1.722, allocations: 1.203 kB / 0.9657 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1027/1.825, allocations: 63.8 MB / 1.028 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/1.825, allocations: 191.7 kB / 1.028 GB, free: 21.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.987/5.812, allocations: 0 / 1.028 GB, free: 21.6 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat