Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",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.001008/0.001008, allocations: 183.2 kB / 15.76 MB, free: 6.367 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.72/1.72, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008676/0.0008675, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2339/0.2339, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003445, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1339, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4422/0.5761, allocations: 109.1 MB / 0.5854 GB, free: 6.906 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.5765, allocations: 79.77 kB / 0.5855 GB, free: 6.863 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2566/0.8331, allocations: 98.94 MB / 0.6821 GB, free: 11.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.8332, allocations: 0 / 0.6821 GB, free: 11.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002634/0.8334, allocations: 95.94 kB / 0.6822 GB, free: 11.46 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01826/0.8517, allocations: 4.85 MB / 0.6869 GB, free: 6.543 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.8518, allocations: 8.031 kB / 0.6869 GB, free: 6.535 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00431/0.8561, allocations: 0.9516 MB / 0.6879 GB, free: 5.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01587/0.872, allocations: 3.624 MB / 0.6914 GB, free: 1.934 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01535/0.8874, allocations: 4.94 MB / 0.6962 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004881/0.8879, allocations: 385.9 kB / 0.6966 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003368/0.8913, allocations: 0.4919 MB / 0.6971 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2872/1.179, allocations: 12.33 MB / 0.7091 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003327/1.179, allocations: 33.67 kB / 0.7091 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003106/1.182, allocations: 229.3 kB / 0.7094 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003795/1.186, allocations: 1.335 MB / 0.7107 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02812/1.214, allocations: 11.63 MB / 0.722 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06307/1.277, allocations: 42.32 MB / 0.7634 GB, free: 93.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009721/1.287, allocations: 5.073 MB / 0.7683 GB, free: 91.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01285/1.3, allocations: 6.939 MB / 0.7751 GB, free: 87.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/1.3, allocations: 52.09 kB / 0.7751 GB, free: 87.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=235): time 4.528e-06/1.3, allocations: 0 / 0.7751 GB, free: 87.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=244): time 0.03769/1.338, allocations: 16.99 MB / 0.7917 GB, free: 81.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/1.338, allocations: 73.19 kB / 0.7918 GB, free: 81.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006042/1.344, allocations: 2.879 MB / 0.7946 GB, free: 80.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005284/1.344, allocations: 58.52 kB / 0.7947 GB, free: 80.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002475/1.347, allocations: 3.299 MB / 0.7979 GB, free: 77.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001408/1.348, allocations: 0.9111 MB / 0.7988 GB, free: 77.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008911/1.349, allocations: 122.2 kB / 0.7989 GB, free: 77.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000671/1.35, allocations: 0.5716 MB / 0.7994 GB, free: 76.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004098/1.354, allocations: 2.394 MB / 0.8018 GB, free: 75.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006462/1.361, allocations: 5.784 MB / 0.8074 GB, free: 70.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006087/1.367, allocations: 3.704 MB / 0.811 GB, free: 69.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001461/1.367, allocations: 35.03 kB / 0.8111 GB, free: 69.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=812) (initialization): time 0.01847/1.385, allocations: 8.952 MB / 0.8198 GB, free: 62.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003662/1.386, allocations: 59.56 kB / 0.8199 GB, free: 62.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004692/1.386, allocations: 120 kB / 0.82 GB, free: 62.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003734/1.39, allocations: 1.159 MB / 0.8211 GB, free: 61.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005199/1.395, allocations: 1.383 MB / 0.8225 GB, free: 60 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/1.4, allocations: 4.666 MB / 0.827 GB, free: 55.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005045/1.406, allocations: 320.1 kB / 0.8273 GB, free: 55.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001497/1.407, allocations: 360.3 kB / 0.8277 GB, free: 55.21 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (751): * Single equations (assignments): 743 * 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: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.006386/1.413, allocations: 2.429 MB / 0.8301 GB, free: 53.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009612/1.414, allocations: 308 kB / 0.8304 GB, free: 52.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008382/1.423, allocations: 4.479 MB / 0.8347 GB, free: 49.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.179e-05/1.423, allocations: 45.05 kB / 0.8348 GB, free: 49.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/1.423, allocations: 4 kB / 0.8348 GB, free: 49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.372e-05/1.423, allocations: 14.91 kB / 0.8348 GB, free: 49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02602/1.449, allocations: 10.62 MB / 0.8452 GB, free: 40.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/1.449, allocations: 4.688 kB / 0.8452 GB, free: 40.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/1.451, allocations: 397.2 kB / 0.8455 GB, free: 39.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001918/1.453, allocations: 0.67 MB / 0.8462 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003996/1.454, allocations: 55.69 kB / 0.8462 GB, free: 39.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/1.456, allocations: 2.45 MB / 0.8486 GB, free: 37.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.456, allocations: 11.94 kB / 0.8487 GB, free: 37.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009739/1.466, allocations: 7.338 MB / 0.8558 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/1.467, allocations: 364.7 kB / 0.8562 GB, free: 29.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001014/1.468, allocations: 41.48 kB / 0.8562 GB, free: 29.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/1.47, allocations: 143.6 kB / 0.8563 GB, free: 29.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003552/1.47, allocations: 138.4 kB / 0.8565 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002179/1.471, allocations: 76.67 kB / 0.8565 GB, free: 29.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003849/1.474, allocations: 1.941 MB / 0.8584 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.343e-06/1.474, allocations: 0 / 0.8584 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005765/1.48, allocations: 1.087 MB / 0.8595 GB, free: 26.97 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (197): * Single equations (assignments): 188 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01002/1.49, allocations: 9.289 MB / 0.8686 GB, free: 17.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009143/1.499, allocations: 5.874 MB / 0.8743 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/1.5, allocations: 4 kB / 0.8743 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003853/1.503, allocations: 2.434 MB / 0.8767 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/1.506, allocations: 422.4 kB / 0.8771 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3563/1.863, allocations: 116.4 MB / 0.9908 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007231/1.87, allocations: 3.851 MB / 0.9946 GB, free: 41.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005061/1.875, allocations: 2.069 MB / 0.9966 GB, free: 41.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003355/1.879, allocations: 2.145 MB / 0.9987 GB, free: 41.79 MB / 0.5105 GB Notification: Performance of SimCode: time 6.922e-06/1.879, allocations: 0 / 0.9987 GB, free: 41.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1109/1.989, allocations: 76.6 MB / 1.073 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/1.99, allocations: 221.7 kB / 1.074 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.328/6.317, allocations: 0 / 1.074 GB, free: 9.719 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat does not exist to compare? outputFormat=mat