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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 216.5 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2113/0.2113, allocations: 44.27 MB / 330.3 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 67.91 kB / 467.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1134, allocations: 61.06 MB / 0.5162 GB, free: 7.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01726/0.1307, allocations: 14.74 MB / 0.5306 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008499/0.1392, allocations: 3.758 MB / 0.5343 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.1415, allocations: 111.6 kB / 0.5344 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004348/0.1458, allocations: 2.152 MB / 0.5365 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2297/0.3755, allocations: 2.607 MB / 0.539 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.3766, allocations: 300.9 kB / 0.5393 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008337/0.385, allocations: 6.359 MB / 0.5455 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00536/0.3903, allocations: 3.07 MB / 0.5485 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004776/0.3951, allocations: 2.179 MB / 0.5507 GB, free: 9.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005652/0.4008, allocations: 2.991 MB / 0.5536 GB, free: 9.301 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001919/0.4027, allocations: 391.2 kB / 0.554 GB, free: 9.301 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003373/0.406, allocations: 0.7109 MB / 0.5546 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004356/0.4104, allocations: 2.856 MB / 0.5574 GB, free: 8.234 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006043/0.4164, allocations: 2.35 MB / 0.5597 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.4298, allocations: 10.83 MB / 0.5703 GB, free: 1.715 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4298, allocations: 0 / 0.5703 GB, free: 1.715 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4298, allocations: 2.312 kB / 0.5703 GB, free: 1.715 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004003/0.4302, allocations: 0 / 0.5703 GB, free: 1.715 MB / 414.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.01852/0.4487, allocations: 7.169 MB / 0.5773 GB, free: 12.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.4488, allocations: 9.562 kB / 0.5773 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004314/0.4531, allocations: 1.28 MB / 0.5786 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02024/0.4733, allocations: 5.905 MB / 0.5843 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008848/0.4822, allocations: 3.263 MB / 0.5875 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002537/0.4824, allocations: 323.1 kB / 0.5878 GB, free: 6.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001665/0.4841, allocations: 420.2 kB / 0.5882 GB, free: 6.926 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03541/0.5195, allocations: 18.89 MB / 0.6067 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.5196, allocations: 35.69 kB / 0.6067 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006976/0.5203, allocations: 205.6 kB / 0.6069 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007895/0.5282, allocations: 4.753 MB / 0.6115 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03558/0.5638, allocations: 17.49 MB / 0.6286 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09876/0.6625, allocations: 58.27 MB / 0.6855 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01528/0.6778, allocations: 6.336 MB / 0.6917 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004275/0.6821, allocations: 2.387 MB / 0.6941 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02399/0.7061, allocations: 9.423 MB / 0.7033 GB, free: 140 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.922e-05/0.7061, allocations: 60.56 kB / 0.7033 GB, free: 68 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 8.075e-06/0.7061, allocations: 0 / 0.7033 GB, free: 68 kB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01883/0.725, allocations: 7.534 MB / 0.7107 GB, free: 8.504 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.7251, allocations: 103.1 kB / 0.7108 GB, free: 8.387 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01051/0.7356, allocations: 6.022 MB / 0.7167 GB, free: 2.379 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005088/0.7361, allocations: 73.2 kB / 0.7167 GB, free: 2.305 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004512/0.7406, allocations: 5.281 MB / 0.7219 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001822/0.7424, allocations: 1.251 MB / 0.7231 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003483/0.7459, allocations: 1.931 MB / 0.725 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.746, allocations: 301.1 kB / 0.7253 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005577/0.7516, allocations: 3.212 MB / 0.7284 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01214/0.7637, allocations: 8.645 MB / 0.7369 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01701/0.7808, allocations: 12.93 MB / 0.7495 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001763/0.7809, allocations: 57.19 kB / 0.7495 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.2537/1.035, allocations: 11.67 MB / 0.7609 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000203/1.035, allocations: 86.81 kB / 0.761 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004605/1.035, allocations: 193.4 kB / 0.7612 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003926/1.036, allocations: 256.6 kB / 0.7614 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00778/1.044, allocations: 2.074 MB / 0.7635 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003593/1.044, allocations: 374.6 kB / 0.7638 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007128/1.051, allocations: 1.365 MB / 0.7652 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/1.052, allocations: 0.5527 MB / 0.7657 GB, free: 181.3 MB / 0.5919 GB 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.00708/1.06, allocations: 3.699 MB / 0.7693 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009991/1.061, allocations: 0.4986 MB / 0.7698 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/1.062, allocations: 0.6448 MB / 0.7704 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.97e-05/1.062, allocations: 57.91 kB / 0.7705 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.907e-05/1.062, allocations: 5.594 kB / 0.7705 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/1.062, allocations: 10.64 kB / 0.7705 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0254/1.087, allocations: 12.25 MB / 0.7825 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/1.087, allocations: 11.91 kB / 0.7825 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.089, allocations: 422.3 kB / 0.7829 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-05/1.089, allocations: 23.5 kB / 0.7829 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/1.089, allocations: 56.5 kB / 0.783 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.089e-05/1.089, allocations: 33.8 kB / 0.783 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.269e-05/1.089, allocations: 19.16 kB / 0.783 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005748/1.095, allocations: 4.668 MB / 0.7876 GB, free: 175 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/1.097, allocations: 0.5191 MB / 0.7881 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009228/1.098, allocations: 59.98 kB / 0.7881 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/1.1, allocations: 125.7 kB / 0.7882 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003595/1.1, allocations: 187.1 kB / 0.7884 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/1.1, allocations: 101 kB / 0.7885 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00547/1.106, allocations: 3.493 MB / 0.7919 GB, free: 173.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.106, allocations: 0 / 0.7919 GB, free: 173.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008947/1.115, allocations: 2.01 MB / 0.7939 GB, free: 172.9 MB / 0.5919 GB 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.006524/1.121, allocations: 5.35 MB / 0.7991 GB, free: 170.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01061/1.132, allocations: 7.006 MB / 0.806 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-05/1.132, allocations: 0 / 0.806 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002634/1.134, allocations: 1.871 MB / 0.8078 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004486/1.139, allocations: 0.6239 MB / 0.8084 GB, free: 167 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08386/1.223, allocations: 68.36 MB / 0.8752 GB, free: 95.13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007721/1.23, allocations: 4.94 MB / 0.88 GB, free: 90.17 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00713/1.238, allocations: 3.545 MB / 0.8834 GB, free: 86.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004731/1.242, allocations: 3.323 MB / 0.8867 GB, free: 83.32 MB / 0.5919 GB Notification: Performance of SimCode: time 1.302e-06/1.242, allocations: 0 / 0.8867 GB, free: 83.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/1.371, allocations: 90.09 MB / 0.9747 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.23/21.6, allocations: 15.83 kB / 0.9747 GB, free: 9.199 MB / 0.6075 GB " [Timeout remaining time 638] (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 --stepSize=0.000219912 --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) [Timeout 52.5] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 25.07612875616178]