Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008197/0.0008196, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007728/0.0007728, allocations: 186 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.4 MB / 223.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2741/0.2741, allocations: 43.57 MB / 315 MB, free: 9.039 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004563/0.0004563, allocations: 19.94 kB / 384.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1034, allocations: 58.86 MB / 443.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.1773/0.2808, allocations: 40.18 MB / 483.7 MB, free: 24.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.2942, allocations: 7.793 MB / 491.5 MB, free: 20.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006682/0.301, allocations: 180.4 kB / 491.7 MB, free: 20.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.3028, allocations: 0.753 MB / 492.4 MB, free: 20.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004927/0.3078, allocations: 2.4 MB / 494.8 MB, free: 19.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008534/0.3086, allocations: 275.8 kB / 495.1 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008794/0.3174, allocations: 9.021 MB / 0.4923 GB, free: 16.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006477/0.3239, allocations: 4.128 MB / 0.4963 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003485/0.3274, allocations: 1.769 MB / 0.4981 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004553/0.332, allocations: 2.811 MB / 0.5008 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001408/0.3334, allocations: 230.6 kB / 0.501 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.3359, allocations: 0.677 MB / 0.5017 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003216/0.3391, allocations: 2.668 MB / 0.5043 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004091/0.3432, allocations: 3.211 MB / 0.5074 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007273/0.3505, allocations: 9.81 MB / 0.517 GB, free: 3.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3505, allocations: 0 / 0.517 GB, free: 3.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3505, allocations: 0 / 0.517 GB, free: 3.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002207/0.3508, allocations: 4 kB / 0.517 GB, free: 3.785 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.007812/0.3586, allocations: 5.713 MB / 0.5226 GB, free: 14.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3586, allocations: 8.031 kB / 0.5226 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001495/0.3601, allocations: 1.272 MB / 0.5238 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01801/0.3782, allocations: 6.031 MB / 0.5297 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004513/0.3827, allocations: 3.253 MB / 0.5329 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/0.3829, allocations: 324.3 kB / 0.5332 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007432/0.3836, allocations: 423.6 kB / 0.5336 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0218/0.4054, allocations: 18.89 MB / 0.5521 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.341e-05/0.4055, allocations: 39.62 kB / 0.5521 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005367/0.4061, allocations: 203.7 kB / 0.5523 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006262/0.4124, allocations: 4.742 MB / 0.5569 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03256/0.4449, allocations: 17.54 MB / 0.5741 GB, free: 9.219 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2544/0.6994, allocations: 61.29 MB / 0.6339 GB, free: 117.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/0.7115, allocations: 8.434 MB / 0.6421 GB, free: 115.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002565/0.7141, allocations: 2.579 MB / 0.6447 GB, free: 115.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01576/0.7299, allocations: 11.87 MB / 0.6563 GB, free: 111.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.7299, allocations: 56.19 kB / 0.6563 GB, free: 111.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=321): time 5.791e-06/0.73, allocations: 0 / 0.6563 GB, free: 111.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=321): time 0.01509/0.745, allocations: 7.521 MB / 0.6637 GB, free: 110.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.7451, allocations: 104.8 kB / 0.6638 GB, free: 110.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007506/0.7526, allocations: 5.671 MB / 0.6693 GB, free: 108.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000188/0.7528, allocations: 68.23 kB / 0.6694 GB, free: 108.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002378/0.7552, allocations: 5.072 MB / 0.6743 GB, free: 104.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008627/0.7561, allocations: 1.198 MB / 0.6755 GB, free: 103.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008457/0.7569, allocations: 0.8246 MB / 0.6763 GB, free: 103.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.553e-05/0.757, allocations: 305.8 kB / 0.6766 GB, free: 102.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003709/0.7607, allocations: 3.21 MB / 0.6797 GB, free: 101.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004889/0.7656, allocations: 8.658 MB / 0.6882 GB, free: 93.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008557/0.7741, allocations: 12.92 MB / 0.7008 GB, free: 83.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.178e-05/0.7742, allocations: 54.25 kB / 0.7008 GB, free: 83.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01344/0.7877, allocations: 11.64 MB / 0.7122 GB, free: 78.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.084e-05/0.7878, allocations: 85.41 kB / 0.7123 GB, free: 78.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000141/0.7879, allocations: 191.1 kB / 0.7125 GB, free: 78.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001736/0.7881, allocations: 253.3 kB / 0.7127 GB, free: 78.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004928/0.7931, allocations: 2.075 MB / 0.7147 GB, free: 78.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001818/0.7932, allocations: 376.2 kB / 0.7151 GB, free: 78.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005036/0.7983, allocations: 1.324 MB / 0.7164 GB, free: 76.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005622/0.7989, allocations: 0.5522 MB / 0.7169 GB, free: 76.2 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00434/0.8032, allocations: 3.708 MB / 0.7205 GB, free: 73.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005153/0.8037, allocations: 481.5 kB / 0.721 GB, free: 72.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.8049, allocations: 0.6447 MB / 0.7216 GB, free: 71.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.483e-05/0.805, allocations: 55.44 kB / 0.7217 GB, free: 71.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/0.805, allocations: 3.797 kB / 0.7217 GB, free: 71.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.805, allocations: 7.594 kB / 0.7217 GB, free: 71.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.8192, allocations: 12.63 MB / 0.734 GB, free: 61.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.8192, allocations: 25.05 kB / 0.7341 GB, free: 61.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.8206, allocations: 422.8 kB / 0.7345 GB, free: 60.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.477e-05/0.8207, allocations: 24 kB / 0.7345 GB, free: 60.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.8208, allocations: 63.05 kB / 0.7345 GB, free: 60.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-05/0.8208, allocations: 27.69 kB / 0.7346 GB, free: 60.58 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.8208, allocations: 23.88 kB / 0.7346 GB, free: 60.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003682/0.8245, allocations: 4.642 MB / 0.7391 GB, free: 56.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007236/0.8252, allocations: 0.5833 MB / 0.7397 GB, free: 55.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004215/0.8257, allocations: 55.47 kB / 0.7398 GB, free: 55.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.827, allocations: 125.7 kB / 0.7399 GB, free: 55.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002549/0.8272, allocations: 185.1 kB / 0.74 GB, free: 55.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.8274, allocations: 102.3 kB / 0.7401 GB, free: 55.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003205/0.8306, allocations: 3.492 MB / 0.7436 GB, free: 51.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8306, allocations: 0 / 0.7436 GB, free: 51.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00515/0.8358, allocations: 1.981 MB / 0.7455 GB, free: 49.8 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004178/0.8399, allocations: 5.326 MB / 0.7507 GB, free: 44.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007795/0.8477, allocations: 7.271 MB / 0.7578 GB, free: 37.01 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.8478, allocations: 0 / 0.7578 GB, free: 37.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.8495, allocations: 2.009 MB / 0.7598 GB, free: 35 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01064/0.8601, allocations: 0.6006 MB / 0.7603 GB, free: 34.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2716/1.132, allocations: 81.45 MB / 0.8399 GB, free: 135.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005681/1.137, allocations: 5.427 MB / 0.8452 GB, free: 134.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007253/1.145, allocations: 3.547 MB / 0.8486 GB, free: 134.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004425/1.149, allocations: 3.326 MB / 0.8519 GB, free: 132.4 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/1.149, allocations: 1.719 kB / 0.8519 GB, free: 132.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.136/2.285, allocations: 94.71 MB / 0.9444 GB, free: 62.37 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/2.285, allocations: 196.9 kB / 0.9446 GB, free: 62.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.636/6.921, allocations: 0 / 0.9446 GB, free: 62.11 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches