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.001668/0.001668, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002006/0.002006, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2188/0.2188, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001603, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3861, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01385/0.4, allocations: 12.65 MB / 0.5429 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009705/0.4097, allocations: 4.056 MB / 0.5468 GB, free: 360 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002796/0.4126, allocations: 68.44 kB / 0.5469 GB, free: 348 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003858/0.4165, allocations: 1.843 MB / 0.5487 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004744/0.4213, allocations: 1.8 MB / 0.5505 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.4226, allocations: 491 kB / 0.5509 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004602/0.4272, allocations: 3.776 MB / 0.5546 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003101/0.4304, allocations: 2.864 MB / 0.5574 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.4322, allocations: 1.343 MB / 0.5587 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002259/0.4344, allocations: 1.869 MB / 0.5605 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005083/0.435, allocations: 291.9 kB / 0.5608 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.4369, allocations: 1.088 MB / 0.5619 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001415/0.4383, allocations: 1.738 MB / 0.5636 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001969/0.4403, allocations: 2.069 MB / 0.5656 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007365/0.4477, allocations: 6.909 MB / 0.5724 GB, free: 6.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4477, allocations: 4 kB / 0.5724 GB, free: 6.766 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4477, allocations: 0 / 0.5724 GB, free: 6.766 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001591/0.4479, allocations: 0 / 0.5724 GB, free: 6.766 MB / 430.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.01082/0.4587, allocations: 4.922 MB / 0.5772 GB, free: 1.766 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4588, allocations: 8.031 kB / 0.5772 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001044/0.4599, allocations: 0.7536 MB / 0.5779 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.4705, allocations: 3.145 MB / 0.581 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00522/0.4758, allocations: 2.283 MB / 0.5832 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.476, allocations: 213.8 kB / 0.5834 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008072/0.4768, allocations: 295.7 kB / 0.5837 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01793/0.4947, allocations: 10.95 MB / 0.5944 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001417/0.4949, allocations: 27.77 kB / 0.5944 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009713/0.4959, allocations: 127.8 kB / 0.5945 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004438/0.5003, allocations: 2.511 MB / 0.597 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01943/0.5198, allocations: 10.28 MB / 0.607 GB, free: 2.648 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05546/0.5753, allocations: 34.95 MB / 0.6412 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008728/0.5841, allocations: 4.296 MB / 0.6454 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003019/0.5871, allocations: 2.119 MB / 0.6474 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/0.5885, allocations: 1.319 MB / 0.6487 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.5886, allocations: 52.56 kB / 0.6488 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=235): time 5.169e-06/0.5886, allocations: 4 kB / 0.6488 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=256): time 0.04168/0.6303, allocations: 13.7 MB / 0.6621 GB, free: 8.879 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.6304, allocations: 73.41 kB / 0.6622 GB, free: 8.797 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004325/0.6347, allocations: 2.767 MB / 0.6649 GB, free: 6.016 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003181/0.635, allocations: 57.7 kB / 0.665 GB, free: 5.953 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002023/0.6371, allocations: 2.948 MB / 0.6679 GB, free: 2.977 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001151/0.6382, allocations: 0.9804 MB / 0.6688 GB, free: 1.988 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002054/0.6403, allocations: 1.136 MB / 0.6699 GB, free: 0.8398 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.6404, allocations: 305.1 kB / 0.6702 GB, free: 0.5391 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003536/0.644, allocations: 2.299 MB / 0.6725 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005772/0.6498, allocations: 5.391 MB / 0.6777 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/0.6599, allocations: 8.442 MB / 0.686 GB, free: 13.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/0.6601, allocations: 28 kB / 0.686 GB, free: 13.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01716/0.6772, allocations: 8.422 MB / 0.6942 GB, free: 4.918 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.6774, allocations: 52 kB / 0.6943 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000196/0.6777, allocations: 108 kB / 0.6944 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003908/0.6816, allocations: 1.033 MB / 0.6954 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004584/0.6862, allocations: 1.294 MB / 0.6966 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/0.6893, allocations: 2.604 MB / 0.6992 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00365/0.693, allocations: 307.8 kB / 0.6995 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009228/0.6939, allocations: 328 kB / 0.6998 GB, free: 15.05 MB / 0.5606 GB 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.004221/0.6981, allocations: 2.178 MB / 0.7019 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006856/0.6988, allocations: 294 kB / 0.7022 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/0.709, allocations: 4.963 MB / 0.707 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.201e-05/0.7091, allocations: 44 kB / 0.7071 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.266e-05/0.7091, allocations: 7.984 kB / 0.7071 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.523e-05/0.7092, allocations: 7.969 kB / 0.7071 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02479/0.7339, allocations: 11.21 MB / 0.7181 GB, free: 12.08 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.103e-05/0.734, allocations: 8 kB / 0.7181 GB, free: 12.07 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/0.736, allocations: 407.3 kB / 0.7184 GB, free: 11.68 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003501/0.7395, allocations: 0.9079 MB / 0.7193 GB, free: 10.76 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003272/0.7398, allocations: 59.95 kB / 0.7194 GB, free: 10.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002747/0.7426, allocations: 2.426 MB / 0.7218 GB, free: 8.133 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/0.7426, allocations: 8 kB / 0.7218 GB, free: 8.125 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/0.755, allocations: 7.383 MB / 0.729 GB, free: 0.5742 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007754/0.7558, allocations: 335.1 kB / 0.7293 GB, free: 232 kB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000586/0.7564, allocations: 51.94 kB / 0.7293 GB, free: 180 kB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.7579, allocations: 147.7 kB / 0.7295 GB, free: 32 kB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2778/1.036, allocations: 144.4 kB / 0.7296 GB, free: 176.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003158/1.036, allocations: 76.03 kB / 0.7297 GB, free: 176.7 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003336/1.039, allocations: 1.69 MB / 0.7314 GB, free: 176.6 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6.42e-07/1.039, allocations: 0 / 0.7314 GB, free: 176.6 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004471/1.044, allocations: 0.9522 MB / 0.7323 GB, free: 176.6 MB / 0.5763 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.01295/1.057, allocations: 8.058 MB / 0.7401 GB, free: 173.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.009469/1.066, allocations: 6.08 MB / 0.7461 GB, free: 171.5 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.066, allocations: 0 / 0.7461 GB, free: 171.5 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003849/1.07, allocations: 2.569 MB / 0.7486 GB, free: 170.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/1.073, allocations: 459.8 kB / 0.749 GB, free: 170.3 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05191/1.125, allocations: 42.83 MB / 0.7909 GB, free: 127.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00493/1.129, allocations: 3.386 MB / 0.7942 GB, free: 123.8 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.004294/1.134, allocations: 2.041 MB / 0.7962 GB, free: 121.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003015/1.137, allocations: 1.854 MB / 0.798 GB, free: 119.9 MB / 0.5763 GB Notification: Performance of SimCode: time 1.052e-06/1.137, allocations: 0 / 0.798 GB, free: 119.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08806/1.225, allocations: 58.39 MB / 0.855 GB, free: 61.82 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.74/17.96, allocations: 11.03 kB / 0.855 GB, free: 61.81 MB / 0.5763 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