Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.00115, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.2 MB / 245 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009403/0.0009405, allocations: 107.2 kB / 297.3 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3839/0.3839, allocations: 45.22 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002905, allocations: 12 kB / 468.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4052, allocations: 63.24 MB / 0.5193 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.5668, allocations: 111.3 MB / 0.6279 GB, free: 8.137 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.5671, allocations: 83.92 kB / 0.628 GB, free: 8.059 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5838/1.151, allocations: 98.67 MB / 0.7244 GB, free: 100.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.448e-06/1.151, allocations: 0 / 0.7244 GB, free: 100.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002135/1.151, allocations: 92 kB / 0.7245 GB, free: 100.6 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: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.02145/1.173, allocations: 4.858 MB / 0.7292 GB, free: 98.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/1.173, allocations: 7.906 kB / 0.7292 GB, free: 98.19 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005096/1.178, allocations: 0.9256 MB / 0.7301 GB, free: 97.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01558/1.194, allocations: 3.605 MB / 0.7336 GB, free: 97.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.013/1.207, allocations: 4.226 MB / 0.7378 GB, free: 95.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/1.207, allocations: 370.2 kB / 0.7381 GB, free: 95.67 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002943/1.21, allocations: 491.9 kB / 0.7386 GB, free: 95.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02724/1.237, allocations: 12.04 MB / 0.7503 GB, free: 90.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000369/1.238, allocations: 30.92 kB / 0.7504 GB, free: 90.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00302/1.241, allocations: 225.8 kB / 0.7506 GB, free: 89.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002059/1.243, allocations: 1.291 MB / 0.7518 GB, free: 89.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02368/1.266, allocations: 11.34 MB / 0.7629 GB, free: 79.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06444/1.331, allocations: 41.37 MB / 0.8033 GB, free: 37.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/1.343, allocations: 4.935 MB / 0.8081 GB, free: 32.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01334/1.356, allocations: 6.818 MB / 0.8148 GB, free: 25.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/1.356, allocations: 52.56 kB / 0.8148 GB, free: 25.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=226): time 5.7e-06/1.356, allocations: 4 kB / 0.8149 GB, free: 25.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=235): time 0.03593/1.392, allocations: 16.64 MB / 0.8311 GB, free: 8.133 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/1.392, allocations: 81.34 kB / 0.8312 GB, free: 8.039 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005224/1.397, allocations: 2.802 MB / 0.8339 GB, free: 5.227 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003036/1.398, allocations: 60.83 kB / 0.834 GB, free: 5.164 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001699/1.399, allocations: 3.22 MB / 0.8371 GB, free: 1.941 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009105/1.4, allocations: 0.8791 MB / 0.838 GB, free: 1.066 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005112/1.401, allocations: 113.2 kB / 0.8381 GB, free: 0.957 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005143/1.401, allocations: 0.5622 MB / 0.8386 GB, free: 396 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003933/1.405, allocations: 2.335 MB / 0.8409 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006589/1.412, allocations: 5.638 MB / 0.8464 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006129/1.418, allocations: 3.622 MB / 0.85 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001317/1.418, allocations: 32 kB / 0.85 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.01948/1.438, allocations: 8.755 MB / 0.8585 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002343/1.438, allocations: 56 kB / 0.8586 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002811/1.438, allocations: 120.1 kB / 0.8587 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003824/1.442, allocations: 1.133 MB / 0.8598 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00575/1.448, allocations: 1.353 MB / 0.8611 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006949/1.455, allocations: 4.643 MB / 0.8657 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005718/1.461, allocations: 327.7 kB / 0.866 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00187/1.462, allocations: 347.9 kB / 0.8663 GB, free: 2.211 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 () * Number of clocked 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.007415/1.47, allocations: 2.369 MB / 0.8686 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/1.471, allocations: 292 kB / 0.8689 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009484/1.48, allocations: 4.377 MB / 0.8732 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.298e-05/1.481, allocations: 44 kB / 0.8732 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/1.481, allocations: 4 kB / 0.8732 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-05/1.481, allocations: 11.95 kB / 0.8732 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03252/1.513, allocations: 10.36 MB / 0.8834 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-05/1.513, allocations: 12.03 kB / 0.8834 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/1.515, allocations: 383.4 kB / 0.8837 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3663/1.882, allocations: 0.6693 MB / 0.8844 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006628/1.882, allocations: 45.08 kB / 0.8844 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/1.885, allocations: 2.438 MB / 0.8868 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/1.885, allocations: 6.969 kB / 0.8868 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/1.897, allocations: 7.167 MB / 0.8938 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.898, allocations: 351.1 kB / 0.8942 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003465/1.898, allocations: 40.11 kB / 0.8942 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/1.899, allocations: 140.3 kB / 0.8943 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002884/1.9, allocations: 132 kB / 0.8945 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/1.9, allocations: 67.81 kB / 0.8945 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002898/1.903, allocations: 1.891 MB / 0.8964 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/1.903, allocations: 3.375 kB / 0.8964 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004454/1.907, allocations: 1.068 MB / 0.8974 GB, free: 130.2 MB / 0.5261 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 (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.009716/1.917, allocations: 9.126 MB / 0.9063 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01117/1.928, allocations: 5.728 MB / 0.9119 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/1.928, allocations: 0.9688 kB / 0.9119 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005111/1.933, allocations: 2.385 MB / 0.9142 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/1.937, allocations: 425.9 kB / 0.9147 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08549/2.022, allocations: 113.5 MB / 1.025 GB, free: 25.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005469/2.028, allocations: 3.773 MB / 1.029 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00523/2.033, allocations: 2.023 MB / 1.031 GB, free: 23.94 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004097/2.037, allocations: 2.086 MB / 1.033 GB, free: 22.21 MB / 0.5261 GB Notification: Performance of SimCode: time 1.293e-06/2.037, allocations: 0 / 1.033 GB, free: 22.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4522/2.49, allocations: 74.78 MB / 1.106 GB, free: 142 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/2.49, allocations: 220.4 kB / 1.106 GB, free: 141.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.174/6.663, allocations: 0 / 1.106 GB, free: 141.8 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat does not exist to compare? outputFormat=mat