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.001639/0.001646, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002043/0.002043, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2492/0.2492, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002562/0.002562, allocations: 75.17 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1564, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.02034/0.1768, allocations: 12.63 MB / 492.8 MB, free: 8.492 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.1886, allocations: 4.073 MB / 496.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003237/0.1919, allocations: 67.81 kB / 496.9 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005186/0.1972, allocations: 1.837 MB / 498.7 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006463/0.2037, allocations: 1.763 MB / 0.4888 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.2058, allocations: 495 kB / 0.4892 GB, free: 252 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007262/0.2131, allocations: 3.779 MB / 0.4929 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005808/0.2189, allocations: 2.849 MB / 0.4957 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/0.2222, allocations: 1.331 MB / 0.497 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00395/0.2261, allocations: 1.869 MB / 0.4988 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001339/0.2275, allocations: 284 kB / 0.4991 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00376/0.2313, allocations: 1.088 MB / 0.5002 GB, free: 4.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003472/0.2348, allocations: 1.741 MB / 0.5019 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004958/0.2398, allocations: 2.069 MB / 0.5039 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.266/0.5058, allocations: 6.584 MB / 0.5103 GB, free: 16.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.5059, allocations: 2.391 kB / 0.5103 GB, free: 16.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5059, allocations: 0 / 0.5103 GB, free: 16.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002972/0.5062, allocations: 0.8438 kB / 0.5103 GB, free: 16.63 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.0181/0.5243, allocations: 4.794 MB / 0.515 GB, free: 14.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.5244, allocations: 11.31 kB / 0.515 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002516/0.5269, allocations: 0.7611 MB / 0.5158 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/0.539, allocations: 3.116 MB / 0.5188 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00719/0.5462, allocations: 2.252 MB / 0.521 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.5465, allocations: 215.7 kB / 0.5212 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/0.5481, allocations: 283 kB / 0.5215 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01989/0.568, allocations: 10.95 MB / 0.5322 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001044/0.5681, allocations: 27.19 kB / 0.5322 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004852/0.5686, allocations: 133.7 kB / 0.5323 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003629/0.5723, allocations: 2.507 MB / 0.5348 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01965/0.5919, allocations: 10.28 MB / 0.5448 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05999/0.652, allocations: 35.09 MB / 0.5791 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008745/0.6608, allocations: 4.285 MB / 0.5833 GB, free: 9.711 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003276/0.6641, allocations: 2.12 MB / 0.5853 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/0.6655, allocations: 1.321 MB / 0.5866 GB, free: 6.059 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.6656, allocations: 52.56 kB / 0.5867 GB, free: 6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=235): time 6.312e-06/0.6656, allocations: 0 / 0.5867 GB, free: 6 MB / 430.1 MB Notification: Performance of matching and sorting (n=256): time 0.05488/0.7205, allocations: 13.64 MB / 0.6 GB, free: 8.344 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.433e-05/0.7207, allocations: 73.41 kB / 0.6001 GB, free: 8.258 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009786/0.7305, allocations: 2.76 MB / 0.6028 GB, free: 5.488 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007614/0.7313, allocations: 53.7 kB / 0.6028 GB, free: 5.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003967/0.7353, allocations: 2.83 MB / 0.6056 GB, free: 2.613 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002273/0.7376, allocations: 0.9456 MB / 0.6065 GB, free: 1.676 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004913/0.7425, allocations: 1.122 MB / 0.6076 GB, free: 0.543 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7427, allocations: 309.1 kB / 0.6079 GB, free: 244 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006404/0.7491, allocations: 2.299 MB / 0.6101 GB, free: 13.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/0.7598, allocations: 5.389 MB / 0.6154 GB, free: 7.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01663/0.7765, allocations: 8.44 MB / 0.6237 GB, free: 13.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002021/0.7767, allocations: 32 kB / 0.6237 GB, free: 13.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02447/0.8012, allocations: 8.395 MB / 0.6319 GB, free: 5.578 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.8014, allocations: 58.33 kB / 0.6319 GB, free: 5.523 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001939/0.8016, allocations: 112.1 kB / 0.632 GB, free: 5.414 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004031/0.8056, allocations: 1.04 MB / 0.6331 GB, free: 4.367 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005061/0.8107, allocations: 1.291 MB / 0.6343 GB, free: 3.074 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003539/0.8143, allocations: 2.6 MB / 0.6369 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005119/0.8194, allocations: 303.7 kB / 0.6372 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001636/0.8211, allocations: 330.6 kB / 0.6375 GB, free: 15.71 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.007403/0.8285, allocations: 2.182 MB / 0.6396 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/0.8297, allocations: 276.4 kB / 0.6399 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/0.8412, allocations: 4.96 MB / 0.6447 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.708e-05/0.8413, allocations: 47.98 kB / 0.6447 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/0.8413, allocations: 7.938 kB / 0.6448 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.536e-05/0.8414, allocations: 7.969 kB / 0.6448 GB, free: 8.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02299/0.8644, allocations: 11.25 MB / 0.6558 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/0.8644, allocations: 8 kB / 0.6558 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/0.8662, allocations: 411.5 kB / 0.6562 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003509/0.8697, allocations: 0.9073 MB / 0.657 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002764/0.87, allocations: 55.97 kB / 0.6571 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/0.8726, allocations: 2.424 MB / 0.6595 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.8727, allocations: 11.94 kB / 0.6595 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/0.8853, allocations: 7.365 MB / 0.6667 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.8864, allocations: 321.4 kB / 0.667 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009413/0.8874, allocations: 54.75 kB / 0.667 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/0.8893, allocations: 137.3 kB / 0.6672 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005455/0.8899, allocations: 153.6 kB / 0.6673 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003861/0.8903, allocations: 74.61 kB / 0.6674 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00554/0.8959, allocations: 1.689 MB / 0.669 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8959, allocations: 0 / 0.669 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007834/0.9037, allocations: 0.9515 MB / 0.67 GB, free: 13.91 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.01594/0.9197, allocations: 8.038 MB / 0.6778 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0199/0.9397, allocations: 9.993 MB / 0.6876 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.9397, allocations: 0 / 0.6876 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005179/0.9449, allocations: 2.568 MB / 0.6901 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003805/0.9487, allocations: 456 kB / 0.6905 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2964/1.245, allocations: 45.83 MB / 0.7353 GB, free: 187.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003315/1.249, allocations: 3.375 MB / 0.7386 GB, free: 186 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003917/1.252, allocations: 2.046 MB / 0.7405 GB, free: 185.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/1.255, allocations: 1.853 MB / 0.7424 GB, free: 183.9 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/1.255, allocations: 0 / 0.7424 GB, free: 183.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08244/1.337, allocations: 61.44 MB / 0.8024 GB, free: 125.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/12.34, allocations: 11.84 kB / 0.8024 GB, free: 125.9 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.csv","/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