Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001052/0.001052, allocations: 103.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1968/0.1968, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 76.25 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1099, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01312/0.1231, allocations: 12.64 MB / 492.8 MB, free: 8.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008742/0.1319, allocations: 4.063 MB / 496.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.1338, allocations: 71.81 kB / 496.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003557/0.1375, allocations: 1.845 MB / 498.7 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003807/0.1413, allocations: 1.751 MB / 0.4888 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.1424, allocations: 495 kB / 0.4892 GB, free: 240 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003616/0.146, allocations: 3.772 MB / 0.4929 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002601/0.1486, allocations: 2.856 MB / 0.4957 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.1499, allocations: 1.339 MB / 0.497 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.1518, allocations: 1.861 MB / 0.4988 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004184/0.1522, allocations: 284 kB / 0.4991 GB, free: 6.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.154, allocations: 1.092 MB / 0.5002 GB, free: 4.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.1552, allocations: 1.741 MB / 0.5019 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.1568, allocations: 2.069 MB / 0.5039 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2112/0.368, allocations: 6.583 MB / 0.5103 GB, free: 17.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.368, allocations: 0 / 0.5103 GB, free: 17.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.368, allocations: 3.969 kB / 0.5103 GB, free: 17.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001923/0.3682, allocations: 0 / 0.5103 GB, free: 17.06 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: 1622 * Number of variables: 1622 Notification: Performance of Generate backend data structure: time 0.01152/0.3798, allocations: 4.799 MB / 0.515 GB, free: 15.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3798, allocations: 7.094 kB / 0.515 GB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001016/0.3808, allocations: 0.7534 MB / 0.5158 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.391, allocations: 3.116 MB / 0.5188 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004279/0.3953, allocations: 2.256 MB / 0.521 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.3954, allocations: 212.5 kB / 0.5212 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006394/0.3961, allocations: 286.5 kB / 0.5215 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01561/0.4117, allocations: 10.95 MB / 0.5322 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-05/0.4118, allocations: 29.84 kB / 0.5322 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004159/0.4123, allocations: 133.6 kB / 0.5323 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003619/0.4159, allocations: 2.511 MB / 0.5348 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01682/0.4327, allocations: 10.28 MB / 0.5448 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05451/0.4873, allocations: 35.09 MB / 0.5791 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008589/0.4959, allocations: 4.29 MB / 0.5833 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003116/0.499, allocations: 2.115 MB / 0.5853 GB, free: 7.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/0.5004, allocations: 1.321 MB / 0.5866 GB, free: 6.145 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.5005, allocations: 56.56 kB / 0.5867 GB, free: 6.082 MB / 430.1 MB Notification: Performance of pre-optimization done (n=235): time 5.76e-06/0.5005, allocations: 0 / 0.5867 GB, free: 6.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=256): time 0.04232/0.5428, allocations: 13.64 MB / 0.6 GB, free: 8.434 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.5429, allocations: 77.41 kB / 0.6001 GB, free: 8.344 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004646/0.5476, allocations: 2.754 MB / 0.6028 GB, free: 5.578 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000366/0.548, allocations: 57.7 kB / 0.6028 GB, free: 5.516 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001878/0.5498, allocations: 2.828 MB / 0.6056 GB, free: 2.699 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001152/0.551, allocations: 0.938 MB / 0.6065 GB, free: 1.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001858/0.5529, allocations: 1.126 MB / 0.6076 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.553, allocations: 309.1 kB / 0.6079 GB, free: 336 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003572/0.5566, allocations: 2.295 MB / 0.6101 GB, free: 14.03 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005598/0.5622, allocations: 5.392 MB / 0.6154 GB, free: 7.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/0.5723, allocations: 8.437 MB / 0.6236 GB, free: 13.68 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.885e-05/0.5724, allocations: 32 kB / 0.6237 GB, free: 13.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01529/0.5877, allocations: 8.405 MB / 0.6319 GB, free: 5.664 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/0.5878, allocations: 51.98 kB / 0.6319 GB, free: 5.613 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/0.588, allocations: 108.1 kB / 0.632 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004014/0.592, allocations: 1.037 MB / 0.633 GB, free: 4.461 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004163/0.5962, allocations: 1.294 MB / 0.6343 GB, free: 3.164 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003251/0.5994, allocations: 2.607 MB / 0.6369 GB, free: 424 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003163/0.6026, allocations: 303.7 kB / 0.6371 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007243/0.6033, allocations: 328 kB / 0.6375 GB, free: 15.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 489 * Number of states: 0 () * Number of discrete variables: 26 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.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],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 (701): * Single equations (assignments): 692 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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 {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * 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.003689/0.607, allocations: 2.186 MB / 0.6396 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/0.6076, allocations: 276.4 kB / 0.6399 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009676/0.6172, allocations: 4.961 MB / 0.6447 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.451e-05/0.6174, allocations: 47.98 kB / 0.6447 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.6174, allocations: 0 / 0.6447 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.792e-05/0.6174, allocations: 7.969 kB / 0.6448 GB, free: 8.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02143/0.6389, allocations: 11.26 MB / 0.6558 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/0.6389, allocations: 8 kB / 0.6558 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.6406, allocations: 407.4 kB / 0.6562 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003673/0.6443, allocations: 0.9116 MB / 0.657 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002072/0.6445, allocations: 55.97 kB / 0.6571 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002496/0.647, allocations: 2.409 MB / 0.6594 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/0.6471, allocations: 11.94 kB / 0.6595 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/0.6597, allocations: 7.372 MB / 0.6667 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007066/0.6604, allocations: 317.4 kB / 0.667 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000649/0.6611, allocations: 55.94 kB / 0.667 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/0.6627, allocations: 135.8 kB / 0.6671 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004154/0.6632, allocations: 156.2 kB / 0.6673 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002232/0.6634, allocations: 79.98 kB / 0.6674 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003853/0.6673, allocations: 1.689 MB / 0.669 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6673, allocations: 0 / 0.669 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005191/0.6725, allocations: 0.948 MB / 0.6699 GB, free: 14 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.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 (not torn): 2 * 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 {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * 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.01188/0.6844, allocations: 8.052 MB / 0.6778 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01578/0.7002, allocations: 9.993 MB / 0.6876 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.7002, allocations: 0 / 0.6876 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004291/0.7045, allocations: 2.56 MB / 0.6901 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.707, allocations: 455.3 kB / 0.6905 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.24/0.947, allocations: 45.83 MB / 0.7353 GB, free: 187.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003068/0.9501, allocations: 3.375 MB / 0.7386 GB, free: 186.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00386/0.954, allocations: 2.037 MB / 0.7405 GB, free: 185.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001939/0.9559, allocations: 1.858 MB / 0.7424 GB, free: 184 MB / 0.545 GB Notification: Performance of SimCode: time 7.22e-07/0.9559, allocations: 0 / 0.7424 GB, free: 184 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/1.072, allocations: 61.44 MB / 0.8024 GB, free: 126.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.82, allocations: 8.719 kB / 0.8024 GB, free: 126.1 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches