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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 109.5 kB / 17.08 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 191.7 kB / 20.02 MB, free: 3.082 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.399/1.399, allocations: 205.1 MB / 227.9 MB, free: 4.348 MB / 174.1 MB " [Timeout remaining time 179] 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.3122/0.3122, allocations: 43.52 MB / 320.8 MB, free: 9.004 MB / 254.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.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"}) [Timeout 660] "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.002129/0.002129, allocations: 71.89 kB / 450 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2544, allocations: 57.78 MB / 0.4959 GB, free: 19.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01267/0.2671, allocations: 17.06 MB / 0.5126 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007454/0.2746, allocations: 3.891 MB / 0.5164 GB, free: 2.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00269/0.2773, allocations: 98.44 kB / 0.5165 GB, free: 2.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003886/0.2813, allocations: 2.172 MB / 0.5186 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005982/0.2873, allocations: 2.508 MB / 0.521 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.2884, allocations: 303.8 kB / 0.5213 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01011/0.2986, allocations: 6.363 MB / 0.5275 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006324/0.305, allocations: 3.327 MB / 0.5308 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004251/0.3092, allocations: 2.145 MB / 0.5329 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004561/0.3138, allocations: 2.787 MB / 0.5356 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001506/0.3154, allocations: 395.9 kB / 0.536 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.318, allocations: 0.7919 MB / 0.5368 GB, free: 248 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003494/0.3215, allocations: 2.777 MB / 0.5395 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00537/0.3269, allocations: 3.357 MB / 0.5428 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.3406, allocations: 10.75 MB / 0.5533 GB, free: 15.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3406, allocations: 0 / 0.5533 GB, free: 15.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3406, allocations: 4 kB / 0.5533 GB, free: 15.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003701/0.341, allocations: 4 kB / 0.5533 GB, free: 15.28 MB / 430.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.01452/0.3556, allocations: 7.242 MB / 0.5603 GB, free: 7.941 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3556, allocations: 11.89 kB / 0.5603 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002381/0.358, allocations: 1.284 MB / 0.5616 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01985/0.3779, allocations: 5.907 MB / 0.5674 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006988/0.3849, allocations: 3.293 MB / 0.5706 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/0.3852, allocations: 331.9 kB / 0.5709 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001436/0.3867, allocations: 411.7 kB / 0.5713 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03031/0.417, allocations: 18.89 MB / 0.5897 GB, free: 8.984 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.905e-05/0.4171, allocations: 31.69 kB / 0.5898 GB, free: 8.953 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000803/0.4179, allocations: 207.7 kB / 0.59 GB, free: 8.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007858/0.4258, allocations: 4.746 MB / 0.5946 GB, free: 4 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03279/0.4586, allocations: 17.53 MB / 0.6117 GB, free: 2.438 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2918/0.7505, allocations: 60.98 MB / 0.6713 GB, free: 85.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/0.7641, allocations: 8.418 MB / 0.6795 GB, free: 81.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003314/0.7675, allocations: 2.58 MB / 0.682 GB, free: 80.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01553/0.783, allocations: 11.91 MB / 0.6936 GB, free: 75.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.7831, allocations: 55.42 kB / 0.6937 GB, free: 75.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=321): time 7.124e-06/0.7831, allocations: 0 / 0.6937 GB, free: 75.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=321): time 0.01458/0.7977, allocations: 7.534 MB / 0.7011 GB, free: 71.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.7978, allocations: 105.3 kB / 0.7012 GB, free: 71.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006574/0.8044, allocations: 5.694 MB / 0.7067 GB, free: 68.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003897/0.8048, allocations: 63.94 kB / 0.7068 GB, free: 68.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002413/0.8072, allocations: 5.283 MB / 0.7119 GB, free: 64.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00101/0.8083, allocations: 1.248 MB / 0.7132 GB, free: 63.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001941/0.8102, allocations: 1.919 MB / 0.715 GB, free: 62.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.848e-05/0.8103, allocations: 309.1 kB / 0.7153 GB, free: 62.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003365/0.8136, allocations: 3.214 MB / 0.7185 GB, free: 59.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005061/0.8187, allocations: 8.65 MB / 0.7269 GB, free: 47.97 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009696/0.8284, allocations: 12.91 MB / 0.7395 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001512/0.8286, allocations: 56 kB / 0.7396 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01652/0.8452, allocations: 11.67 MB / 0.751 GB, free: 20.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.256e-05/0.8453, allocations: 91.94 kB / 0.7511 GB, free: 20.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001434/0.8454, allocations: 196.1 kB / 0.7512 GB, free: 20.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/0.8456, allocations: 255.7 kB / 0.7515 GB, free: 20.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005666/0.8513, allocations: 2.07 MB / 0.7535 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000196/0.8515, allocations: 374.5 kB / 0.7539 GB, free: 17.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005858/0.8574, allocations: 1.365 MB / 0.7552 GB, free: 16.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009839/0.8584, allocations: 0.5498 MB / 0.7557 GB, free: 15.78 MB / 0.4981 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.004519/0.8629, allocations: 3.712 MB / 0.7594 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000682/0.8636, allocations: 0.5004 MB / 0.7598 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.8648, allocations: 0.645 MB / 0.7605 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.978e-05/0.8649, allocations: 52 kB / 0.7605 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.129e-05/0.8649, allocations: 0 / 0.7605 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.8649, allocations: 15.95 kB / 0.7605 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/0.8824, allocations: 12.64 MB / 0.7729 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-05/0.8825, allocations: 16 kB / 0.7729 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/0.8842, allocations: 415.3 kB / 0.7733 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.131e-05/0.8842, allocations: 27.98 kB / 0.7733 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/0.8844, allocations: 66.12 kB / 0.7734 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.689e-05/0.8844, allocations: 27.92 kB / 0.7734 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.508e-05/0.8845, allocations: 19.94 kB / 0.7734 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006026/0.8905, allocations: 4.665 MB / 0.778 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/0.8918, allocations: 0.5906 MB / 0.7786 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005971/0.8924, allocations: 54.27 kB / 0.7786 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/0.894, allocations: 126 kB / 0.7787 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003492/0.8943, allocations: 180.8 kB / 0.7789 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/0.8945, allocations: 102.4 kB / 0.779 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005464/0.9, allocations: 3.49 MB / 0.7824 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9, allocations: 0 / 0.7824 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007019/0.907, allocations: 2.002 MB / 0.7844 GB, free: 1.988 MB / 0.5137 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.006757/0.9138, allocations: 5.358 MB / 0.7896 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01118/0.925, allocations: 7.335 MB / 0.7968 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.9251, allocations: 4 kB / 0.7968 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00273/0.9278, allocations: 2.006 MB / 0.7987 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/0.9309, allocations: 0.6198 MB / 0.7993 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09601/1.027, allocations: 68.36 MB / 0.8661 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.21/1.237, allocations: 5.416 MB / 0.8714 GB, free: 218.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.008151/1.245, allocations: 3.551 MB / 0.8749 GB, free: 218.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004143/1.249, allocations: 3.326 MB / 0.8781 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of SimCode: time 1.062e-06/1.249, allocations: 2.531 kB / 0.8781 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.122/1.371, allocations: 91.26 MB / 0.9672 GB, free: 145.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.08/24.45, allocations: 11.92 kB / 0.9672 GB, free: 145.2 MB / 0.6075 GB " [Timeout remaining time 635] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 27.704032693058252]