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.001584/0.001584, allocations: 112.2 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.001711/0.001711, 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.427/1.427, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.2193/0.2193, allocations: 44.92 MB / 359.6 MB, free: 6.297 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.002046/0.002046, allocations: 63.91 kB / 0.4938 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2892, allocations: 65.48 MB / 0.5578 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01935/0.3086, allocations: 17 MB / 0.5744 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008729/0.3173, allocations: 3.984 MB / 0.5783 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/0.3202, allocations: 115.6 kB / 0.5784 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004735/0.3249, allocations: 2.23 MB / 0.5806 GB, free: 384 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006173/0.3311, allocations: 2.608 MB / 0.5831 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009781/0.3321, allocations: 311.4 kB / 0.5834 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009246/0.3413, allocations: 6.553 MB / 0.5898 GB, free: 6.891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00483/0.3461, allocations: 3.074 MB / 0.5928 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004031/0.3502, allocations: 2.156 MB / 0.5949 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005109/0.3553, allocations: 3.099 MB / 0.5979 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001666/0.3569, allocations: 392 kB / 0.5983 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002675/0.3596, allocations: 0.8349 MB / 0.5991 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004012/0.3636, allocations: 2.819 MB / 0.6019 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004811/0.3684, allocations: 3.31 MB / 0.6051 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.3821, allocations: 10.65 MB / 0.6155 GB, free: 12.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3821, allocations: 0 / 0.6155 GB, free: 12.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3821, allocations: 0 / 0.6155 GB, free: 12.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003314/0.3825, allocations: 0 / 0.6155 GB, free: 12.41 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.01593/0.3984, allocations: 7.101 MB / 0.6225 GB, free: 5.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.3985, allocations: 8.031 kB / 0.6225 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002912/0.3988, allocations: 164.4 kB / 0.6226 GB, free: 5.059 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003025/0.4018, allocations: 1.272 MB / 0.6239 GB, free: 3.777 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02071/0.4225, allocations: 5.907 MB / 0.6296 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007408/0.4299, allocations: 3.233 MB / 0.6328 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003385/0.4302, allocations: 327.8 kB / 0.6331 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001762/0.432, allocations: 415.7 kB / 0.6335 GB, free: 9.836 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03549/0.4675, allocations: 18.89 MB / 0.6519 GB, free: 6.195 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001394/0.4676, allocations: 35.69 kB / 0.652 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001626/0.4693, allocations: 203.7 kB / 0.6522 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00901/0.4783, allocations: 4.75 MB / 0.6568 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03686/0.5151, allocations: 17.53 MB / 0.6739 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1035/0.6186, allocations: 61.05 MB / 0.7336 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2464/0.865, allocations: 6.354 MB / 0.7398 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003594/0.8686, allocations: 2.391 MB / 0.7421 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01909/0.8877, allocations: 9.892 MB / 0.7518 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.8877, allocations: 58.34 kB / 0.7518 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 7.865e-06/0.8877, allocations: 0 / 0.7518 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01652/0.9042, allocations: 7.547 MB / 0.7592 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.9043, allocations: 103 kB / 0.7593 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007794/0.9121, allocations: 5.685 MB / 0.7648 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004013/0.9125, allocations: 65.14 kB / 0.7649 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002456/0.9149, allocations: 5.286 MB / 0.7701 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001189/0.9161, allocations: 1.254 MB / 0.7713 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002801/0.9189, allocations: 1.916 MB / 0.7732 GB, free: 133 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.267e-05/0.919, allocations: 301.1 kB / 0.7734 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004106/0.9231, allocations: 3.208 MB / 0.7766 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006326/0.9294, allocations: 8.65 MB / 0.785 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/0.9394, allocations: 12.91 MB / 0.7976 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001496/0.9396, allocations: 56 kB / 0.7977 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.0165/0.9561, allocations: 11.68 MB / 0.8091 GB, free: 90.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.9562, allocations: 88 kB / 0.8092 GB, free: 90.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001874/0.9564, allocations: 188.9 kB / 0.8094 GB, free: 90.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.9566, allocations: 259.9 kB / 0.8096 GB, free: 90.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006032/0.9626, allocations: 2.074 MB / 0.8116 GB, free: 88.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000262/0.9628, allocations: 378.5 kB / 0.812 GB, free: 87.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006464/0.9693, allocations: 1.357 MB / 0.8133 GB, free: 86.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001366/0.9707, allocations: 0.5541 MB / 0.8139 GB, free: 86 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.005492/0.9762, allocations: 3.705 MB / 0.8175 GB, free: 82.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000816/0.977, allocations: 0.5043 MB / 0.818 GB, free: 81.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.9785, allocations: 0.6488 MB / 0.8186 GB, free: 81.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.197e-05/0.9786, allocations: 55.42 kB / 0.8187 GB, free: 81.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.9786, allocations: 0 / 0.8187 GB, free: 81.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/0.9786, allocations: 7.969 kB / 0.8187 GB, free: 81.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01875/0.9974, allocations: 12.61 MB / 0.831 GB, free: 68.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/0.9974, allocations: 16.06 kB / 0.831 GB, free: 68.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/0.9992, allocations: 423.3 kB / 0.8314 GB, free: 67.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.323e-05/0.9992, allocations: 23.94 kB / 0.8314 GB, free: 67.78 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002501/0.9994, allocations: 60 kB / 0.8315 GB, free: 67.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.061e-05/0.9995, allocations: 31.92 kB / 0.8315 GB, free: 67.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.9995, allocations: 19.88 kB / 0.8315 GB, free: 67.67 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004851/1.004, allocations: 4.659 MB / 0.8361 GB, free: 62.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.005, allocations: 0.5153 MB / 0.8366 GB, free: 62.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009897/1.006, allocations: 59.36 kB / 0.8366 GB, free: 62.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/1.008, allocations: 123.9 kB / 0.8367 GB, free: 62.08 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004247/1.009, allocations: 195.6 kB / 0.8369 GB, free: 61.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/1.009, allocations: 96 kB / 0.837 GB, free: 61.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00492/1.014, allocations: 3.486 MB / 0.8404 GB, free: 58.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.014, allocations: 0 / 0.8404 GB, free: 58.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007191/1.021, allocations: 1.974 MB / 0.8424 GB, free: 56.36 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.005284/1.026, allocations: 5.335 MB / 0.8476 GB, free: 50.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008367/1.035, allocations: 7.016 MB / 0.8544 GB, free: 43.81 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.035, allocations: 4 kB / 0.8544 GB, free: 43.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002079/1.037, allocations: 1.868 MB / 0.8562 GB, free: 41.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/1.04, allocations: 0.6268 MB / 0.8569 GB, free: 41.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09887/1.139, allocations: 68.34 MB / 0.9236 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0107/1.15, allocations: 5.415 MB / 0.9289 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.008897/1.158, allocations: 3.543 MB / 0.9323 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006124/1.165, allocations: 3.315 MB / 0.9356 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of SimCode: time 1.483e-06/1.165, allocations: 0 / 0.9356 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4057/1.57, allocations: 95.46 MB / 1.029 GB, free: 202 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.04/30.61, allocations: 6.562 kB / 1.029 GB, free: 202 MB / 0.6544 GB " [Timeout remaining time 629] (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: 34.880373277002946]