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.001164/0.001164, allocations: 184.8 kB / 17.06 MB, free: 5.074 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.468/1.468, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008477/0.0008477, allocations: 94.05 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4101/0.4101, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 20 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3712, allocations: 61.89 MB / 0.5096 GB, free: 38.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1648/0.536, allocations: 110.4 MB / 0.6174 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.5363, allocations: 91.91 kB / 0.6175 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.54/1.076, allocations: 97.81 MB / 0.713 GB, free: 97.35 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.857e-06/1.076, allocations: 1.031 kB / 0.713 GB, free: 97.35 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002935/1.077, allocations: 94.56 kB / 0.7131 GB, free: 97.34 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.0291/1.106, allocations: 4.739 MB / 0.7178 GB, free: 95.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.341e-05/1.106, allocations: 9.188 kB / 0.7178 GB, free: 95.33 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006025/1.112, allocations: 0.9304 MB / 0.7187 GB, free: 95.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01681/1.129, allocations: 3.601 MB / 0.7222 GB, free: 94.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01497/1.144, allocations: 4.756 MB / 0.7268 GB, free: 93.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003811/1.144, allocations: 374.8 kB / 0.7272 GB, free: 93.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003263/1.148, allocations: 492.4 kB / 0.7277 GB, free: 93.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03241/1.18, allocations: 12.04 MB / 0.7394 GB, free: 88.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003859/1.18, allocations: 38 kB / 0.7395 GB, free: 88.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003083/1.183, allocations: 219.5 kB / 0.7397 GB, free: 88.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00209/1.186, allocations: 1.293 MB / 0.7409 GB, free: 88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02489/1.211, allocations: 11.33 MB / 0.752 GB, free: 84.49 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06759/1.278, allocations: 41.37 MB / 0.7924 GB, free: 51.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009711/1.288, allocations: 4.948 MB / 0.7972 GB, free: 45.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01313/1.301, allocations: 6.797 MB / 0.8039 GB, free: 38.76 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/1.301, allocations: 60.5 kB / 0.8039 GB, free: 38.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=226): time 8.737e-06/1.301, allocations: 0 / 0.8039 GB, free: 38.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=235): time 0.03884/1.34, allocations: 16.65 MB / 0.8202 GB, free: 21.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/1.34, allocations: 69.41 kB / 0.8202 GB, free: 21.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005476/1.346, allocations: 2.798 MB / 0.823 GB, free: 18.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004073/1.346, allocations: 57.7 kB / 0.823 GB, free: 18.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001921/1.348, allocations: 3.218 MB / 0.8262 GB, free: 15.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001126/1.349, allocations: 0.8864 MB / 0.827 GB, free: 14.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006329/1.35, allocations: 119.5 kB / 0.8271 GB, free: 14.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005661/1.35, allocations: 0.5622 MB / 0.8277 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00351/1.354, allocations: 2.338 MB / 0.83 GB, free: 11.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005087/1.359, allocations: 5.631 MB / 0.8355 GB, free: 4.445 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004978/1.364, allocations: 3.622 MB / 0.839 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001146/1.364, allocations: 39.95 kB / 0.8391 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.0171/1.381, allocations: 8.755 MB / 0.8476 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/1.381, allocations: 58.19 kB / 0.8477 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001608/1.382, allocations: 116 kB / 0.8478 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003394/1.385, allocations: 1.134 MB / 0.8489 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004803/1.39, allocations: 1.349 MB / 0.8502 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005928/1.396, allocations: 4.654 MB / 0.8547 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00407/1.4, allocations: 315.8 kB / 0.855 GB, free: 236 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/1.401, allocations: 352.3 kB / 0.8554 GB, free: 15.89 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.005056/1.406, allocations: 2.377 MB / 0.8577 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006544/1.407, allocations: 296.2 kB / 0.858 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007939/1.415, allocations: 4.37 MB / 0.8622 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.864e-05/1.415, allocations: 51.97 kB / 0.8623 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/1.415, allocations: 0 / 0.8623 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.125e-05/1.415, allocations: 7.969 kB / 0.8623 GB, free: 8.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3254/1.74, allocations: 10.36 MB / 0.8724 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/1.74, allocations: 5.312 kB / 0.8724 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/1.742, allocations: 382.1 kB / 0.8728 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001884/1.744, allocations: 0.6713 MB / 0.8735 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003504/1.744, allocations: 45.8 kB / 0.8735 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/1.747, allocations: 2.441 MB / 0.8759 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.747, allocations: 10.44 kB / 0.8759 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009344/1.756, allocations: 7.157 MB / 0.8829 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.757, allocations: 348.8 kB / 0.8832 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00047/1.758, allocations: 45.19 kB / 0.8833 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/1.759, allocations: 137.5 kB / 0.8834 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/1.759, allocations: 134.6 kB / 0.8835 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/1.759, allocations: 74.38 kB / 0.8836 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002986/1.762, allocations: 1.886 MB / 0.8854 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/1.762, allocations: 1.203 kB / 0.8854 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005777/1.768, allocations: 1.068 MB / 0.8865 GB, free: 112.6 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 () * 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.009798/1.778, allocations: 9.13 MB / 0.8954 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01066/1.789, allocations: 5.726 MB / 0.901 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/1.789, allocations: 1.094 kB / 0.901 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005129/1.794, allocations: 2.379 MB / 0.9033 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/1.798, allocations: 425.6 kB / 0.9037 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07957/1.877, allocations: 113.5 MB / 1.015 GB, free: 23.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005935/1.883, allocations: 3.773 MB / 1.018 GB, free: 22.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005009/1.888, allocations: 2.016 MB / 1.02 GB, free: 22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003843/1.892, allocations: 2.087 MB / 1.022 GB, free: 20.27 MB / 0.5261 GB Notification: Performance of SimCode: time 2.114e-06/1.892, allocations: 7 kB / 1.022 GB, free: 20.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4028/2.295, allocations: 74.81 MB / 1.095 GB, free: 128.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/2.295, allocations: 221.5 kB / 1.095 GB, free: 128.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.117/6.412, allocations: 3.062 kB / 1.095 GB, free: 128.6 MB / 0.5417 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