Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",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.002412/0.002411, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.4 MB / 222.5 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.001152/0.001152, allocations: 88.44 kB / 270.9 MB, free: 8.391 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.5348/0.5348, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006127/0.0006126, allocations: 16 kB / 431.5 MB, free: 5.863 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1477, allocations: 58.85 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5227/0.6705, allocations: 104.4 MB / 0.5808 GB, free: 13.97 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.6709, allocations: 79.95 kB / 0.5809 GB, free: 13.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3826/1.054, allocations: 91.55 MB / 0.6703 GB, free: 1.727 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.738e-06/1.054, allocations: 0 / 0.6703 GB, free: 1.727 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002413/1.054, allocations: 76 kB / 0.6703 GB, free: 1.652 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: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.3872/1.441, allocations: 4.412 MB / 0.6746 GB, free: 92.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/1.441, allocations: 9.938 kB / 0.6746 GB, free: 92.13 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005269/1.446, allocations: 0.858 MB / 0.6755 GB, free: 92.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02934/1.476, allocations: 3.561 MB / 0.679 GB, free: 91.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02061/1.496, allocations: 4.716 MB / 0.6836 GB, free: 91.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006613/1.497, allocations: 329 kB / 0.6839 GB, free: 91.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003403/1.501, allocations: 433.5 kB / 0.6843 GB, free: 91.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0355/1.536, allocations: 11.07 MB / 0.6951 GB, free: 90.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002697/1.536, allocations: 20.59 kB / 0.6951 GB, free: 90.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002402/1.539, allocations: 201.3 kB / 0.6953 GB, free: 90.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002754/1.542, allocations: 1.226 MB / 0.6965 GB, free: 90.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03145/1.573, allocations: 10.68 MB / 0.7069 GB, free: 90.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08207/1.655, allocations: 37.43 MB / 0.7435 GB, free: 69.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/1.668, allocations: 4.394 MB / 0.7478 GB, free: 67.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/1.669, allocations: 1.323 MB / 0.7491 GB, free: 65.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/1.669, allocations: 56.03 kB / 0.7491 GB, free: 65.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 7.344e-06/1.669, allocations: 0 / 0.7491 GB, free: 65.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.06707/1.736, allocations: 14.29 MB / 0.7631 GB, free: 61.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/1.736, allocations: 75.81 kB / 0.7632 GB, free: 61.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005703/1.742, allocations: 2.537 MB / 0.7656 GB, free: 60.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005955/1.743, allocations: 59.61 kB / 0.7657 GB, free: 60.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002408/1.745, allocations: 2.936 MB / 0.7686 GB, free: 57.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001495/1.747, allocations: 0.9743 MB / 0.7695 GB, free: 57.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000802/1.748, allocations: 110.2 kB / 0.7696 GB, free: 57.03 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004611/1.748, allocations: 0.556 MB / 0.7702 GB, free: 56.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005929/1.754, allocations: 2.338 MB / 0.7724 GB, free: 55.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008209/1.762, allocations: 5.49 MB / 0.7778 GB, free: 50.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008371/1.771, allocations: 3.591 MB / 0.7813 GB, free: 49.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001244/1.771, allocations: 32.84 kB / 0.7813 GB, free: 49.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02578/1.797, allocations: 8.492 MB / 0.7896 GB, free: 44.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.642e-05/1.797, allocations: 56 kB / 0.7897 GB, free: 44.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001674/1.797, allocations: 112 kB / 0.7898 GB, free: 44.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006703/1.804, allocations: 1.054 MB / 0.7908 GB, free: 43.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008388/1.812, allocations: 1.335 MB / 0.7921 GB, free: 42.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003988/1.816, allocations: 2.499 MB / 0.7946 GB, free: 40.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005934/1.822, allocations: 317.7 kB / 0.7949 GB, free: 39.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/1.824, allocations: 332.4 kB / 0.7952 GB, free: 39.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 503 * Number of states: 0 () * Number of discrete variables: 24 (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 (722): * Single equations (assignments): 713 * 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 prepare postOptimizeDAE: time 0.0063/1.83, allocations: 2.271 MB / 0.7974 GB, free: 37.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007112/1.831, allocations: 284.2 kB / 0.7977 GB, free: 37.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01676/1.848, allocations: 5.07 MB / 0.8026 GB, free: 33.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00011/1.848, allocations: 51.47 kB / 0.8027 GB, free: 33.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/1.848, allocations: 4 kB / 0.8027 GB, free: 33.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.926e-05/1.848, allocations: 10.5 kB / 0.8027 GB, free: 33.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03364/1.881, allocations: 11.62 MB / 0.814 GB, free: 23.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.786e-05/1.882, allocations: 8.938 kB / 0.8141 GB, free: 23.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004244/1.886, allocations: 423.9 kB / 0.8145 GB, free: 23.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006658/1.893, allocations: 0.9051 MB / 0.8153 GB, free: 22.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006432/1.893, allocations: 58.45 kB / 0.8154 GB, free: 22.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003849/1.897, allocations: 2.327 MB / 0.8177 GB, free: 20.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.779e-06/1.897, allocations: 11.94 kB / 0.8177 GB, free: 20.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02116/1.918, allocations: 8.157 MB / 0.8256 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009684/1.919, allocations: 328.9 kB / 0.826 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/1.92, allocations: 55 kB / 0.826 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002857/1.923, allocations: 143.1 kB / 0.8261 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000756/1.924, allocations: 155.6 kB / 0.8263 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002644/1.924, allocations: 81.28 kB / 0.8264 GB, free: 12.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00417/1.929, allocations: 1.725 MB / 0.8281 GB, free: 10.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.142e-06/1.929, allocations: 5.219 kB / 0.8281 GB, free: 10.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007239/1.936, allocations: 1.01 MB / 0.829 GB, free: 9.449 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_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 (216): * Single equations (assignments): 207 * 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.02383/1.96, allocations: 10.76 MB / 0.8396 GB, free: 14.4 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01839/1.978, allocations: 6.14 MB / 0.8456 GB, free: 8.223 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.978, allocations: 448 / 0.8456 GB, free: 8.223 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.008593/1.987, allocations: 2.599 MB / 0.8481 GB, free: 5.57 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003589/1.991, allocations: 401.1 kB / 0.8485 GB, free: 5.195 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4591/2.45, allocations: 109 MB / 0.955 GB, free: 51.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00837/2.458, allocations: 3.604 MB / 0.9585 GB, free: 50.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00542/2.464, allocations: 2.034 MB / 0.9605 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of SimCode: time 1.573e-06/2.464, allocations: 0 / 0.9605 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.761/7.225, allocations: 139.9 MB / 1.097 GB, free: 124.6 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat