Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion",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.001154/0.001154, allocations: 183.8 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.693/1.693, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009931/0.000993, allocations: 106.8 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.2187/0.2187, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1383, allocations: 58.86 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4358/0.5741, allocations: 102.4 MB / 0.5788 GB, free: 13.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.5744, allocations: 72.41 kB / 0.5789 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2248/0.7992, allocations: 87.53 MB / 0.6644 GB, free: 13.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.7992, allocations: 0 / 0.6644 GB, free: 13.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001646/0.7994, allocations: 75.98 kB / 0.6645 GB, free: 13.7 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.01525/0.8147, allocations: 3.88 MB / 0.6682 GB, free: 9.75 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.8148, allocations: 8.031 kB / 0.6683 GB, free: 9.742 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004232/0.819, allocations: 0.787 MB / 0.669 GB, free: 8.945 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01681/0.8358, allocations: 3.648 MB / 0.6726 GB, free: 5.285 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01594/0.8519, allocations: 4.966 MB / 0.6774 GB, free: 276 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004421/0.8524, allocations: 295.6 kB / 0.6777 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003394/0.8558, allocations: 387.8 kB / 0.6781 GB, free: 15.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02886/0.8847, allocations: 10.36 MB / 0.6882 GB, free: 4.738 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002772/0.885, allocations: 39.67 kB / 0.6882 GB, free: 4.699 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002165/0.8872, allocations: 175.9 kB / 0.6884 GB, free: 4.527 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001974/0.8892, allocations: 1.195 MB / 0.6896 GB, free: 3.332 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02364/0.9128, allocations: 10.15 MB / 0.6995 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3681/1.281, allocations: 36.57 MB / 0.7352 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009253/1.29, allocations: 4.394 MB / 0.7395 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/1.291, allocations: 1.325 MB / 0.7408 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/1.292, allocations: 60.78 kB / 0.7408 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 6.712e-06/1.292, allocations: 0 / 0.7408 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=261): time 0.03528/1.327, allocations: 17.3 MB / 0.7577 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001315/1.328, allocations: 1.539 MB / 0.7592 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004511/1.333, allocations: 2.486 MB / 0.7617 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005095/1.333, allocations: 62.09 kB / 0.7617 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002047/1.335, allocations: 2.75 MB / 0.7644 GB, free: 99.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001302/1.337, allocations: 0.9547 MB / 0.7654 GB, free: 98.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/1.337, allocations: 111.5 kB / 0.7655 GB, free: 98.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003485/1.337, allocations: 0.5472 MB / 0.766 GB, free: 97.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002994/1.34, allocations: 2.437 MB / 0.7684 GB, free: 97.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005883/1.346, allocations: 5.458 MB / 0.7737 GB, free: 92.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005315/1.352, allocations: 3.645 MB / 0.7773 GB, free: 91.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.312e-05/1.352, allocations: 36.97 kB / 0.7773 GB, free: 91.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02008/1.372, allocations: 9.485 MB / 0.7866 GB, free: 88.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.169e-05/1.372, allocations: 58.84 kB / 0.7866 GB, free: 88.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01163/1.383, allocations: 4.589 MB / 0.7911 GB, free: 87.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009848/1.393, allocations: 2.064 MB / 0.7931 GB, free: 87.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004889/1.398, allocations: 1.294 MB / 0.7944 GB, free: 87.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006786/1.405, allocations: 5.159 MB / 0.7994 GB, free: 83.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005824/1.411, allocations: 392.2 kB / 0.7998 GB, free: 83.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001807/1.413, allocations: 327.5 kB / 0.8001 GB, free: 83.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 482 * 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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.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 (691): * Single equations (assignments): 679 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.006238/1.419, allocations: 2.107 MB / 0.8022 GB, free: 82.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/1.42, allocations: 286.1 kB / 0.8024 GB, free: 82.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/1.431, allocations: 5.395 MB / 0.8077 GB, free: 79.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00822/1.439, allocations: 4.639 MB / 0.8122 GB, free: 75.47 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-05/1.44, allocations: 4 kB / 0.8122 GB, free: 75.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.604e-05/1.44, allocations: 10.12 kB / 0.8122 GB, free: 75.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03075/1.47, allocations: 14.64 MB / 0.8265 GB, free: 63.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.678e-05/1.47, allocations: 8 kB / 0.8265 GB, free: 63.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/1.472, allocations: 435.4 kB / 0.827 GB, free: 63.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003952/1.476, allocations: 1.185 MB / 0.8281 GB, free: 62.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003937/1.477, allocations: 61.27 kB / 0.8282 GB, free: 62.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004161/1.481, allocations: 4.537 MB / 0.8326 GB, free: 58.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007971/1.482, allocations: 1.478 MB / 0.8341 GB, free: 56.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/1.494, allocations: 8.847 MB / 0.8427 GB, free: 47.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/1.496, allocations: 349.1 kB / 0.843 GB, free: 47.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009404/1.497, allocations: 56.61 kB / 0.8431 GB, free: 47.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.499, allocations: 192.6 kB / 0.8433 GB, free: 46.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004509/1.499, allocations: 174.8 kB / 0.8434 GB, free: 46.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002478/1.5, allocations: 75.98 kB / 0.8435 GB, free: 46.65 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0035/1.503, allocations: 1.701 MB / 0.8452 GB, free: 44.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/1.503, allocations: 0 / 0.8452 GB, free: 44.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007305/1.51, allocations: 1.071 MB / 0.8462 GB, free: 43.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.01434/1.525, allocations: 12 MB / 0.8579 GB, free: 31.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01073/1.536, allocations: 6.472 MB / 0.8642 GB, free: 25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/1.536, allocations: 0 / 0.8642 GB, free: 25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004755/1.54, allocations: 2.898 MB / 0.8671 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/1.543, allocations: 354.1 kB / 0.8674 GB, free: 21.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3747/1.918, allocations: 106 MB / 0.971 GB, free: 78.56 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005331/1.923, allocations: 3.397 MB / 0.9743 GB, free: 77.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004763/1.928, allocations: 2.111 MB / 0.9763 GB, free: 77.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003379/1.931, allocations: 1.82 MB / 0.9781 GB, free: 77.73 MB / 0.5105 GB Notification: Performance of SimCode: time 9.22e-07/1.931, allocations: 0 / 0.9781 GB, free: 77.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/2.044, allocations: 71.96 MB / 1.048 GB, free: 43.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/2.044, allocations: 210.9 kB / 1.049 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.827/5.871, allocations: 4.062 kB / 1.049 GB, free: 43.01 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat does not exist to compare? outputFormat=mat