Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 95.5 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 178.4 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.382/0.382, allocations: 43.55 MB / 314.5 MB, free: 8.777 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000564/0.0005644, allocations: 23.98 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1469, allocations: 58.84 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.3224/0.4693, allocations: 25.31 MB / 468.2 MB, free: 35.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01715/0.4865, allocations: 6.72 MB / 474.9 MB, free: 32.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006348/0.4929, allocations: 115.7 kB / 475 MB, free: 32.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004767/0.4977, allocations: 1.29 MB / 476.3 MB, free: 31.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01514/0.5129, allocations: 3.945 MB / 480.2 MB, free: 30.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.5153, allocations: 409.9 kB / 480.6 MB, free: 29.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006022/0.5213, allocations: 2.195 MB / 482.8 MB, free: 29.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004871/0.5262, allocations: 2.219 MB / 485 MB, free: 28.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/0.5285, allocations: 0.893 MB / 485.9 MB, free: 27.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.531, allocations: 1.246 MB / 487.2 MB, free: 27.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.5322, allocations: 133.2 kB / 487.3 MB, free: 27.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.5351, allocations: 0.8739 MB / 488.2 MB, free: 27.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002509/0.5376, allocations: 1.464 MB / 489.6 MB, free: 26.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001795/0.5394, allocations: 0.7713 MB / 490.4 MB, free: 26.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009415/0.5489, allocations: 4.909 MB / 495.3 MB, free: 25.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.5489, allocations: 4 kB / 495.3 MB, free: 25.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.5489, allocations: 1.531 kB / 495.3 MB, free: 25.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003485/0.5493, allocations: 0 / 495.3 MB, free: 25.23 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.0143/0.5636, allocations: 3.686 MB / 499 MB, free: 23.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.5637, allocations: 8.781 kB / 499 MB, free: 23.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003605/0.5673, allocations: 0.7258 MB / 499.7 MB, free: 22.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01553/0.5828, allocations: 3.861 MB / 0.4918 GB, free: 21.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008781/0.5917, allocations: 2.424 MB / 0.4942 GB, free: 20.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004275/0.5921, allocations: 191.3 kB / 0.4944 GB, free: 20.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003102/0.5953, allocations: 336.8 kB / 0.4947 GB, free: 19.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02691/0.6222, allocations: 10.84 MB / 0.5053 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001175/0.6224, allocations: 22.62 kB / 0.5053 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004783/0.6229, allocations: 120.1 kB / 0.5054 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004193/0.6271, allocations: 2.562 MB / 0.5079 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02047/0.6476, allocations: 10.33 MB / 0.518 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06713/0.7147, allocations: 36 MB / 0.5531 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009523/0.7243, allocations: 4.425 MB / 0.5575 GB, free: 8.926 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001761/0.7261, allocations: 1.323 MB / 0.5588 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.036e-05/0.7262, allocations: 56.5 kB / 0.5588 GB, free: 7.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=245): time 6.051e-06/0.7262, allocations: 0 / 0.5588 GB, free: 7.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=261): time 0.04395/0.7702, allocations: 17.63 MB / 0.576 GB, free: 5.414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001572/0.7718, allocations: 1.543 MB / 0.5775 GB, free: 3.711 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004991/0.7768, allocations: 3.002 MB / 0.5805 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007534/0.7776, allocations: 61.95 kB / 0.5805 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002327/0.7799, allocations: 2.74 MB / 0.5832 GB, free: 13.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001841/0.7818, allocations: 0.9597 MB / 0.5841 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003192/0.7821, allocations: 111.9 kB / 0.5843 GB, free: 12.76 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0005289/0.7827, allocations: 0.5498 MB / 0.5848 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004215/0.7869, allocations: 2.463 MB / 0.5872 GB, free: 9.734 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007465/0.7944, allocations: 5.481 MB / 0.5925 GB, free: 2.766 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006927/0.8013, allocations: 3.669 MB / 0.5961 GB, free: 15.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.142e-05/0.8015, allocations: 32 kB / 0.5962 GB, free: 15.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02739/0.8289, allocations: 9.829 MB / 0.6058 GB, free: 5.215 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.829, allocations: 48 kB / 0.6058 GB, free: 5.168 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01494/0.844, allocations: 4.913 MB / 0.6106 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0117/0.8557, allocations: 2.386 MB / 0.6129 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005223/0.861, allocations: 1.291 MB / 0.6142 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0094/0.8704, allocations: 6.154 MB / 0.6202 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005796/0.8763, allocations: 411.5 kB / 0.6206 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/0.8779, allocations: 328 kB / 0.6209 GB, free: 5.406 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 24 (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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.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 (692): * Single equations (assignments): 680 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.006055/0.884, allocations: 2.102 MB / 0.623 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008145/0.8848, allocations: 284.2 kB / 0.6232 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.283/1.168, allocations: 5.434 MB / 0.6285 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00964/1.177, allocations: 4.684 MB / 0.6331 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/1.178, allocations: 3.844 kB / 0.6331 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.982e-05/1.178, allocations: 12.66 kB / 0.6331 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02775/1.205, allocations: 14.73 MB / 0.6475 GB, free: 136 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/1.205, allocations: 9.656 kB / 0.6475 GB, free: 136 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/1.207, allocations: 426.7 kB / 0.6479 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00466/1.212, allocations: 1.241 MB / 0.6491 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004432/1.212, allocations: 68.59 kB / 0.6492 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005253/1.218, allocations: 4.521 MB / 0.6536 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009324/1.219, allocations: 1.484 MB / 0.6551 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0159/1.235, allocations: 8.972 MB / 0.6638 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.236, allocations: 347.1 kB / 0.6642 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004983/1.236, allocations: 56.16 kB / 0.6642 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/1.238, allocations: 201.6 kB / 0.6644 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003941/1.238, allocations: 174.9 kB / 0.6646 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/1.239, allocations: 79.69 kB / 0.6647 GB, free: 127.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003141/1.242, allocations: 1.874 MB / 0.6665 GB, free: 126.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.242, allocations: 3.719 kB / 0.6665 GB, free: 126.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005519/1.247, allocations: 1.1 MB / 0.6676 GB, free: 126.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.01283/1.26, allocations: 12.01 MB / 0.6793 GB, free: 119.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01048/1.271, allocations: 6.507 MB / 0.6856 GB, free: 116.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/1.271, allocations: 384 / 0.6856 GB, free: 116.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004413/1.275, allocations: 2.894 MB / 0.6885 GB, free: 113.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/1.277, allocations: 361.5 kB / 0.6888 GB, free: 113.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0793/1.357, allocations: 106.7 MB / 0.793 GB, free: 3.531 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004023/1.361, allocations: 3.394 MB / 0.7963 GB, free: 112 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005323/1.366, allocations: 2.119 MB / 0.7984 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003516/1.37, allocations: 1.807 MB / 0.8001 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of SimCode: time 1.433e-06/1.37, allocations: 4 kB / 0.8002 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3871/1.757, allocations: 73.64 MB / 0.8721 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/1.757, allocations: 211.8 kB / 0.8723 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.81/5.567, allocations: 0 / 0.8723 GB, free: 126.2 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat does not exist to compare? outputFormat=mat