Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.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.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_PointMass",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.0009053/0.0009054, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.259/1.259, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007527/0.0007527, allocations: 94.34 kB / 271.2 MB, free: 8.258 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.2856/0.2856, allocations: 43.57 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 8 kB / 432.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1074, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.1924/0.2999, allocations: 15.55 MB / 0.4946 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007604/0.3075, allocations: 3.842 MB / 0.4984 GB, free: 34.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002506/0.3101, allocations: 65.91 kB / 0.4984 GB, free: 34.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.3123, allocations: 0.7737 MB / 0.4992 GB, free: 33.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005838/0.3182, allocations: 2.223 MB / 0.5013 GB, free: 33.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.3194, allocations: 269.1 kB / 0.5016 GB, free: 33.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002725/0.3222, allocations: 2.196 MB / 0.5037 GB, free: 33.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.3242, allocations: 1.609 MB / 0.5053 GB, free: 32.9 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008821/0.3251, allocations: 0.6579 MB / 0.506 GB, free: 32.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.3262, allocations: 0.982 MB / 0.5069 GB, free: 32.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002327/0.3265, allocations: 75.69 kB / 0.507 GB, free: 32.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.3277, allocations: 0.7085 MB / 0.5077 GB, free: 32.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007082/0.3284, allocations: 0.8655 MB / 0.5085 GB, free: 32.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007106/0.3291, allocations: 1.047 MB / 0.5095 GB, free: 31.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002326/0.3315, allocations: 2.786 MB / 0.5123 GB, free: 31.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.3315, allocations: 2.969 kB / 0.5123 GB, free: 31.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3315, allocations: 0 / 0.5123 GB, free: 31.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.624e-05/0.3316, allocations: 0 / 0.5123 GB, free: 31.18 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.003306/0.3349, allocations: 2.198 MB / 0.5144 GB, free: 29.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3349, allocations: 13.53 kB / 0.5144 GB, free: 29.79 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004516/0.3354, allocations: 455.7 kB / 0.5149 GB, free: 29.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004606/0.34, allocations: 1.611 MB / 0.5164 GB, free: 29.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.3417, allocations: 1.078 MB / 0.5175 GB, free: 28.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.795e-05/0.3418, allocations: 115 kB / 0.5176 GB, free: 28.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/0.3421, allocations: 161.2 kB / 0.5178 GB, free: 28.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006962/0.3491, allocations: 6.166 MB / 0.5238 GB, free: 25.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-05/0.3491, allocations: 32.78 kB / 0.5238 GB, free: 25.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002109/0.3494, allocations: 83.94 kB / 0.5239 GB, free: 25.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002097/0.3515, allocations: 1.446 MB / 0.5253 GB, free: 25.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009076/0.3606, allocations: 5.358 MB / 0.5305 GB, free: 23.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02603/0.3866, allocations: 24.89 MB / 0.5548 GB, free: 20.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004742/0.3914, allocations: 2.345 MB / 0.5571 GB, free: 18.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.3927, allocations: 0.9882 MB / 0.5581 GB, free: 18.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003823/0.3931, allocations: 332.9 kB / 0.5584 GB, free: 17.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.3931, allocations: 41.41 kB / 0.5584 GB, free: 17.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.967e-06/0.3932, allocations: 0 / 0.5584 GB, free: 17.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=106): time 0.02178/0.4149, allocations: 8.479 MB / 0.5667 GB, free: 10.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.4151, allocations: 136.5 kB / 0.5669 GB, free: 10.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004938/0.42, allocations: 2.636 MB / 0.5694 GB, free: 7.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001989/0.4202, allocations: 39.66 kB / 0.5695 GB, free: 7.938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002077/0.4223, allocations: 2.021 MB / 0.5714 GB, free: 5.922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006112/0.423, allocations: 441 kB / 0.5719 GB, free: 5.492 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.4232, allocations: 86.27 kB / 0.5719 GB, free: 5.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000379/0.4236, allocations: 495.5 kB / 0.5724 GB, free: 4.918 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002294/0.4259, allocations: 1.316 MB / 0.5737 GB, free: 3.594 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004355/0.4303, allocations: 4.093 MB / 0.5777 GB, free: 14.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007143/0.4375, allocations: 5.917 MB / 0.5835 GB, free: 6.797 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001121/0.4376, allocations: 31.94 kB / 0.5835 GB, free: 6.766 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.0107/0.4483, allocations: 5.448 MB / 0.5888 GB, free: 1.309 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.4485, allocations: 49 kB / 0.5889 GB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001806/0.4487, allocations: 100 kB / 0.589 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.4499, allocations: 464.5 kB / 0.5894 GB, free: 0.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002948/0.4529, allocations: 0.9708 MB / 0.5904 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004763/0.4577, allocations: 3.398 MB / 0.5937 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003207/0.4609, allocations: 231.5 kB / 0.5939 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000641/0.4616, allocations: 268 kB / 0.5942 GB, free: 11.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 523 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002823/0.4644, allocations: 1.367 MB / 0.5955 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000499/0.4649, allocations: 221.2 kB / 0.5957 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.4675, allocations: 1.33 MB / 0.597 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/0.4675, allocations: 12 kB / 0.597 GB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.4675, allocations: 0.875 kB / 0.597 GB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.4675, allocations: 7.984 kB / 0.597 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008631/0.4762, allocations: 4.251 MB / 0.6012 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.4762, allocations: 0 / 0.6012 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006406/0.4769, allocations: 139.8 kB / 0.6013 GB, free: 4.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008801/0.4778, allocations: 320.6 kB / 0.6016 GB, free: 4.023 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.219e-05/0.4779, allocations: 15.98 kB / 0.6016 GB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003328/0.4812, allocations: 2.823 MB / 0.6044 GB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.4813, allocations: 7.922 kB / 0.6044 GB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004791/0.4861, allocations: 3.051 MB / 0.6074 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.4872, allocations: 418 kB / 0.6078 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005122/0.4877, allocations: 19.98 kB / 0.6078 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.4888, allocations: 58.47 kB / 0.6078 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/0.4891, allocations: 48.38 kB / 0.6079 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-05/0.4892, allocations: 27.98 kB / 0.6079 GB, free: 13.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003298/0.4925, allocations: 1.621 MB / 0.6095 GB, free: 11.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4925, allocations: 64 / 0.6095 GB, free: 11.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003657/0.4962, allocations: 0.5977 MB / 0.6101 GB, free: 11.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * 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 (77): * Single equations (assignments): 73 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004648/0.5008, allocations: 3.681 MB / 0.6137 GB, free: 7.449 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00504/0.5059, allocations: 3.189 MB / 0.6168 GB, free: 4.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5059, allocations: 4 kB / 0.6168 GB, free: 4.266 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.507, allocations: 0.8674 MB / 0.6176 GB, free: 3.391 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.5089, allocations: 195.5 kB / 0.6178 GB, free: 3.199 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03796/0.5468, allocations: 20.11 MB / 0.6375 GB, free: 12.61 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003303/0.5502, allocations: 2.182 MB / 0.6396 GB, free: 10.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/0.5521, allocations: 1.054 MB / 0.6406 GB, free: 9.34 MB / 474.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5522, allocations: 0 / 0.6406 GB, free: 9.34 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.277/5.83, allocations: 54.92 MB / 0.6943 GB, free: 152.8 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches