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.0008417/0.0008417, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009253/0.0009253, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8811/0.8811, allocations: 177.1 MB / 204.2 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2349/0.2349, allocations: 34.25 MB / 294.9 MB, free: 0.7344 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 442.2 MB, free: 1.691 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.438e-05, allocations: 2.844 kB / 442.2 MB, free: 1.688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.1744/0.1744, allocations: 14.64 MB / 456.8 MB, free: 35.81 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00621/0.1806, allocations: 3.807 MB / 460.6 MB, free: 33.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.1829, allocations: 108.4 kB / 460.7 MB, free: 33.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002749/0.1856, allocations: 2.247 MB / 463 MB, free: 32.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004227/0.1898, allocations: 2.661 MB / 465.6 MB, free: 31.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000612/0.1905, allocations: 338.3 kB / 465.9 MB, free: 31.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004971/0.1954, allocations: 6.667 MB / 472.6 MB, free: 28.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002863/0.1983, allocations: 3.098 MB / 475.7 MB, free: 27.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003466/0.2017, allocations: 3.103 MB / 478.8 MB, free: 25.78 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002901/0.2046, allocations: 2.931 MB / 481.7 MB, free: 25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008611/0.2055, allocations: 389.8 kB / 482.1 MB, free: 25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.2072, allocations: 0.8302 MB / 483 MB, free: 24.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002255/0.2095, allocations: 2.909 MB / 485.9 MB, free: 23.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002792/0.2123, allocations: 1.653 MB / 487.5 MB, free: 22.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.2225, allocations: 10.39 MB / 497.9 MB, free: 19.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.2226, allocations: 0.9844 kB / 497.9 MB, free: 19.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.2226, allocations: 1.219 kB / 497.9 MB, free: 19.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004318/0.223, allocations: 0 / 497.9 MB, free: 19.14 MB / 410.7 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.01566/0.2386, allocations: 7.017 MB / 0.4931 GB, free: 14.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.2387, allocations: 9.969 kB / 0.4931 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002875/0.2416, allocations: 1.27 MB / 0.4943 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.2527, allocations: 5.965 MB / 0.5002 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006893/0.2596, allocations: 3.265 MB / 0.5034 GB, free: 7.473 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.2597, allocations: 324.2 kB / 0.5037 GB, free: 7.152 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001568/0.2613, allocations: 412 kB / 0.5041 GB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0247/0.286, allocations: 18.93 MB / 0.5225 GB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.278e-05/0.2861, allocations: 35.69 kB / 0.5226 GB, free: 3.035 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006233/0.2867, allocations: 203.7 kB / 0.5228 GB, free: 2.836 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004589/0.2913, allocations: 4.746 MB / 0.5274 GB, free: 14.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02616/0.3175, allocations: 17.53 MB / 0.5445 GB, free: 12.54 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06764/0.3851, allocations: 58.56 MB / 0.6017 GB, free: 440 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009455/0.3946, allocations: 6.585 MB / 0.6082 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002715/0.3973, allocations: 2.397 MB / 0.6105 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01448/0.4118, allocations: 9.751 MB / 0.62 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.4118, allocations: 52.56 kB / 0.6201 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=321): time 7.223e-06/0.4118, allocations: 4 kB / 0.6201 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=321): time 0.01204/0.4238, allocations: 7.93 MB / 0.6278 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.4239, allocations: 103.1 kB / 0.6279 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1905/0.6144, allocations: 6.008 MB / 0.6338 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005378/0.6149, allocations: 60.33 kB / 0.6338 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002657/0.6176, allocations: 5.247 MB / 0.639 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001355/0.6189, allocations: 1.226 MB / 0.6402 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002239/0.6212, allocations: 1.895 MB / 0.642 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.452e-05/0.6212, allocations: 310.3 kB / 0.6423 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/0.6243, allocations: 3.207 MB / 0.6454 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005433/0.6298, allocations: 8.65 MB / 0.6539 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009077/0.6388, allocations: 12.92 MB / 0.6665 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001839/0.639, allocations: 59.5 kB / 0.6666 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01685/0.6559, allocations: 11.67 MB / 0.678 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.656, allocations: 86.34 kB / 0.678 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002274/0.6562, allocations: 191.2 kB / 0.6782 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002804/0.6565, allocations: 254.8 kB / 0.6785 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004594/0.6611, allocations: 2.073 MB / 0.6805 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002469/0.6613, allocations: 376.9 kB / 0.6808 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004856/0.6662, allocations: 1.364 MB / 0.6822 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/0.6674, allocations: 0.5508 MB / 0.6827 GB, free: 121.6 MB / 0.5261 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.006256/0.6737, allocations: 3.704 MB / 0.6863 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/0.6748, allocations: 0.5013 MB / 0.6868 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009186/0.6757, allocations: 0.6448 MB / 0.6874 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.17e-05/0.6758, allocations: 62.8 kB / 0.6875 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.213e-05/0.6758, allocations: 3.422 kB / 0.6875 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.6758, allocations: 10.17 kB / 0.6875 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/0.6901, allocations: 12.32 MB / 0.6996 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.6901, allocations: 16 kB / 0.6996 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009598/0.6911, allocations: 419.9 kB / 0.7 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/0.6911, allocations: 26.53 kB / 0.7 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.6912, allocations: 67.97 kB / 0.7001 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/0.6912, allocations: 30.94 kB / 0.7001 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.6912, allocations: 23.75 kB / 0.7001 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003574/0.6948, allocations: 4.631 MB / 0.7046 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008026/0.6956, allocations: 0.5161 MB / 0.7051 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003117/0.6959, allocations: 63.19 kB / 0.7052 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008566/0.6968, allocations: 128.8 kB / 0.7053 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.6969, allocations: 184.9 kB / 0.7055 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.697, allocations: 96.56 kB / 0.7056 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003463/0.7005, allocations: 3.489 MB / 0.709 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7005, allocations: 0 / 0.709 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005738/0.7063, allocations: 1.974 MB / 0.7109 GB, free: 104.9 MB / 0.5261 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.003594/0.7098, allocations: 5.311 MB / 0.7161 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007199/0.717, allocations: 7 MB / 0.7229 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/0.7171, allocations: 0 / 0.7229 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.7187, allocations: 1.873 MB / 0.7248 GB, free: 92.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/0.7212, allocations: 0.6358 MB / 0.7254 GB, free: 91.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06836/0.7895, allocations: 68.06 MB / 0.7919 GB, free: 17.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004306/0.7938, allocations: 4.937 MB / 0.7967 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004573/0.7984, allocations: 3.543 MB / 0.8001 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003942/0.8023, allocations: 3.328 MB / 0.8034 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of SimCode: time 1.663e-06/0.8023, allocations: 0 / 0.8034 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2807/1.083, allocations: 89.85 MB / 0.8911 GB, free: 155.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.65, allocations: 7.984 kB / 0.8912 GB, free: 155.9 MB / 0.5573 GB " [Timeout remaining time 646] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.965841725468636]