Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009061/0.0009061, allocations: 94.16 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1765/0.1765, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.502e-05/2.505e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08967/0.08971, allocations: 63.25 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3542/0.4439, allocations: 106.3 MB / 0.6152 GB, free: 3.875 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.4442, allocations: 82.06 kB / 0.6153 GB, free: 3.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2119/0.6561, allocations: 91.2 MB / 0.7044 GB, free: 480 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6562, allocations: 0 / 0.7044 GB, free: 480 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001414/0.6563, allocations: 80 kB / 0.7044 GB, free: 400 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.01254/0.6689, allocations: 4.293 MB / 0.7086 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.6689, allocations: 11.97 kB / 0.7086 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001845/0.6708, allocations: 0.8518 MB / 0.7095 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01353/0.6843, allocations: 3.539 MB / 0.7129 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009632/0.694, allocations: 3.956 MB / 0.7168 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/0.6943, allocations: 316.4 kB / 0.7171 GB, free: 3.281 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/0.6956, allocations: 439.8 kB / 0.7175 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01694/0.7126, allocations: 10.68 MB / 0.7279 GB, free: 7.695 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-05/0.7127, allocations: 27.72 kB / 0.728 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005385/0.7133, allocations: 191.9 kB / 0.7282 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001378/0.7147, allocations: 1.192 MB / 0.7293 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01642/0.7311, allocations: 10.24 MB / 0.7393 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2845/1.016, allocations: 36.47 MB / 0.7749 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006789/1.022, allocations: 4.248 MB / 0.7791 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002412/1.025, allocations: 2.095 MB / 0.7811 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009402/1.026, allocations: 1.319 MB / 0.7824 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/1.026, allocations: 50.62 kB / 0.7825 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=235): time 4.509e-06/1.026, allocations: 0 / 0.7825 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=256): time 0.02618/1.052, allocations: 10.95 MB / 0.7932 GB, free: 110 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/1.052, allocations: 77.73 kB / 0.7932 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/1.055, allocations: 2.438 MB / 0.7956 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/1.055, allocations: 59.48 kB / 0.7957 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/1.056, allocations: 2.86 MB / 0.7985 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005283/1.056, allocations: 0.9438 MB / 0.7994 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/1.057, allocations: 112.6 kB / 0.7995 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000212/1.057, allocations: 0.551 MB / 0.8 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002421/1.059, allocations: 2.233 MB / 0.8022 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003378/1.063, allocations: 5.311 MB / 0.8074 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003455/1.066, allocations: 3.489 MB / 0.8108 GB, free: 103 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.665e-05/1.066, allocations: 33.88 kB / 0.8108 GB, free: 103 MB / 0.5261 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.01072/1.077, allocations: 8.27 MB / 0.8189 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.911e-05/1.077, allocations: 50.91 kB / 0.819 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-05/1.077, allocations: 108.9 kB / 0.8191 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003215/1.08, allocations: 1.053 MB / 0.8201 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003242/1.084, allocations: 1.299 MB / 0.8214 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/1.086, allocations: 2.451 MB / 0.8238 GB, free: 98.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/1.088, allocations: 315.6 kB / 0.8241 GB, free: 98.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000348/1.089, allocations: 327.7 kB / 0.8244 GB, free: 98.74 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 490 * Number of states: 0 () * Number of discrete variables: 26 (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 (700): * Single equations (assignments): 691 * 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.0005756/1.089, allocations: 0.5145 MB / 0.8249 GB, free: 98.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/1.09, allocations: 276.1 kB / 0.8251 GB, free: 98.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007885/1.098, allocations: 4.911 MB / 0.8299 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.075e-05/1.098, allocations: 51.7 kB / 0.83 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.098, allocations: 0 / 0.83 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/1.098, allocations: 12.84 kB / 0.83 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01704/1.115, allocations: 11.32 MB / 0.8411 GB, free: 92.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/1.115, allocations: 9.75 kB / 0.8411 GB, free: 92.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/1.117, allocations: 413 kB / 0.8415 GB, free: 92.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003012/1.12, allocations: 0.9072 MB / 0.8423 GB, free: 92.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004144/1.12, allocations: 59.59 kB / 0.8424 GB, free: 92.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/1.122, allocations: 2.272 MB / 0.8446 GB, free: 91.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.122, allocations: 10.72 kB / 0.8446 GB, free: 91.03 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009421/1.131, allocations: 7.932 MB / 0.8524 GB, free: 85.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006543/1.132, allocations: 324.6 kB / 0.8527 GB, free: 84.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/1.132, allocations: 47.94 kB / 0.8527 GB, free: 84.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/1.133, allocations: 143.2 kB / 0.8529 GB, free: 84.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/1.134, allocations: 156.8 kB / 0.853 GB, free: 84.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/1.134, allocations: 67.84 kB / 0.8531 GB, free: 84.49 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001894/1.136, allocations: 1.66 MB / 0.8547 GB, free: 83.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/1.136, allocations: 0 / 0.8547 GB, free: 83.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003667/1.139, allocations: 0.9881 MB / 0.8557 GB, free: 82.04 MB / 0.5261 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 197 * 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.009785/1.149, allocations: 10.54 MB / 0.866 GB, free: 72.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00754/1.157, allocations: 5.948 MB / 0.8718 GB, free: 66.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.157, allocations: 2 kB / 0.8718 GB, free: 66.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003226/1.16, allocations: 2.522 MB / 0.8742 GB, free: 64.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/1.162, allocations: 403.6 kB / 0.8746 GB, free: 64.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/1.179, allocations: 10.55 MB / 0.8849 GB, free: 54.94 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003439/1.183, allocations: 3.516 MB / 0.8884 GB, free: 52.23 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004333/1.187, allocations: 2.052 MB / 0.8904 GB, free: 50.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002436/1.19, allocations: 1.882 MB / 0.8922 GB, free: 49.19 MB / 0.5261 GB Notification: Performance of SimCode: time 9.01e-07/1.19, allocations: 0 / 0.8922 GB, free: 49.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3299/1.52, allocations: 70 MB / 0.9606 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/1.52, allocations: 181.8 kB / 0.9607 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.32/4.84, allocations: 6.031 kB / 0.9607 GB, free: 119.3 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat