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.001847/0.001847, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.002376/0.002376, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2292/0.2292, allocations: 46.92 MB / 361.6 MB, free: 4.238 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.002611/0.002611, allocations: 67.89 kB / 0.4969 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3123, allocations: 66.04 MB / 0.5614 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01985/0.3322, allocations: 17.01 MB / 0.578 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008579/0.3408, allocations: 3.984 MB / 0.5819 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/0.343, allocations: 111.6 kB / 0.582 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004591/0.3476, allocations: 2.238 MB / 0.5842 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006024/0.3536, allocations: 2.604 MB / 0.5868 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009872/0.3546, allocations: 299.5 kB / 0.587 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009429/0.364, allocations: 6.561 MB / 0.5934 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004234/0.3683, allocations: 3.074 MB / 0.5964 GB, free: 400 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003328/0.3716, allocations: 2.152 MB / 0.5985 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004504/0.3761, allocations: 3.106 MB / 0.6016 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001318/0.3774, allocations: 392 kB / 0.602 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002239/0.3797, allocations: 0.8348 MB / 0.6028 GB, free: 9.895 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003197/0.3828, allocations: 2.815 MB / 0.6055 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004079/0.3869, allocations: 3.302 MB / 0.6087 GB, free: 3.746 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.3996, allocations: 10.66 MB / 0.6192 GB, free: 9.039 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3996, allocations: 0 / 0.6192 GB, free: 9.039 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3996, allocations: 0 / 0.6192 GB, free: 9.039 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000273/0.3999, allocations: 8 kB / 0.6192 GB, free: 9.031 MB / 462.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.01375/0.4136, allocations: 7.093 MB / 0.6261 GB, free: 1.863 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.4137, allocations: 12.03 kB / 0.6261 GB, free: 1.852 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002253/0.4139, allocations: 164.4 kB / 0.6263 GB, free: 1.688 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002767/0.4167, allocations: 1.276 MB / 0.6275 GB, free: 412 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02049/0.4372, allocations: 5.906 MB / 0.6333 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007461/0.4446, allocations: 3.23 MB / 0.6364 GB, free: 7.195 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003171/0.4449, allocations: 327.9 kB / 0.6367 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001469/0.4464, allocations: 411.7 kB / 0.6371 GB, free: 6.469 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03219/0.4786, allocations: 18.89 MB / 0.6556 GB, free: 2.828 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/0.4787, allocations: 39.56 kB / 0.6556 GB, free: 2.789 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009215/0.4796, allocations: 203.7 kB / 0.6558 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008376/0.488, allocations: 4.75 MB / 0.6604 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03536/0.5234, allocations: 17.53 MB / 0.6776 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3438/0.8672, allocations: 61.05 MB / 0.7372 GB, free: 135 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0131/0.8803, allocations: 6.35 MB / 0.7434 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003153/0.8835, allocations: 2.389 MB / 0.7457 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01928/0.9027, allocations: 9.895 MB / 0.7554 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.9028, allocations: 61.59 kB / 0.7554 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 6.582e-06/0.9028, allocations: 0 / 0.7554 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.0154/0.9182, allocations: 7.539 MB / 0.7628 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.9182, allocations: 102.3 kB / 0.7629 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006362/0.9246, allocations: 5.685 MB / 0.7685 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003012/0.9249, allocations: 61.02 kB / 0.7685 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00228/0.9272, allocations: 5.289 MB / 0.7737 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/0.9282, allocations: 1.25 MB / 0.7749 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002002/0.9302, allocations: 1.923 MB / 0.7768 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.14e-05/0.9302, allocations: 301.1 kB / 0.7771 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003687/0.9339, allocations: 3.208 MB / 0.7802 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005296/0.9392, allocations: 8.652 MB / 0.7886 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009967/0.9492, allocations: 12.92 MB / 0.8013 GB, free: 91.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001565/0.9493, allocations: 52 kB / 0.8013 GB, free: 91.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01807/0.9674, allocations: 11.67 MB / 0.8127 GB, free: 79.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002038/0.9676, allocations: 88 kB / 0.8128 GB, free: 79.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002828/0.9679, allocations: 188 kB / 0.813 GB, free: 79.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001756/0.9681, allocations: 252.8 kB / 0.8132 GB, free: 79.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006105/0.9742, allocations: 2.074 MB / 0.8152 GB, free: 77.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001952/0.9744, allocations: 378.5 kB / 0.8156 GB, free: 76.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00636/0.9807, allocations: 1.368 MB / 0.8169 GB, free: 75.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/0.9818, allocations: 0.5541 MB / 0.8175 GB, free: 74.83 MB / 0.5606 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.004631/0.9864, allocations: 3.701 MB / 0.8211 GB, free: 71.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006369/0.987, allocations: 0.5004 MB / 0.8216 GB, free: 70.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.9883, allocations: 0.6449 MB / 0.8222 GB, free: 69.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-05/0.9883, allocations: 67.91 kB / 0.8223 GB, free: 69.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.256e-05/0.9884, allocations: 0 / 0.8223 GB, free: 69.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.9884, allocations: 11.95 kB / 0.8223 GB, free: 69.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/1.007, allocations: 12.61 MB / 0.8346 GB, free: 57.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/1.007, allocations: 16.22 kB / 0.8346 GB, free: 57.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/1.009, allocations: 423.3 kB / 0.835 GB, free: 56.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.958e-05/1.009, allocations: 24 kB / 0.835 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/1.009, allocations: 63.98 kB / 0.8351 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.69e-05/1.009, allocations: 23.94 kB / 0.8351 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/1.009, allocations: 24.5 kB / 0.8351 GB, free: 56.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004401/1.013, allocations: 4.663 MB / 0.8397 GB, free: 51.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/1.014, allocations: 0.5075 MB / 0.8402 GB, free: 51.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005945/1.015, allocations: 63.19 kB / 0.8403 GB, free: 51.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/1.017, allocations: 119.8 kB / 0.8404 GB, free: 50.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/1.017, allocations: 193.9 kB / 0.8406 GB, free: 50.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.017, allocations: 99.98 kB / 0.8407 GB, free: 50.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004413/1.021, allocations: 3.486 MB / 0.8441 GB, free: 47.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.71e-07/1.021, allocations: 0 / 0.8441 GB, free: 47.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006858/1.028, allocations: 1.97 MB / 0.846 GB, free: 45.2 MB / 0.5606 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.004941/1.033, allocations: 5.342 MB / 0.8512 GB, free: 39.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008984/1.042, allocations: 7.008 MB / 0.858 GB, free: 32.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.848e-05/1.042, allocations: 0 / 0.858 GB, free: 32.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002051/1.044, allocations: 1.872 MB / 0.8599 GB, free: 30.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/1.047, allocations: 0.6164 MB / 0.8605 GB, free: 30.17 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1064/1.154, allocations: 68.35 MB / 0.9272 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01022/1.164, allocations: 5.415 MB / 0.9325 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.009141/1.173, allocations: 3.543 MB / 0.936 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006422/1.179, allocations: 3.323 MB / 0.9392 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of SimCode: time 1.373e-06/1.179, allocations: 0 / 0.9392 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3712/1.551, allocations: 95.43 MB / 1.032 GB, free: 218.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.39/27.94, allocations: 24.41 kB / 1.032 GB, free: 218.2 MB / 0.67 GB " [Timeout remaining time 632] (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: 32.210783631016966]