Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008619/0.000862, allocations: 175.7 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.195/1.195, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007932/0.0007932, allocations: 93 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2993/0.2993, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003267, allocations: 12 kB / 432.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09698/0.09732, allocations: 58.84 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.2068/0.3042, allocations: 41.81 MB / 0.5202 GB, free: 20.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01703/0.3213, allocations: 9.348 MB / 0.5294 GB, free: 14.19 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007243/0.3286, allocations: 193.9 kB / 0.5296 GB, free: 14.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004834/0.3334, allocations: 1.764 MB / 0.5313 GB, free: 13.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01134/0.3448, allocations: 5.117 MB / 0.5363 GB, free: 11.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.3469, allocations: 0.4935 MB / 0.5368 GB, free: 11.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004494/0.3514, allocations: 4.665 MB / 0.5413 GB, free: 9.629 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00528/0.3567, allocations: 4.52 MB / 0.5457 GB, free: 7.781 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.3587, allocations: 1.187 MB / 0.5469 GB, free: 7.387 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002959/0.3617, allocations: 1.916 MB / 0.5488 GB, free: 6.809 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007852/0.3625, allocations: 153.9 kB / 0.5489 GB, free: 6.809 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.3652, allocations: 1.028 MB / 0.5499 GB, free: 6.566 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002552/0.3678, allocations: 1.753 MB / 0.5516 GB, free: 6.039 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002634/0.3705, allocations: 2.02 MB / 0.5536 GB, free: 4.613 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006292/0.3768, allocations: 6.048 MB / 0.5595 GB, free: 1.109 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3768, allocations: 4 kB / 0.5595 GB, free: 1.105 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3768, allocations: 0 / 0.5595 GB, free: 1.105 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002095/0.377, allocations: 0 / 0.5595 GB, free: 1.105 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.009634/0.3867, allocations: 4.285 MB / 0.5637 GB, free: 14.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3867, allocations: 7.25 kB / 0.5637 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001653/0.3884, allocations: 0.841 MB / 0.5645 GB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.3993, allocations: 3.268 MB / 0.5677 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006093/0.4054, allocations: 2.723 MB / 0.5704 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002654/0.4058, allocations: 250.7 kB / 0.5706 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001424/0.4072, allocations: 331.7 kB / 0.5709 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01814/0.4253, allocations: 11.87 MB / 0.5825 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.976e-05/0.4255, allocations: 27.72 kB / 0.5825 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004517/0.4259, allocations: 159.8 kB / 0.5827 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00389/0.4298, allocations: 2.645 MB / 0.5853 GB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/0.4488, allocations: 10.95 MB / 0.596 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04647/0.4953, allocations: 37.57 MB / 0.6327 GB, free: 7.551 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007164/0.5025, allocations: 4.405 MB / 0.637 GB, free: 2.918 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00268/0.5052, allocations: 2.158 MB / 0.6391 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.5063, allocations: 1.311 MB / 0.6403 GB, free: 15.22 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.5063, allocations: 52.56 kB / 0.6404 GB, free: 15.16 MB / 474.7 MB Notification: Performance of pre-optimization done (n=244): time 6.011e-06/0.5063, allocations: 0 / 0.6404 GB, free: 15.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=265): time 0.03693/0.5432, allocations: 13.93 MB / 0.654 GB, free: 1.164 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.5433, allocations: 73.41 kB / 0.6541 GB, free: 1.074 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003877/0.5472, allocations: 2.982 MB / 0.657 GB, free: 14.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003675/0.5476, allocations: 61.7 kB / 0.657 GB, free: 14.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001726/0.5493, allocations: 3.12 MB / 0.6601 GB, free: 10.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.5504, allocations: 0.9712 MB / 0.661 GB, free: 9.859 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.5507, allocations: 116 kB / 0.6611 GB, free: 9.746 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003352/0.551, allocations: 0.5623 MB / 0.6617 GB, free: 9.176 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003283/0.5543, allocations: 2.374 MB / 0.664 GB, free: 6.797 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005329/0.5596, allocations: 5.678 MB / 0.6696 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00973/0.5694, allocations: 8.841 MB / 0.6782 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.825e-05/0.5695, allocations: 32 kB / 0.6782 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of matching and sorting (n=797) (initialization): time 0.1914/0.7609, allocations: 8.74 MB / 0.6868 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.071e-05/0.761, allocations: 53.62 kB / 0.6868 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001474/0.7612, allocations: 115.9 kB / 0.6869 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003688/0.7649, allocations: 1.049 MB / 0.6879 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004322/0.7692, allocations: 1.38 MB / 0.6893 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.7714, allocations: 2.47 MB / 0.6917 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003572/0.775, allocations: 332.2 kB / 0.692 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005788/0.7756, allocations: 345.4 kB / 0.6923 GB, free: 145.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 523 * Number of states: 0 () * Number of discrete variables: 27 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (744): * Single equations (assignments): 735 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003829/0.7794, allocations: 2.367 MB / 0.6947 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004487/0.7799, allocations: 305.5 kB / 0.6949 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007992/0.7879, allocations: 5.082 MB / 0.6999 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.443e-05/0.7879, allocations: 47.23 kB / 0.7 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.788, allocations: 10.27 kB / 0.7 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/0.788, allocations: 12.77 kB / 0.7 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/0.8054, allocations: 11.76 MB / 0.7115 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.8055, allocations: 6.438 kB / 0.7115 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/0.8072, allocations: 431.9 kB / 0.7119 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003086/0.8103, allocations: 0.9034 MB / 0.7128 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002512/0.8105, allocations: 69.06 kB / 0.7128 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.8126, allocations: 2.271 MB / 0.715 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.8126, allocations: 8.906 kB / 0.7151 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/0.8244, allocations: 7.538 MB / 0.7224 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008147/0.8252, allocations: 341.3 kB / 0.7227 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003792/0.8256, allocations: 49.72 kB / 0.7228 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.8269, allocations: 140.5 kB / 0.7229 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000528/0.8275, allocations: 157 kB / 0.7231 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/0.8277, allocations: 80.77 kB / 0.7231 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00272/0.8304, allocations: 1.808 MB / 0.7249 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8304, allocations: 3.828 kB / 0.7249 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004275/0.8347, allocations: 1.046 MB / 0.7259 GB, free: 134.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.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 (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01036/0.8451, allocations: 8.197 MB / 0.7339 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008785/0.8539, allocations: 6.234 MB / 0.74 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.854, allocations: 384 / 0.74 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003727/0.8577, allocations: 2.602 MB / 0.7426 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004869/0.8626, allocations: 490.8 kB / 0.743 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04404/0.9066, allocations: 34.86 MB / 0.7771 GB, free: 90.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003128/0.9098, allocations: 3.668 MB / 0.7807 GB, free: 87.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002257/0.9121, allocations: 2.116 MB / 0.7827 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.9121, allocations: 0 / 0.7827 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.901/8.813, allocations: 141.9 MB / 0.9213 GB, free: 151.2 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit5/FreeMotionScalarInit5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches