Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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 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 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) 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.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",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.0007639/0.000764, allocations: 94.19 kB / 16.99 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008173/0.0008173, allocations: 187.5 kB / 17.89 MB, free: 5.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2007/0.2007, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 8.812 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1321, allocations: 61.91 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.04068/0.1728, allocations: 41.11 MB / 0.5007 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.295/0.4679, allocations: 9.205 MB / 0.5097 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01053/0.4785, allocations: 194.5 kB / 0.5099 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00704/0.4855, allocations: 1.751 MB / 0.5116 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01722/0.5028, allocations: 5.056 MB / 0.5166 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003186/0.506, allocations: 461.4 kB / 0.517 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008286/0.5143, allocations: 4.395 MB / 0.5213 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008004/0.5224, allocations: 4.14 MB / 0.5253 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003489/0.5259, allocations: 1.15 MB / 0.5265 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00396/0.5299, allocations: 1.838 MB / 0.5282 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009028/0.5308, allocations: 146.4 kB / 0.5284 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.5334, allocations: 0.8767 MB / 0.5292 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001955/0.5354, allocations: 1.691 MB / 0.5309 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.5367, allocations: 0.8746 MB / 0.5318 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006859/0.5436, allocations: 5.813 MB / 0.5374 GB, free: 2.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.5436, allocations: 1.969 kB / 0.5374 GB, free: 2.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.536e-06/0.5437, allocations: 0 / 0.5374 GB, free: 2.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002903/0.544, allocations: 2.812 kB / 0.5374 GB, free: 2.422 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.0111/0.5551, allocations: 4.23 MB / 0.5416 GB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5551, allocations: 12.66 kB / 0.5416 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002488/0.5576, allocations: 0.8215 MB / 0.5424 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.5686, allocations: 3.252 MB / 0.5456 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006256/0.5749, allocations: 2.494 MB / 0.548 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002404/0.5751, allocations: 242.6 kB / 0.5482 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00132/0.5765, allocations: 325.5 kB / 0.5485 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02135/0.5978, allocations: 11.55 MB / 0.5598 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/0.598, allocations: 31.7 kB / 0.5598 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000541/0.5985, allocations: 152.2 kB / 0.56 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003822/0.6023, allocations: 2.573 MB / 0.5625 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/0.6254, allocations: 10.64 MB / 0.5729 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06035/0.6858, allocations: 36.62 MB / 0.6087 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007395/0.6933, allocations: 4.271 MB / 0.6128 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002772/0.6961, allocations: 2.116 MB / 0.6149 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.6971, allocations: 1.322 MB / 0.6162 GB, free: 9.793 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.6972, allocations: 52.56 kB / 0.6162 GB, free: 9.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=235): time 5.29e-06/0.6972, allocations: 0 / 0.6162 GB, free: 9.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=256): time 0.03659/0.7338, allocations: 13.76 MB / 0.6297 GB, free: 11.93 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.7339, allocations: 69.41 kB / 0.6297 GB, free: 11.85 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004444/0.7384, allocations: 2.899 MB / 0.6326 GB, free: 8.934 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003815/0.7388, allocations: 61.7 kB / 0.6326 GB, free: 8.867 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002196/0.741, allocations: 3.042 MB / 0.6356 GB, free: 5.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001189/0.7422, allocations: 0.9392 MB / 0.6365 GB, free: 4.906 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.7424, allocations: 119.1 kB / 0.6366 GB, free: 4.793 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003354/0.7428, allocations: 0.558 MB / 0.6372 GB, free: 4.227 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003227/0.746, allocations: 2.311 MB / 0.6394 GB, free: 1.91 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005256/0.7513, allocations: 5.533 MB / 0.6448 GB, free: 10.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005282/0.7566, allocations: 3.575 MB / 0.6483 GB, free: 7.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.978e-05/0.7567, allocations: 33.42 kB / 0.6484 GB, free: 7.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01723/0.7739, allocations: 8.529 MB / 0.6567 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.7741, allocations: 55.98 kB / 0.6567 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002058/0.7743, allocations: 112 kB / 0.6568 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003369/0.7777, allocations: 1.06 MB / 0.6579 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00467/0.7824, allocations: 1.33 MB / 0.6592 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/0.7855, allocations: 2.486 MB / 0.6616 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005033/0.7905, allocations: 319.8 kB / 0.6619 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/0.7916, allocations: 332 kB / 0.6622 GB, free: 8.816 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 510 * Number of states: 0 () * Number of discrete variables: 29 (freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (722): * Single equations (assignments): 713 * 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.005584/0.7972, allocations: 2.321 MB / 0.6645 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008779/0.7981, allocations: 292.2 kB / 0.6648 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009315/0.8074, allocations: 4.959 MB / 0.6696 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.492e-05/0.8075, allocations: 55.94 kB / 0.6697 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.8075, allocations: 1.203 kB / 0.6697 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-05/0.8076, allocations: 7.969 kB / 0.6697 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02256/0.8301, allocations: 11.5 MB / 0.6809 GB, free: 5.488 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/0.8302, allocations: 8 kB / 0.6809 GB, free: 5.48 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/0.832, allocations: 407.3 kB / 0.6813 GB, free: 5.082 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003042/0.835, allocations: 0.9081 MB / 0.6822 GB, free: 4.164 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003089/0.8354, allocations: 55.98 kB / 0.6822 GB, free: 4.109 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002596/0.838, allocations: 2.276 MB / 0.6845 GB, free: 1.699 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/0.838, allocations: 16 kB / 0.6845 GB, free: 1.684 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/0.8493, allocations: 7.373 MB / 0.6917 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000821/0.8502, allocations: 337.2 kB / 0.692 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003629/0.8506, allocations: 48 kB / 0.6921 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.8517, allocations: 138.2 kB / 0.6922 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/0.852, allocations: 153.6 kB / 0.6923 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/0.8521, allocations: 75.92 kB / 0.6924 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002647/0.8548, allocations: 1.76 MB / 0.6941 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8548, allocations: 0 / 0.6941 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003986/0.8588, allocations: 1.019 MB / 0.6951 GB, free: 6.609 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_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 (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.2626/1.121, allocations: 8.016 MB / 0.7029 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01244/1.134, allocations: 6.094 MB / 0.7089 GB, free: 183 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/1.134, allocations: 1.375 kB / 0.7089 GB, free: 183 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005006/1.139, allocations: 2.544 MB / 0.7114 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/1.142, allocations: 0.4963 MB / 0.7119 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05203/1.194, allocations: 33.29 MB / 0.7444 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003969/1.198, allocations: 3.584 MB / 0.7479 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004399/1.202, allocations: 2.094 MB / 0.7499 GB, free: 158 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002734/1.205, allocations: 2.007 MB / 0.7519 GB, free: 156 MB / 0.5294 GB Notification: Performance of SimCode: time 1.222e-06/1.205, allocations: 0 / 0.7519 GB, free: 156 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1366/1.342, allocations: 72.56 MB / 0.8227 GB, free: 83.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/1.342, allocations: 216.8 kB / 0.8229 GB, free: 83.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.635/4.977, allocations: 4 kB / 0.823 GB, free: 83.66 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat