Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",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.00191/0.00191, 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.506/1.506, allocations: 221.3 MB / 236 MB, free: 2.996 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.001009/0.001009, allocations: 94.77 kB / 287 MB, free: 248 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.244/0.244, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.328e-05/4.331e-05, allocations: 4 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1525, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5061/0.6587, allocations: 110.3 MB / 0.6095 GB, free: 10.94 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.6591, allocations: 79.95 kB / 0.6096 GB, free: 10.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2463/0.9053, allocations: 97.91 MB / 0.7052 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9054, allocations: 3.938 kB / 0.7052 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001854/0.9056, allocations: 92 kB / 0.7053 GB, free: 8.156 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.01657/0.9221, allocations: 4.584 MB / 0.7098 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.9222, allocations: 12.02 kB / 0.7098 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003575/0.9258, allocations: 0.9309 MB / 0.7107 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3693/1.295, allocations: 3.597 MB / 0.7142 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01584/1.311, allocations: 4.725 MB / 0.7188 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005148/1.312, allocations: 368.3 kB / 0.7192 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003439/1.315, allocations: 492.9 kB / 0.7196 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03337/1.348, allocations: 11.95 MB / 0.7313 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000234/1.349, allocations: 33.72 kB / 0.7313 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001297/1.35, allocations: 222.6 kB / 0.7315 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002262/1.352, allocations: 1.304 MB / 0.7328 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02462/1.377, allocations: 11.17 MB / 0.7437 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06451/1.441, allocations: 41.37 MB / 0.7841 GB, free: 95.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009683/1.451, allocations: 4.911 MB / 0.7889 GB, free: 93.44 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003234/1.455, allocations: 2.335 MB / 0.7912 GB, free: 92.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01241/1.467, allocations: 6.824 MB / 0.7979 GB, free: 88.72 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/1.467, allocations: 54.69 kB / 0.7979 GB, free: 88.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=226): time 5.861e-06/1.467, allocations: 3.531 kB / 0.7979 GB, free: 88.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.03227/1.499, allocations: 13.52 MB / 0.8111 GB, free: 81.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/1.499, allocations: 84.58 kB / 0.8112 GB, free: 81.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005254/1.505, allocations: 2.763 MB / 0.8139 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000306/1.505, allocations: 61.61 kB / 0.814 GB, free: 78.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001859/1.507, allocations: 3.226 MB / 0.8171 GB, free: 75.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009192/1.508, allocations: 0.8827 MB / 0.818 GB, free: 75.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000504/1.508, allocations: 116 kB / 0.8181 GB, free: 75.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005113/1.509, allocations: 0.5547 MB / 0.8186 GB, free: 74.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003232/1.512, allocations: 2.298 MB / 0.8209 GB, free: 72.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005036/1.517, allocations: 5.591 MB / 0.8263 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004937/1.522, allocations: 3.614 MB / 0.8299 GB, free: 62.67 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001218/1.522, allocations: 32 kB / 0.8299 GB, free: 62.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.01459/1.537, allocations: 8.673 MB / 0.8384 GB, free: 55.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/1.537, allocations: 60.67 kB / 0.8384 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001774/1.537, allocations: 116 kB / 0.8385 GB, free: 54.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003067/1.54, allocations: 1.137 MB / 0.8396 GB, free: 54.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004036/1.544, allocations: 1.35 MB / 0.841 GB, free: 53.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004846/1.549, allocations: 4.578 MB / 0.8454 GB, free: 48.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00419/1.553, allocations: 319.8 kB / 0.8457 GB, free: 48.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009054/1.554, allocations: 347.5 kB / 0.8461 GB, free: 48.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 528 * Number of states: 0 () * Number of discrete variables: 32 (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.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (729): * Single equations (assignments): 721 * 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.001298/1.556, allocations: 0.5354 MB / 0.8466 GB, free: 47.76 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006469/1.556, allocations: 296.1 kB / 0.8469 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007109/1.563, allocations: 4.341 MB / 0.8511 GB, free: 43.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-05/1.564, allocations: 43.14 kB / 0.8512 GB, free: 43.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.564, allocations: 4 kB / 0.8512 GB, free: 43.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/1.564, allocations: 9.703 kB / 0.8512 GB, free: 43.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01832/1.582, allocations: 10.33 MB / 0.8613 GB, free: 35.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/1.582, allocations: 4 kB / 0.8613 GB, free: 35.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/1.583, allocations: 380.8 kB / 0.8616 GB, free: 34.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/1.585, allocations: 0.6739 MB / 0.8623 GB, free: 34.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/1.585, allocations: 51.75 kB / 0.8623 GB, free: 34.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/1.588, allocations: 2.413 MB / 0.8647 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.588, allocations: 8.062 kB / 0.8647 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00789/1.595, allocations: 7.12 MB / 0.8716 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009062/1.596, allocations: 353.1 kB / 0.872 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006682/1.597, allocations: 43.59 kB / 0.872 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/1.599, allocations: 135.8 kB / 0.8722 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/1.599, allocations: 133.7 kB / 0.8723 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/1.599, allocations: 63.98 kB / 0.8723 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003229/1.602, allocations: 1.869 MB / 0.8742 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/1.602, allocations: 0 / 0.8742 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005315/1.608, allocations: 1.059 MB / 0.8752 GB, free: 21.4 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (187): * Single equations (assignments): 178 * 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.009261/1.617, allocations: 9.079 MB / 0.8841 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00891/1.626, allocations: 5.665 MB / 0.8896 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/1.626, allocations: 0 / 0.8896 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003461/1.629, allocations: 2.365 MB / 0.8919 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/1.632, allocations: 432.1 kB / 0.8923 GB, free: 3.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02559/1.657, allocations: 10.87 MB / 0.9029 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005765/1.663, allocations: 3.778 MB / 0.9066 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006259/1.669, allocations: 2.019 MB / 0.9086 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006125/1.676, allocations: 2.077 MB / 0.9106 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/1.676, allocations: 0 / 0.9106 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5142/2.19, allocations: 75.68 MB / 0.9845 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/2.19, allocations: 189.3 kB / 0.9847 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.303/6.493, allocations: 0 / 0.9847 GB, free: 110.2 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat does not exist to compare? outputFormat=mat