Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001602/0.001602, allocations: 113 kB / 18.49 MB, free: 4.539 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.001949/0.001949, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.452/1.452, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2111/0.2111, allocations: 44.9 MB / 355.8 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.003387/0.003387, allocations: 63.91 kB / 0.4885 GB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1207, allocations: 65.43 MB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01865/0.1394, allocations: 16.98 MB / 0.569 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008491/0.1479, allocations: 3.972 MB / 0.5729 GB, free: 5.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/0.1501, allocations: 115.6 kB / 0.573 GB, free: 4.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004422/0.1546, allocations: 2.23 MB / 0.5752 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005896/0.1605, allocations: 2.584 MB / 0.5777 GB, free: 152 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009564/0.1614, allocations: 299.5 kB / 0.578 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009219/0.1706, allocations: 6.54 MB / 0.5844 GB, free: 9.305 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004783/0.1754, allocations: 2.963 MB / 0.5873 GB, free: 6.293 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003682/0.1791, allocations: 2.145 MB / 0.5894 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004535/0.1836, allocations: 3.114 MB / 0.5924 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001338/0.185, allocations: 392 kB / 0.5928 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2519/0.4368, allocations: 0.8271 MB / 0.5936 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004796/0.4416, allocations: 2.809 MB / 0.5963 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007853/0.4495, allocations: 3.309 MB / 0.5996 GB, free: 9.457 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01824/0.4677, allocations: 10.65 MB / 0.61 GB, free: 7.539 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4677, allocations: 0 / 0.61 GB, free: 7.539 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4677, allocations: 0 / 0.61 GB, free: 7.539 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006112/0.4683, allocations: 1.281 kB / 0.61 GB, free: 7.539 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.02374/0.4921, allocations: 7.18 MB / 0.617 GB, free: 4.184 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.4921, allocations: 9.062 kB / 0.617 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003694/0.4925, allocations: 167.2 kB / 0.6171 GB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004537/0.497, allocations: 1.27 MB / 0.6184 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02078/0.5178, allocations: 5.907 MB / 0.6242 GB, free: 2.184 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008047/0.5259, allocations: 3.302 MB / 0.6274 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002558/0.5261, allocations: 327.4 kB / 0.6277 GB, free: 320 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00231/0.5284, allocations: 420.8 kB / 0.6281 GB, free: 256 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03578/0.5642, allocations: 18.89 MB / 0.6465 GB, free: 3.363 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/0.5643, allocations: 31.69 kB / 0.6466 GB, free: 3.352 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0016/0.5659, allocations: 204.8 kB / 0.6468 GB, free: 3.238 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008763/0.5747, allocations: 4.746 MB / 0.6514 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03956/0.6143, allocations: 17.54 MB / 0.6685 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1082/0.7224, allocations: 60.99 MB / 0.7281 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01744/0.7399, allocations: 8.158 MB / 0.7361 GB, free: 7.039 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00472/0.7446, allocations: 2.399 MB / 0.7384 GB, free: 4.633 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02548/0.7701, allocations: 11.89 MB / 0.75 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.494e-05/0.7701, allocations: 60.56 kB / 0.7501 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 8.075e-06/0.7701, allocations: 0 / 0.7501 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.02109/0.7912, allocations: 7.532 MB / 0.7574 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.7913, allocations: 109 kB / 0.7575 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/0.8028, allocations: 5.683 MB / 0.7631 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005475/0.8033, allocations: 61.7 kB / 0.7631 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005118/0.8085, allocations: 5.288 MB / 0.7683 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002352/0.8108, allocations: 1.251 MB / 0.7695 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005915/0.8167, allocations: 1.921 MB / 0.7714 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.8169, allocations: 305.1 kB / 0.7717 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006819/0.8237, allocations: 3.208 MB / 0.7748 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01264/0.8363, allocations: 8.651 MB / 0.7833 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0185/0.8548, allocations: 12.92 MB / 0.7959 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002515/0.8551, allocations: 56 kB / 0.7959 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02504/0.8801, allocations: 11.66 MB / 0.8073 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.8803, allocations: 92.19 kB / 0.8074 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002655/0.8805, allocations: 192 kB / 0.8076 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/0.8808, allocations: 252 kB / 0.8078 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008113/0.8889, allocations: 2.074 MB / 0.8099 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004174/0.8893, allocations: 374.5 kB / 0.8102 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008089/0.8974, allocations: 1.356 MB / 0.8115 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001833/0.8993, allocations: 0.5585 MB / 0.8121 GB, free: 4.035 MB / 0.6231 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.007774/0.907, allocations: 3.707 MB / 0.8157 GB, free: 328 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009491/0.908, allocations: 0.5083 MB / 0.8162 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.9098, allocations: 0.6449 MB / 0.8168 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.955e-05/0.9099, allocations: 51.98 kB / 0.8169 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.9099, allocations: 0 / 0.8169 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-05/0.9099, allocations: 15.89 kB / 0.8169 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02721/0.9371, allocations: 12.65 MB / 0.8292 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.563e-05/0.9372, allocations: 12 kB / 0.8293 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002058/0.9392, allocations: 423.3 kB / 0.8297 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.222e-05/0.9393, allocations: 24 kB / 0.8297 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002984/0.9396, allocations: 59.98 kB / 0.8297 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.869e-05/0.9396, allocations: 31.88 kB / 0.8298 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.216e-05/0.9396, allocations: 23.88 kB / 0.8298 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2666/1.206, allocations: 4.65 MB / 0.8343 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/1.208, allocations: 0.5825 MB / 0.8349 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001562/1.209, allocations: 59.39 kB / 0.835 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003001/1.212, allocations: 126.4 kB / 0.8351 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008151/1.213, allocations: 183.3 kB / 0.8353 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003555/1.213, allocations: 103.2 kB / 0.8354 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00943/1.223, allocations: 3.489 MB / 0.8388 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.31e-07/1.223, allocations: 0 / 0.8388 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.009741/1.232, allocations: 1.974 MB / 0.8407 GB, free: 216.7 MB / 0.6387 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.008048/1.241, allocations: 5.339 MB / 0.8459 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01033/1.251, allocations: 7.013 MB / 0.8528 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/1.251, allocations: 4 kB / 0.8528 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002614/1.253, allocations: 1.87 MB / 0.8546 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005065/1.259, allocations: 0.6259 MB / 0.8552 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09095/1.349, allocations: 68.34 MB / 0.9219 GB, free: 144.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01165/1.361, allocations: 5.415 MB / 0.9272 GB, free: 138.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.008745/1.37, allocations: 3.547 MB / 0.9307 GB, free: 135.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006166/1.376, allocations: 3.327 MB / 0.9339 GB, free: 132 MB / 0.6387 GB Notification: Performance of SimCode: time 1.663e-06/1.376, allocations: 0 / 0.9339 GB, free: 132 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1233/1.499, allocations: 91.83 MB / 1.024 GB, free: 40.56 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.5/27, allocations: 8 kB / 1.024 GB, free: 40.55 MB / 0.6387 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 31.318067010026425]