Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",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.001577/0.001577, allocations: 183.9 kB / 13.19 MB, free: 2.129 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.662/1.662, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008134/0.0008134, allocations: 90.53 kB / 267.1 MB, free: 9.273 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.4842/0.4842, allocations: 43.47 MB / 358.6 MB, free: 51.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.403e-05/4.404e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1509, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5316/0.6825, allocations: 109 MB / 0.5794 GB, free: 12.85 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.6829, allocations: 83.2 kB / 0.5794 GB, free: 12.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2595/0.9424, allocations: 99.03 MB / 0.6761 GB, free: 2.348 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.9424, allocations: 4 kB / 0.6761 GB, free: 2.344 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002237/0.9427, allocations: 88 kB / 0.6762 GB, free: 2.258 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02162/0.9643, allocations: 4.694 MB / 0.6808 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.9644, allocations: 12.03 kB / 0.6808 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004516/0.9689, allocations: 0.9516 MB / 0.6818 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01712/0.986, allocations: 3.628 MB / 0.6853 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01611/1.002, allocations: 4.921 MB / 0.6901 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005296/1.003, allocations: 389.7 kB / 0.6905 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003712/1.007, allocations: 0.4919 MB / 0.691 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3981/1.405, allocations: 12.23 MB / 0.7029 GB, free: 94.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001696/1.405, allocations: 37.44 kB / 0.7029 GB, free: 94.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007791/1.406, allocations: 225.9 kB / 0.7031 GB, free: 94.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001994/1.408, allocations: 1.331 MB / 0.7044 GB, free: 94.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02353/1.431, allocations: 11.46 MB / 0.7156 GB, free: 94.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07471/1.506, allocations: 42.32 MB / 0.757 GB, free: 74.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01224/1.518, allocations: 5.041 MB / 0.7619 GB, free: 71.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003806/1.522, allocations: 2.377 MB / 0.7642 GB, free: 70.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01505/1.537, allocations: 6.921 MB / 0.771 GB, free: 67.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/1.537, allocations: 56.19 kB / 0.771 GB, free: 67.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=235): time 7.153e-06/1.537, allocations: 3.844 kB / 0.771 GB, free: 67.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=244): time 0.03939/1.577, allocations: 13.83 MB / 0.7845 GB, free: 62.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1.577, allocations: 72.72 kB / 0.7846 GB, free: 62.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008861/1.586, allocations: 2.838 MB / 0.7874 GB, free: 61.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006455/1.587, allocations: 57.3 kB / 0.7874 GB, free: 61.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002635/1.589, allocations: 3.314 MB / 0.7907 GB, free: 59.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/1.591, allocations: 0.9091 MB / 0.7915 GB, free: 58.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009197/1.592, allocations: 117.6 kB / 0.7917 GB, free: 58.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008324/1.593, allocations: 0.5733 MB / 0.7922 GB, free: 58.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004238/1.597, allocations: 2.346 MB / 0.7945 GB, free: 57.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006398/1.603, allocations: 5.729 MB / 0.8001 GB, free: 52.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005789/1.609, allocations: 3.703 MB / 0.8037 GB, free: 50.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001477/1.609, allocations: 33.59 kB / 0.8038 GB, free: 50.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=812) (initialization): time 0.01923/1.628, allocations: 8.862 MB / 0.8124 GB, free: 47.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002187/1.629, allocations: 57.53 kB / 0.8125 GB, free: 47.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002726/1.629, allocations: 122 kB / 0.8126 GB, free: 47.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003627/1.633, allocations: 1.139 MB / 0.8137 GB, free: 47.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005403/1.638, allocations: 1.394 MB / 0.815 GB, free: 47.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005543/1.644, allocations: 4.579 MB / 0.8195 GB, free: 44.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005658/1.649, allocations: 332.3 kB / 0.8198 GB, free: 44.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001621/1.651, allocations: 355.8 kB / 0.8202 GB, free: 44.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * Number of states: 0 () * Number of discrete variables: 30 (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.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 (751): * Single equations (assignments): 743 * 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.003223/1.654, allocations: 0.5493 MB / 0.8207 GB, free: 44.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/1.656, allocations: 309.2 kB / 0.821 GB, free: 44.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009286/1.665, allocations: 4.435 MB / 0.8253 GB, free: 40.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.959e-05/1.665, allocations: 47.22 kB / 0.8254 GB, free: 40.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/1.665, allocations: 7.953 kB / 0.8254 GB, free: 40.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.863e-05/1.665, allocations: 9.703 kB / 0.8254 GB, free: 40.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02923/1.694, allocations: 10.57 MB / 0.8357 GB, free: 31.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/1.694, allocations: 4 kB / 0.8357 GB, free: 31.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/1.696, allocations: 398.1 kB / 0.8361 GB, free: 31.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001901/1.698, allocations: 0.6697 MB / 0.8368 GB, free: 30.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003707/1.699, allocations: 47.89 kB / 0.8368 GB, free: 30.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002408/1.701, allocations: 2.433 MB / 0.8392 GB, free: 28.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.701, allocations: 7.938 kB / 0.8392 GB, free: 28.44 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/1.711, allocations: 7.272 MB / 0.8463 GB, free: 21.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/1.713, allocations: 356.3 kB / 0.8466 GB, free: 21.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009213/1.714, allocations: 44 kB / 0.8467 GB, free: 21.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001919/1.716, allocations: 141.1 kB / 0.8468 GB, free: 21.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003399/1.716, allocations: 135.7 kB / 0.8469 GB, free: 21.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002115/1.717, allocations: 71.7 kB / 0.847 GB, free: 21.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004421/1.721, allocations: 1.919 MB / 0.8489 GB, free: 19.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.6e-07/1.721, allocations: 0 / 0.8489 GB, free: 19.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007133/1.728, allocations: 1.092 MB / 0.8499 GB, free: 18.3 MB / 0.4948 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 (197): * Single equations (assignments): 188 * 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.01082/1.739, allocations: 9.232 MB / 0.859 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01016/1.749, allocations: 5.795 MB / 0.8646 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/1.749, allocations: 0 / 0.8646 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004356/1.754, allocations: 2.419 MB / 0.867 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003483/1.757, allocations: 417.9 kB / 0.8674 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0404/1.798, allocations: 11.21 MB / 0.8783 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009737/1.807, allocations: 3.859 MB / 0.8821 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005628/1.813, allocations: 2.062 MB / 0.8841 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004448/1.818, allocations: 2.141 MB / 0.8862 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of SimCode: time 2.134e-06/1.818, allocations: 0 / 0.8862 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4883/2.306, allocations: 77.55 MB / 0.9619 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/2.306, allocations: 185.5 kB / 0.9621 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.337/6.643, allocations: 0 / 0.9621 GB, free: 94.6 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat does not exist to compare? outputFormat=mat