Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.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.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",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.0008771/0.0008772, allocations: 173.7 kB / 16.72 MB, free: 5.082 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.241/1.241, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007176/0.0007176, allocations: 89.02 kB / 271.2 MB, free: 8.254 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.3322/0.3322, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 12 kB / 432.1 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1101, allocations: 58.84 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.2251/0.3353, allocations: 37.38 MB / 0.5159 GB, free: 23.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01578/0.3511, allocations: 7.461 MB / 0.5232 GB, free: 18.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007278/0.3585, allocations: 177.1 kB / 0.5234 GB, free: 18.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005348/0.3638, allocations: 1.947 MB / 0.5253 GB, free: 18.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01274/0.3766, allocations: 5.672 MB / 0.5308 GB, free: 15.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.3787, allocations: 312.9 kB / 0.5311 GB, free: 15.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02584/0.4045, allocations: 21.13 MB / 0.5518 GB, free: 9.613 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005733/0.4103, allocations: 3.995 MB / 0.5557 GB, free: 7.156 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003503/0.4139, allocations: 1.884 MB / 0.5575 GB, free: 6.004 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003535/0.4174, allocations: 2.737 MB / 0.5602 GB, free: 3.258 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001344/0.4188, allocations: 232 kB / 0.5604 GB, free: 3.031 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.421, allocations: 0.6747 MB / 0.561 GB, free: 2.355 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002618/0.4236, allocations: 2.563 MB / 0.5635 GB, free: 15.79 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004603/0.4282, allocations: 3.006 MB / 0.5665 GB, free: 12.75 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00917/0.4374, allocations: 8.131 MB / 0.5744 GB, free: 4.605 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.4375, allocations: 0 / 0.5744 GB, free: 4.605 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4375, allocations: 4 kB / 0.5744 GB, free: 4.602 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003771/0.4379, allocations: 4 kB / 0.5744 GB, free: 4.598 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.0105/0.4484, allocations: 5.715 MB / 0.58 GB, free: 14.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4484, allocations: 8.031 kB / 0.58 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003235/0.4517, allocations: 1.272 MB / 0.5813 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01898/0.4707, allocations: 6.031 MB / 0.5872 GB, free: 7.465 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006306/0.477, allocations: 3.253 MB / 0.5903 GB, free: 4.145 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002874/0.4773, allocations: 324.3 kB / 0.5906 GB, free: 3.824 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00137/0.4787, allocations: 423.6 kB / 0.591 GB, free: 3.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02702/0.5057, allocations: 18.86 MB / 0.6095 GB, free: 15.81 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/0.5059, allocations: 35.69 kB / 0.6095 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009747/0.5069, allocations: 203.7 kB / 0.6097 GB, free: 15.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006963/0.5138, allocations: 4.742 MB / 0.6143 GB, free: 10.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02985/0.5437, allocations: 17.46 MB / 0.6314 GB, free: 9.352 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2757/0.8195, allocations: 61.28 MB / 0.6912 GB, free: 95.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01256/0.8321, allocations: 8.416 MB / 0.6994 GB, free: 92.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003034/0.8351, allocations: 2.568 MB / 0.7019 GB, free: 92.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01715/0.8523, allocations: 11.88 MB / 0.7135 GB, free: 87.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.8524, allocations: 59.97 kB / 0.7136 GB, free: 87.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=321): time 7.093e-06/0.8524, allocations: 0 / 0.7136 GB, free: 87.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=321): time 0.01557/0.868, allocations: 7.49 MB / 0.7209 GB, free: 85.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.8681, allocations: 100.3 kB / 0.721 GB, free: 85.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008803/0.8769, allocations: 5.642 MB / 0.7265 GB, free: 83.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004461/0.8774, allocations: 61.09 kB / 0.7266 GB, free: 83.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003391/0.8808, allocations: 5.078 MB / 0.7315 GB, free: 79.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001432/0.8822, allocations: 1.197 MB / 0.7327 GB, free: 78.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004509/0.8827, allocations: 180.4 kB / 0.7329 GB, free: 78.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005296/0.8832, allocations: 0.7305 MB / 0.7336 GB, free: 77.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004646/0.8879, allocations: 3.171 MB / 0.7367 GB, free: 76.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005752/0.8936, allocations: 8.625 MB / 0.7451 GB, free: 68.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/0.9041, allocations: 12.86 MB / 0.7577 GB, free: 58.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001963/0.9043, allocations: 55.81 kB / 0.7577 GB, free: 58.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01786/0.9222, allocations: 11.56 MB / 0.769 GB, free: 53.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002097/0.9224, allocations: 87.78 kB / 0.7691 GB, free: 53.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003149/0.9228, allocations: 189.7 kB / 0.7693 GB, free: 53.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.923, allocations: 255.2 kB / 0.7695 GB, free: 53.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006103/0.9291, allocations: 2.08 MB / 0.7715 GB, free: 52.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002754/0.9295, allocations: 376 kB / 0.7719 GB, free: 52.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006677/0.9361, allocations: 1.325 MB / 0.7732 GB, free: 51.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001352/0.9375, allocations: 0.5505 MB / 0.7737 GB, free: 50.58 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005803/0.9433, allocations: 3.714 MB / 0.7774 GB, free: 47.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008214/0.9442, allocations: 481.5 kB / 0.7778 GB, free: 46.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.9457, allocations: 0.6412 MB / 0.7784 GB, free: 46.33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.611e-05/0.9458, allocations: 57.3 kB / 0.7785 GB, free: 46.28 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.458e-05/0.9459, allocations: 0 / 0.7785 GB, free: 46.28 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.558e-05/0.9459, allocations: 15.3 kB / 0.7785 GB, free: 46.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/0.9654, allocations: 12.61 MB / 0.7908 GB, free: 34.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/0.9654, allocations: 16 kB / 0.7909 GB, free: 34.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/0.967, allocations: 419.3 kB / 0.7913 GB, free: 34.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-05/0.9671, allocations: 24 kB / 0.7913 GB, free: 34.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/0.9673, allocations: 63.98 kB / 0.7913 GB, free: 34.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.896e-05/0.9673, allocations: 27.92 kB / 0.7914 GB, free: 34.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.9673, allocations: 23.88 kB / 0.7914 GB, free: 34.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004432/0.9718, allocations: 4.618 MB / 0.7959 GB, free: 29.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009167/0.9727, allocations: 0.5915 MB / 0.7965 GB, free: 28.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004121/0.9731, allocations: 57.7 kB / 0.7965 GB, free: 28.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.9745, allocations: 121.5 kB / 0.7966 GB, free: 28.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004258/0.975, allocations: 178.2 kB / 0.7968 GB, free: 28.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/0.9751, allocations: 101.6 kB / 0.7969 GB, free: 28.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004371/0.9795, allocations: 3.459 MB / 0.8003 GB, free: 24.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.9795, allocations: 4 kB / 0.8003 GB, free: 24.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006116/0.9857, allocations: 1.982 MB / 0.8022 GB, free: 22.98 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004508/0.9902, allocations: 5.311 MB / 0.8074 GB, free: 17.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00834/0.9985, allocations: 7.234 MB / 0.8145 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/0.9986, allocations: 4 kB / 0.8145 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001982/1.001, allocations: 2.003 MB / 0.8164 GB, free: 8.246 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01167/1.012, allocations: 0.5896 MB / 0.817 GB, free: 7.676 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2645/1.277, allocations: 53.18 MB / 0.8689 GB, free: 167.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007865/1.285, allocations: 5.436 MB / 0.8743 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004114/1.289, allocations: 3.403 MB / 0.8776 GB, free: 166.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.132e-06/1.289, allocations: 0 / 0.8776 GB, free: 166.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.232/10.52, allocations: 119.6 MB / 0.9944 GB, free: 81.46 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches