Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001507/0.001507, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2033/0.2033, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 79.41 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1026, allocations: 62.46 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01232/0.1149, allocations: 11.71 MB / 491.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007349/0.1223, allocations: 3.94 MB / 495.8 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.1239, allocations: 59.88 kB / 495.8 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002307/0.1263, allocations: 1.175 MB / 497 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003354/0.1296, allocations: 1.728 MB / 498.7 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.1307, allocations: 499 kB / 499.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004162/0.1349, allocations: 4.052 MB / 0.4915 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00211/0.137, allocations: 1.795 MB / 0.4932 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.1385, allocations: 1.148 MB / 0.4944 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/0.1404, allocations: 1.662 MB / 0.496 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005068/0.1409, allocations: 220 kB / 0.4962 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.1426, allocations: 1.069 MB / 0.4972 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.144, allocations: 1.585 MB / 0.4988 GB, free: 6.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001778/0.1458, allocations: 1.844 MB / 0.5006 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1914/0.3372, allocations: 5.815 MB / 0.5063 GB, free: 19.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3372, allocations: 4.266 kB / 0.5063 GB, free: 19.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3372, allocations: 0 / 0.5063 GB, free: 19.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002077/0.3374, allocations: 1.094 kB / 0.5063 GB, free: 19.25 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: 1483 * Number of variables: 1483 Notification: Performance of Generate backend data structure: time 0.008055/0.3455, allocations: 4.126 MB / 0.5103 GB, free: 17.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3456, allocations: 9.562 kB / 0.5103 GB, free: 17.6 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009401/0.3465, allocations: 0.6851 MB / 0.511 GB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/0.3588, allocations: 3.204 MB / 0.5141 GB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005674/0.3645, allocations: 2.453 MB / 0.5165 GB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.3648, allocations: 181.6 kB / 0.5167 GB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001193/0.366, allocations: 327 kB / 0.517 GB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01838/0.3843, allocations: 10.29 MB / 0.527 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001236/0.3845, allocations: 40.7 kB / 0.5271 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005154/0.3851, allocations: 114.2 kB / 0.5272 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004178/0.3893, allocations: 2.432 MB / 0.5296 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.4042, allocations: 9.845 MB / 0.5392 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04455/0.4488, allocations: 34.58 MB / 0.5729 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008293/0.4572, allocations: 4.308 MB / 0.5772 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002868/0.4601, allocations: 2.154 MB / 0.5793 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/0.4612, allocations: 1.314 MB / 0.5805 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.4613, allocations: 56.56 kB / 0.5806 GB, free: 12.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=236): time 4.949e-06/0.4613, allocations: 0 / 0.5806 GB, free: 12.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.04054/0.5018, allocations: 16.73 MB / 0.5969 GB, free: 11.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001266/0.5031, allocations: 1.617 MB / 0.5985 GB, free: 9.664 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00408/0.5072, allocations: 2.679 MB / 0.6011 GB, free: 6.969 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004622/0.5077, allocations: 61.53 kB / 0.6012 GB, free: 6.906 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001888/0.5096, allocations: 2.61 MB / 0.6037 GB, free: 4.305 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001219/0.5109, allocations: 0.9241 MB / 0.6046 GB, free: 3.387 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00221/0.5131, allocations: 1.092 MB / 0.6057 GB, free: 2.293 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.5132, allocations: 301.1 kB / 0.606 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003909/0.5171, allocations: 2.397 MB / 0.6083 GB, free: 15.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00633/0.5235, allocations: 5.312 MB / 0.6135 GB, free: 8.906 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/0.534, allocations: 8.389 MB / 0.6217 GB, free: 15.51 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001035/0.5341, allocations: 28 kB / 0.6217 GB, free: 15.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.0223/0.5564, allocations: 9.344 MB / 0.6309 GB, free: 6.457 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.324e-05/0.5566, allocations: 48 kB / 0.6309 GB, free: 6.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01354/0.5701, allocations: 4.569 MB / 0.6354 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01135/0.5815, allocations: 2.091 MB / 0.6374 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00431/0.5858, allocations: 1.244 MB / 0.6386 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007586/0.5934, allocations: 5.293 MB / 0.6438 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004052/0.5975, allocations: 390.2 kB / 0.6442 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/0.5986, allocations: 320 kB / 0.6445 GB, free: 8.211 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 26 (freeMotion.arrow.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 (664): * Single equations (assignments): 652 * 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.004782/0.6034, allocations: 2.027 MB / 0.6465 GB, free: 6.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/0.6044, allocations: 264.5 kB / 0.6467 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/0.6161, allocations: 5.331 MB / 0.6519 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009995/0.6261, allocations: 4.604 MB / 0.6564 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.239e-05/0.6262, allocations: 0 / 0.6564 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.085e-05/0.6262, allocations: 11.95 kB / 0.6564 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02612/0.6523, allocations: 14.31 MB / 0.6704 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.268e-05/0.6524, allocations: 8 kB / 0.6704 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/0.6541, allocations: 408.2 kB / 0.6708 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004637/0.6588, allocations: 1.244 MB / 0.672 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003004/0.6591, allocations: 65.78 kB / 0.6721 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005158/0.6643, allocations: 4.76 MB / 0.6767 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001015/0.6653, allocations: 1.562 MB / 0.6782 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/0.6788, allocations: 8.002 MB / 0.6861 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007386/0.6796, allocations: 321.6 kB / 0.6864 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006708/0.6803, allocations: 55.92 kB / 0.6864 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/0.6821, allocations: 191.7 kB / 0.6866 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004142/0.6826, allocations: 164.9 kB / 0.6868 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/0.6828, allocations: 85.56 kB / 0.6868 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002282/0.685, allocations: 1.652 MB / 0.6885 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6851, allocations: 0 / 0.6885 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004089/0.6891, allocations: 1.004 MB / 0.6894 GB, free: 9.27 MB / 0.5294 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.01332/0.7025, allocations: 8.541 MB / 0.6978 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01752/0.72, allocations: 9.813 MB / 0.7074 GB, free: 6.699 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/0.7201, allocations: 2.625 kB / 0.7074 GB, free: 6.699 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005311/0.7254, allocations: 2.85 MB / 0.7101 GB, free: 3.785 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/0.7283, allocations: 388.6 kB / 0.7105 GB, free: 3.414 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2683/0.9966, allocations: 47.31 MB / 0.7567 GB, free: 174.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004082/1.001, allocations: 3.189 MB / 0.7598 GB, free: 171.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00431/1.005, allocations: 2.051 MB / 0.7618 GB, free: 169 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00217/1.007, allocations: 1.697 MB / 0.7635 GB, free: 167.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/1.007, allocations: 4 kB / 0.7635 GB, free: 167.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1403/1.148, allocations: 63.35 MB / 0.8254 GB, free: 104.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.62/16.76, allocations: 3.938 kB / 0.8254 GB, free: 104.2 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches