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.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.001719/0.001719, allocations: 114.2 kB / 19.69 MB, free: 2.207 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.002125/0.002125, allocations: 220.8 kB / 23.01 MB, free: 5.059 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.356/1.356, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] 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.2105/0.2105, allocations: 44.24 MB / 330.3 MB, free: 9.52 MB / 270.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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 67.91 kB / 467.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1059, allocations: 61.04 MB / 0.5162 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01909/0.125, allocations: 17.14 MB / 0.5329 GB, free: 6.051 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008063/0.133, allocations: 3.93 MB / 0.5368 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/0.1351, allocations: 111.6 kB / 0.5369 GB, free: 2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1891/0.3242, allocations: 2.212 MB / 0.539 GB, free: 9.863 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005768/0.33, allocations: 2.616 MB / 0.5416 GB, free: 9.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009271/0.3309, allocations: 304.2 kB / 0.5419 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008168/0.3391, allocations: 6.367 MB / 0.5481 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004121/0.3432, allocations: 3.076 MB / 0.5511 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003459/0.3467, allocations: 2.164 MB / 0.5532 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004515/0.3512, allocations: 3.116 MB / 0.5563 GB, free: 8.043 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.3523, allocations: 396.8 kB / 0.5566 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.3545, allocations: 0.8208 MB / 0.5575 GB, free: 7.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003172/0.3577, allocations: 2.859 MB / 0.5602 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003793/0.3615, allocations: 3.349 MB / 0.5635 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.3733, allocations: 10.76 MB / 0.574 GB, free: 13.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3733, allocations: 0 / 0.574 GB, free: 13.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3733, allocations: 1.781 kB / 0.574 GB, free: 13.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004507/0.3737, allocations: 0 / 0.574 GB, free: 13.88 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.01564/0.3894, allocations: 7.167 MB / 0.581 GB, free: 8.984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3894, allocations: 12.59 kB / 0.581 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002593/0.392, allocations: 1.275 MB / 0.5823 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01889/0.4109, allocations: 5.906 MB / 0.5881 GB, free: 5.113 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008942/0.4198, allocations: 3.236 MB / 0.5912 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00028/0.4201, allocations: 325 kB / 0.5915 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001375/0.4215, allocations: 414.4 kB / 0.5919 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03262/0.4541, allocations: 18.89 MB / 0.6104 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001307/0.4542, allocations: 31.69 kB / 0.6104 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001244/0.4555, allocations: 202.6 kB / 0.6106 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007875/0.4633, allocations: 4.752 MB / 0.6152 GB, free: 9.641 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03648/0.4998, allocations: 17.53 MB / 0.6324 GB, free: 8.094 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1045/0.6043, allocations: 61.06 MB / 0.692 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01548/0.6198, allocations: 6.347 MB / 0.6982 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004178/0.624, allocations: 2.391 MB / 0.7005 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02229/0.6463, allocations: 9.893 MB / 0.7102 GB, free: 7.309 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/0.6463, allocations: 64.55 kB / 0.7102 GB, free: 7.234 MB / 0.545 GB Notification: Performance of pre-optimization done (n=321): time 7.714e-06/0.6463, allocations: 0 / 0.7102 GB, free: 7.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=321): time 0.01952/0.6658, allocations: 7.533 MB / 0.7176 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/0.6659, allocations: 103.1 kB / 0.7177 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01147/0.6774, allocations: 5.7 MB / 0.7233 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004819/0.6779, allocations: 65.14 kB / 0.7233 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004996/0.6829, allocations: 5.279 MB / 0.7285 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001898/0.6848, allocations: 1.256 MB / 0.7297 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004586/0.6894, allocations: 1.916 MB / 0.7316 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6895, allocations: 305.1 kB / 0.7319 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005745/0.6953, allocations: 3.213 MB / 0.735 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01133/0.7066, allocations: 8.649 MB / 0.7434 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0178/0.7244, allocations: 12.92 MB / 0.7561 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001934/0.7246, allocations: 56 kB / 0.7561 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.024/0.7486, allocations: 11.67 MB / 0.7675 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.7488, allocations: 84 kB / 0.7676 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003158/0.7491, allocations: 192 kB / 0.7678 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003306/0.7494, allocations: 252.8 kB / 0.768 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007251/0.7567, allocations: 2.078 MB / 0.77 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004076/0.7571, allocations: 374.6 kB / 0.7704 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007551/0.7646, allocations: 1.371 MB / 0.7717 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001857/0.7665, allocations: 0.5513 MB / 0.7723 GB, free: 2.371 MB / 0.6075 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.2139/0.9804, allocations: 3.698 MB / 0.7759 GB, free: 201.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008649/0.9813, allocations: 0.5019 MB / 0.7764 GB, free: 201.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.9829, allocations: 0.6443 MB / 0.777 GB, free: 201 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.703e-05/0.983, allocations: 63.5 kB / 0.7771 GB, free: 201 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.983, allocations: 0 / 0.7771 GB, free: 201 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-05/0.983, allocations: 15.38 kB / 0.7771 GB, free: 201 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02333/1.006, allocations: 12.61 MB / 0.7894 GB, free: 197.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.847e-05/1.006, allocations: 12.97 kB / 0.7894 GB, free: 197.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/1.008, allocations: 423.9 kB / 0.7898 GB, free: 197.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.049e-05/1.008, allocations: 22.78 kB / 0.7898 GB, free: 197.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002366/1.008, allocations: 65.75 kB / 0.7899 GB, free: 197.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.933e-05/1.008, allocations: 33.47 kB / 0.7899 GB, free: 197.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.485e-05/1.008, allocations: 19.94 kB / 0.7899 GB, free: 197.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006212/1.015, allocations: 4.672 MB / 0.7945 GB, free: 195.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/1.016, allocations: 0.5159 MB / 0.795 GB, free: 194.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.017, allocations: 58.34 kB / 0.7951 GB, free: 194.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/1.019, allocations: 128.2 kB / 0.7952 GB, free: 194.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004563/1.02, allocations: 184.5 kB / 0.7954 GB, free: 194.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002282/1.02, allocations: 101.9 kB / 0.7955 GB, free: 194.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.006213/1.026, allocations: 3.49 MB / 0.7989 GB, free: 193.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/1.026, allocations: 0 / 0.7989 GB, free: 193.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007554/1.034, allocations: 2.011 MB / 0.8008 GB, free: 193.1 MB / 0.6075 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.005382/1.039, allocations: 5.334 MB / 0.806 GB, free: 190.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00873/1.048, allocations: 7.005 MB / 0.8129 GB, free: 188.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/1.048, allocations: 2.625 kB / 0.8129 GB, free: 188.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002165/1.05, allocations: 1.877 MB / 0.8147 GB, free: 187.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003277/1.053, allocations: 0.6325 MB / 0.8153 GB, free: 187.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07702/1.13, allocations: 68.35 MB / 0.8821 GB, free: 119 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007801/1.138, allocations: 5.422 MB / 0.8874 GB, free: 113.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00657/1.145, allocations: 3.541 MB / 0.8908 GB, free: 110 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004352/1.149, allocations: 3.327 MB / 0.8941 GB, free: 106.7 MB / 0.6075 GB Notification: Performance of SimCode: time 8.62e-07/1.149, allocations: 0 / 0.8941 GB, free: 106.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1299/1.279, allocations: 95.51 MB / 0.9874 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.37/27.65, allocations: 11.95 kB / 0.9874 GB, free: 11.14 MB / 0.6075 GB " [Timeout remaining time 632] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 30.96783693297766]