Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.FreeMotion,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_4_0_0_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.001123/0.001124, allocations: 106.9 kB / 17.33 MB, free: 5.996 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.001622/0.001622, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.436/1.436, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2094/0.2094, allocations: 44.18 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 72.39 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1365, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.027/0.1636, allocations: 29.26 MB / 498.1 MB, free: 1.254 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.1778, allocations: 6.792 MB / 0.493 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004826/0.1826, allocations: 119.8 kB / 0.4932 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002554/0.1853, allocations: 1.11 MB / 0.4942 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003942/0.1892, allocations: 1.678 MB / 0.4959 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.1903, allocations: 467.2 kB / 0.4963 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004638/0.195, allocations: 4.015 MB / 0.5002 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002402/0.1974, allocations: 1.889 MB / 0.5021 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2491/0.4466, allocations: 1.189 MB / 0.5032 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003571/0.4502, allocations: 1.859 MB / 0.5051 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009919/0.4512, allocations: 222.7 kB / 0.5053 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/0.4543, allocations: 1.114 MB / 0.5064 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002991/0.4573, allocations: 1.657 MB / 0.508 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00452/0.4618, allocations: 1.907 MB / 0.5098 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009648/0.4715, allocations: 6.036 MB / 0.5157 GB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.4716, allocations: 0 / 0.5157 GB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4716, allocations: 5.375 kB / 0.5157 GB, free: 11.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003009/0.4719, allocations: 0 / 0.5157 GB, free: 11.31 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: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.01338/0.4853, allocations: 4.216 MB / 0.5199 GB, free: 9.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.4853, allocations: 9.25 kB / 0.5199 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001911/0.4873, allocations: 0.7027 MB / 0.5206 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/0.4988, allocations: 3.167 MB / 0.5236 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006226/0.505, allocations: 2.692 MB / 0.5263 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.5052, allocations: 177.7 kB / 0.5264 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001633/0.5069, allocations: 333.8 kB / 0.5268 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01798/0.5249, allocations: 10.48 MB / 0.537 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.525, allocations: 30.75 kB / 0.537 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000506/0.5255, allocations: 117.3 kB / 0.5371 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003476/0.529, allocations: 2.498 MB / 0.5396 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02095/0.55, allocations: 10.01 MB / 0.5494 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05548/0.6055, allocations: 35 MB / 0.5835 GB, free: 4.215 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008386/0.6139, allocations: 4.312 MB / 0.5877 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003216/0.6172, allocations: 2.156 MB / 0.5899 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/0.6184, allocations: 1.314 MB / 0.5911 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.6184, allocations: 52.56 kB / 0.5912 GB, free: 11.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=236): time 5.911e-06/0.6185, allocations: 0 / 0.5912 GB, free: 11.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.04122/0.6597, allocations: 16.76 MB / 0.6076 GB, free: 11.13 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001375/0.6611, allocations: 1.614 MB / 0.6091 GB, free: 9.359 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004947/0.6661, allocations: 2.725 MB / 0.6118 GB, free: 6.617 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005828/0.6667, allocations: 56.2 kB / 0.6118 GB, free: 6.559 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001956/0.6686, allocations: 2.665 MB / 0.6145 GB, free: 3.891 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001638/0.6703, allocations: 0.9259 MB / 0.6154 GB, free: 2.973 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003273/0.6736, allocations: 1.098 MB / 0.6164 GB, free: 1.863 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.108e-05/0.6737, allocations: 301.1 kB / 0.6167 GB, free: 1.566 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004259/0.678, allocations: 2.4 MB / 0.6191 GB, free: 15.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00719/0.6852, allocations: 5.364 MB / 0.6243 GB, free: 8.398 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/0.6963, allocations: 8.445 MB / 0.6325 GB, free: 14.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.535e-05/0.6964, allocations: 32 kB / 0.6326 GB, free: 14.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=732) (initialization): time 0.02364/0.7201, allocations: 9.322 MB / 0.6417 GB, free: 6.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.7202, allocations: 48 kB / 0.6417 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01421/0.7345, allocations: 4.501 MB / 0.6461 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0109/0.7454, allocations: 2.015 MB / 0.6481 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004761/0.7502, allocations: 1.252 MB / 0.6493 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007753/0.758, allocations: 5.273 MB / 0.6545 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005367/0.7634, allocations: 395.5 kB / 0.6548 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001775/0.7652, allocations: 316 kB / 0.6551 GB, free: 8.254 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 26 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (670): * Single equations (assignments): 658 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006322/0.7715, allocations: 2.056 MB / 0.6571 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009645/0.7725, allocations: 276.4 kB / 0.6574 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.7847, allocations: 5.319 MB / 0.6626 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009877/0.7946, allocations: 4.61 MB / 0.6671 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.223e-05/0.7946, allocations: 7.938 kB / 0.6671 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.676e-05/0.7947, allocations: 7.969 kB / 0.6671 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03146/0.8262, allocations: 14.45 MB / 0.6812 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.737e-05/0.8262, allocations: 12 kB / 0.6812 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/0.8281, allocations: 399.4 kB / 0.6816 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004605/0.8327, allocations: 1.252 MB / 0.6828 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005944/0.8333, allocations: 55.97 kB / 0.6829 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00511/0.8385, allocations: 4.752 MB / 0.6875 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001194/0.8397, allocations: 1.558 MB / 0.6891 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01554/0.8552, allocations: 7.999 MB / 0.6969 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/0.8563, allocations: 325.5 kB / 0.6972 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/0.8575, allocations: 51.98 kB / 0.6972 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002137/0.8597, allocations: 194.9 kB / 0.6974 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006659/0.8604, allocations: 172.8 kB / 0.6976 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004328/0.8608, allocations: 71.98 kB / 0.6976 GB, free: 11.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004534/0.8653, allocations: 1.673 MB / 0.6993 GB, free: 10.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8654, allocations: 0 / 0.6993 GB, free: 10.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006683/0.8721, allocations: 1.043 MB / 0.7003 GB, free: 9.172 MB / 0.545 GB 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 (192): * Single equations (assignments): 182 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01493/0.887, allocations: 8.555 MB / 0.7087 GB, free: 456 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2418/1.129, allocations: 9.827 MB / 0.7183 GB, free: 212.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/1.129, allocations: 5.031 kB / 0.7183 GB, free: 212.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004511/1.133, allocations: 2.852 MB / 0.721 GB, free: 211.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/1.136, allocations: 400.3 kB / 0.7214 GB, free: 211.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07205/1.208, allocations: 49.54 MB / 0.7698 GB, free: 163.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003396/1.211, allocations: 3.232 MB / 0.773 GB, free: 160.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006316/1.218, allocations: 2.075 MB / 0.775 GB, free: 158.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004389/1.222, allocations: 1.733 MB / 0.7767 GB, free: 156.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/1.222, allocations: 0 / 0.7767 GB, free: 156.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/1.339, allocations: 64.02 MB / 0.8392 GB, free: 92.91 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/1.34, allocations: 233.4 kB / 0.8394 GB, free: 92.65 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.567/4.907, allocations: 3.938 kB / 0.8394 GB, free: 92.65 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotion_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotion.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches