Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001346/0.001346, allocations: 114.8 kB / 18.49 MB, free: 4.559 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.00149/0.00149, allocations: 217.4 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.234/0.234, allocations: 46.93 MB / 357.8 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.89 kB / 0.4916 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1269, allocations: 65.98 MB / 0.556 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01932/0.1462, allocations: 17 MB / 0.5726 GB, free: 4.789 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009677/0.1559, allocations: 3.964 MB / 0.5765 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/0.1585, allocations: 115.6 kB / 0.5766 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004567/0.1631, allocations: 2.23 MB / 0.5788 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006493/0.1696, allocations: 2.588 MB / 0.5813 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.1707, allocations: 299.5 kB / 0.5816 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009779/0.1805, allocations: 6.532 MB / 0.588 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005154/0.1856, allocations: 2.971 MB / 0.5909 GB, free: 2.004 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2516/0.4373, allocations: 2.141 MB / 0.593 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004399/0.4417, allocations: 3.111 MB / 0.596 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001526/0.4432, allocations: 391.2 kB / 0.5964 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002592/0.4458, allocations: 0.8309 MB / 0.5972 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00399/0.4498, allocations: 2.811 MB / 0.6 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006331/0.4561, allocations: 3.308 MB / 0.6032 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01502/0.4711, allocations: 10.65 MB / 0.6136 GB, free: 3.461 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.4712, allocations: 0 / 0.6136 GB, free: 3.461 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4712, allocations: 0 / 0.6136 GB, free: 3.461 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004522/0.4716, allocations: 1.062 kB / 0.6136 GB, free: 3.461 MB / 446.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.02013/0.4917, allocations: 7.236 MB / 0.6207 GB, free: 15.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.4918, allocations: 8.969 kB / 0.6207 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003552/0.4921, allocations: 166.1 kB / 0.6208 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004111/0.4963, allocations: 1.274 MB / 0.6221 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02192/0.5182, allocations: 5.903 MB / 0.6278 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008761/0.5269, allocations: 3.303 MB / 0.6311 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/0.5272, allocations: 322.7 kB / 0.6314 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001851/0.5291, allocations: 420 kB / 0.6318 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03564/0.5647, allocations: 18.9 MB / 0.6502 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/0.5648, allocations: 32.91 kB / 0.6503 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001087/0.5659, allocations: 207.9 kB / 0.6505 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008459/0.5744, allocations: 4.743 MB / 0.6551 GB, free: 6.922 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03574/0.6101, allocations: 17.53 MB / 0.6722 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1015/0.7117, allocations: 60.99 MB / 0.7318 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01654/0.7282, allocations: 8.16 MB / 0.7397 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00395/0.7322, allocations: 2.391 MB / 0.7421 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02158/0.7537, allocations: 11.88 MB / 0.7537 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.7538, allocations: 59.66 kB / 0.7537 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 5.51e-06/0.7538, allocations: 0 / 0.7537 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01896/0.7727, allocations: 7.542 MB / 0.7611 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.7728, allocations: 103.1 kB / 0.7612 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01146/0.7843, allocations: 5.685 MB / 0.7667 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005361/0.7848, allocations: 64.28 kB / 0.7668 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004621/0.7894, allocations: 5.278 MB / 0.772 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001923/0.7914, allocations: 1.254 MB / 0.7732 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003475/0.7948, allocations: 1.918 MB / 0.7751 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.795, allocations: 308.9 kB / 0.7754 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005352/0.8003, allocations: 3.212 MB / 0.7785 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01015/0.8105, allocations: 8.65 MB / 0.7869 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01664/0.8271, allocations: 12.91 MB / 0.7996 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001395/0.8273, allocations: 56 kB / 0.7996 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02173/0.849, allocations: 11.67 MB / 0.811 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.8491, allocations: 88.03 kB / 0.8111 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002182/0.8493, allocations: 192.1 kB / 0.8113 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002559/0.8496, allocations: 252 kB / 0.8115 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006699/0.8563, allocations: 2.078 MB / 0.8135 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003293/0.8566, allocations: 378.5 kB / 0.8139 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006492/0.8631, allocations: 1.365 MB / 0.8152 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/0.8642, allocations: 0.5538 MB / 0.8158 GB, free: 12.22 MB / 0.6387 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.006563/0.8708, allocations: 3.706 MB / 0.8194 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009132/0.8717, allocations: 0.4966 MB / 0.8199 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.8733, allocations: 0.6449 MB / 0.8205 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.272e-05/0.8733, allocations: 52 kB / 0.8206 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.8734, allocations: 0 / 0.8206 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/0.8734, allocations: 15.89 kB / 0.8206 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02114/0.8945, allocations: 12.64 MB / 0.8329 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/0.8945, allocations: 15.94 kB / 0.8329 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/0.8964, allocations: 427.3 kB / 0.8333 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.873e-05/0.8964, allocations: 24 kB / 0.8334 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/0.8966, allocations: 55.98 kB / 0.8334 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-05/0.8966, allocations: 31.92 kB / 0.8334 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.028e-05/0.8966, allocations: 27.81 kB / 0.8335 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006502/0.9031, allocations: 4.652 MB / 0.838 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/0.9047, allocations: 0.5945 MB / 0.8386 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005455/0.9052, allocations: 50.97 kB / 0.8386 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/0.9068, allocations: 134.2 kB / 0.8388 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/0.9072, allocations: 172.8 kB / 0.8389 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/0.9074, allocations: 106.8 kB / 0.839 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005773/0.9132, allocations: 3.485 MB / 0.8424 GB, free: 464 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9132, allocations: 0 / 0.8424 GB, free: 464 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.2361/1.149, allocations: 1.961 MB / 0.8444 GB, free: 228.2 MB / 0.6544 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.006388/1.156, allocations: 5.344 MB / 0.8496 GB, free: 226.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.167, allocations: 7.005 MB / 0.8564 GB, free: 225.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/1.167, allocations: 2.219 kB / 0.8564 GB, free: 225.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002496/1.169, allocations: 1.878 MB / 0.8582 GB, free: 225.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/1.173, allocations: 0.6147 MB / 0.8589 GB, free: 224.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07284/1.245, allocations: 68.35 MB / 0.9256 GB, free: 165.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006158/1.252, allocations: 5.423 MB / 0.9309 GB, free: 159.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006623/1.258, allocations: 3.543 MB / 0.9344 GB, free: 156.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004232/1.262, allocations: 3.319 MB / 0.9376 GB, free: 152.9 MB / 0.6544 GB Notification: Performance of SimCode: time 1.322e-06/1.262, allocations: 0 / 0.9376 GB, free: 152.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/1.38, allocations: 91.83 MB / 1.027 GB, free: 61.44 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.63/25.01, allocations: 8.062 kB / 1.027 GB, free: 61.43 MB / 0.6544 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 29.3125776440138]