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.001509/0.001509, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.438/1.438, allocations: 221.3 MB / 236 MB, free: 2.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009336/0.0009334, allocations: 101.8 kB / 287 MB, free: 184 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1979/0.1979, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.545e-05/3.557e-05, allocations: 4 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1369, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4599/0.5969, allocations: 103.7 MB / 0.6031 GB, free: 1.469 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.5973, allocations: 71.97 kB / 0.6032 GB, free: 1.398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2249/0.8221, allocations: 86.01 MB / 0.6872 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.021e-06/0.8222, allocations: 4 kB / 0.6872 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002312/0.8225, allocations: 64 kB / 0.6872 GB, free: 10.64 MB / 0.4948 GB 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.01294/0.8354, allocations: 3.603 MB / 0.6908 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.8355, allocations: 8.031 kB / 0.6908 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002618/0.8381, allocations: 0.7628 MB / 0.6915 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01479/0.8529, allocations: 3.485 MB / 0.6949 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01185/0.8648, allocations: 3.991 MB / 0.6988 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004146/0.8653, allocations: 291.4 kB / 0.6991 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002849/0.8681, allocations: 375.8 kB / 0.6994 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0251/0.8933, allocations: 10.05 MB / 0.7093 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.8935, allocations: 19.81 kB / 0.7093 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009143/0.8944, allocations: 175.9 kB / 0.7094 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001636/0.896, allocations: 1.176 MB / 0.7106 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3554/1.251, allocations: 9.786 MB / 0.7201 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05602/1.307, allocations: 34.7 MB / 0.754 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008743/1.316, allocations: 4.934 MB / 0.7589 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003019/1.319, allocations: 2.275 MB / 0.7611 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/1.321, allocations: 1.882 MB / 0.7629 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/1.321, allocations: 58.06 kB / 0.763 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=229): time 5.25e-06/1.321, allocations: 0 / 0.763 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.02496/1.346, allocations: 11.17 MB / 0.7739 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/1.346, allocations: 71.22 kB / 0.7739 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003487/1.349, allocations: 2.333 MB / 0.7762 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004542/1.35, allocations: 53.02 kB / 0.7763 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001431/1.351, allocations: 2.646 MB / 0.7789 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009878/1.352, allocations: 0.8473 MB / 0.7797 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/1.353, allocations: 103 kB / 0.7798 GB, free: 103 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000281/1.353, allocations: 0.5294 MB / 0.7803 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0027/1.356, allocations: 2.133 MB / 0.7824 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004182/1.36, allocations: 4.984 MB / 0.7872 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004802/1.365, allocations: 3.295 MB / 0.7905 GB, free: 96.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.099e-05/1.365, allocations: 28.62 kB / 0.7905 GB, free: 96.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=690) (initialization): time 0.01308/1.378, allocations: 7.731 MB / 0.798 GB, free: 94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-05/1.378, allocations: 51.3 kB / 0.7981 GB, free: 94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/1.378, allocations: 100.1 kB / 0.7982 GB, free: 94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0021/1.38, allocations: 0.7948 MB / 0.799 GB, free: 93.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003961/1.384, allocations: 1.185 MB / 0.8001 GB, free: 92.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004993/1.389, allocations: 4.131 MB / 0.8042 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004618/1.394, allocations: 298.7 kB / 0.8044 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008749/1.395, allocations: 297.9 kB / 0.8047 GB, free: 88.63 MB / 0.5105 GB 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 () * 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.0008609/1.396, allocations: 495.3 kB / 0.8052 GB, free: 88.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004499/1.396, allocations: 256.6 kB / 0.8054 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006908/1.403, allocations: 4.672 MB / 0.81 GB, free: 84.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.888e-05/1.403, allocations: 44.7 kB / 0.81 GB, free: 84.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/1.403, allocations: 3.797 kB / 0.81 GB, free: 84.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-05/1.403, allocations: 11.27 kB / 0.8101 GB, free: 84.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/1.419, allocations: 10.52 MB / 0.8203 GB, free: 75.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/1.419, allocations: 12.06 kB / 0.8203 GB, free: 75.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/1.42, allocations: 362 kB / 0.8207 GB, free: 74.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001873/1.422, allocations: 0.6517 MB / 0.8213 GB, free: 74.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002439/1.423, allocations: 48.67 kB / 0.8214 GB, free: 74.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003864/1.426, allocations: 3.589 MB / 0.8249 GB, free: 71.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.426, allocations: 11.94 kB / 0.8249 GB, free: 71.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009011/1.435, allocations: 7.593 MB / 0.8323 GB, free: 64.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008303/1.436, allocations: 324.2 kB / 0.8326 GB, free: 64.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004067/1.437, allocations: 32 kB / 0.8326 GB, free: 64.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/1.438, allocations: 139.3 kB / 0.8328 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002952/1.438, allocations: 134.8 kB / 0.8329 GB, free: 63.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/1.439, allocations: 65.16 kB / 0.833 GB, free: 63.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002261/1.441, allocations: 1.578 MB / 0.8345 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.81e-07/1.441, allocations: 0 / 0.8345 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004442/1.445, allocations: 0.9413 MB / 0.8354 GB, free: 61.44 MB / 0.5105 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 () * 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.009341/1.455, allocations: 10.05 MB / 0.8452 GB, free: 52.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006899/1.462, allocations: 5.246 MB / 0.8504 GB, free: 47.35 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.462, allocations: 0 / 0.8504 GB, free: 47.35 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002466/1.464, allocations: 1.995 MB / 0.8523 GB, free: 45.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/1.466, allocations: 321.2 kB / 0.8526 GB, free: 45.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/1.486, allocations: 9.175 MB / 0.8616 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00318/1.489, allocations: 3.252 MB / 0.8647 GB, free: 33.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004255/1.493, allocations: 1.958 MB / 0.8667 GB, free: 31.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002427/1.496, allocations: 1.706 MB / 0.8683 GB, free: 29.68 MB / 0.5105 GB Notification: Performance of SimCode: time 1.613e-06/1.496, allocations: 0 / 0.8683 GB, free: 29.68 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4546/1.95, allocations: 64.57 MB / 0.9314 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/1.951, allocations: 170.5 kB / 0.9315 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.073/6.024, allocations: 0 / 0.9315 GB, free: 129.9 MB / 0.5261 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