Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.0008168/0.0008168, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.0008925/0.0008925, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8196/0.8196, allocations: 158.6 MB / 185 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] 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.1239/0.1239, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 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.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 406.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.327e-05, allocations: 10.08 kB / 406.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.008306/0.008329, allocations: 11.07 MB / 417.9 MB, free: 7.098 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007631/0.01596, allocations: 3.789 MB / 421.7 MB, free: 3.297 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.01743, allocations: 67.75 kB / 421.8 MB, free: 3.23 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.01933, allocations: 1.366 MB / 423.1 MB, free: 1.859 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.02215, allocations: 1.894 MB / 425 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007119/0.02286, allocations: 0.5182 MB / 425.6 MB, free: 15.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002967/0.02583, allocations: 4.007 MB / 429.6 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002136/0.02796, allocations: 2.136 MB / 431.7 MB, free: 9.242 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.03007, allocations: 1.902 MB / 433.6 MB, free: 7.336 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.03196, allocations: 1.968 MB / 435.6 MB, free: 5.363 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000522/0.03249, allocations: 244 kB / 435.8 MB, free: 5.125 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.0336, allocations: 0.9203 MB / 436.7 MB, free: 4.203 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.03464, allocations: 1.741 MB / 438.5 MB, free: 2.457 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000994/0.03564, allocations: 1.047 MB / 439.5 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004645/0.04028, allocations: 6.369 MB / 445.9 MB, free: 11.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.04029, allocations: 0 / 445.9 MB, free: 11.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.04029, allocations: 0 / 445.9 MB, free: 11.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001141/0.0404, allocations: 0 / 445.9 MB, free: 11.02 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.004898/0.0453, allocations: 4.303 MB / 450.2 MB, free: 6.652 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.04534, allocations: 12.03 kB / 450.2 MB, free: 6.641 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006253/0.04597, allocations: 0.7289 MB / 450.9 MB, free: 5.898 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005512/0.05148, allocations: 3.188 MB / 454.1 MB, free: 2.703 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002816/0.0543, allocations: 2.073 MB / 456.2 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.0544, allocations: 193.2 kB / 456.4 MB, free: 416 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004027/0.0548, allocations: 256.2 kB / 456.6 MB, free: 160 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.06566, allocations: 10.7 MB / 467.3 MB, free: 4.988 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.12e-05/0.06573, allocations: 23.81 kB / 467.4 MB, free: 4.965 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003172/0.06605, allocations: 123.8 kB / 467.5 MB, free: 4.844 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002491/0.06854, allocations: 2.631 MB / 470.1 MB, free: 2.203 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1587/0.2273, allocations: 9.994 MB / 480.1 MB, free: 91.45 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0278/0.2551, allocations: 33.71 MB / 0.5018 GB, free: 71.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005338/0.2604, allocations: 4.155 MB / 0.5058 GB, free: 70.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/0.2623, allocations: 2.117 MB / 0.5079 GB, free: 69.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006603/0.263, allocations: 0.5446 MB / 0.5084 GB, free: 69.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.263, allocations: 52.05 kB / 0.5085 GB, free: 69.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 5.37e-06/0.263, allocations: 0 / 0.5085 GB, free: 69.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=235): time 0.01785/0.2809, allocations: 14.49 MB / 0.5226 GB, free: 61.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.2809, allocations: 69.41 kB / 0.5227 GB, free: 60.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.283, allocations: 3.064 MB / 0.5257 GB, free: 58.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.62e-05/0.2831, allocations: 49.7 kB / 0.5257 GB, free: 58.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006729/0.2838, allocations: 2.803 MB / 0.5285 GB, free: 55.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003704/0.2842, allocations: 0.8791 MB / 0.5293 GB, free: 55.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007162/0.2849, allocations: 1.04 MB / 0.5303 GB, free: 54.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.595e-05/0.2849, allocations: 309.1 kB / 0.5306 GB, free: 53.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.2865, allocations: 2.209 MB / 0.5328 GB, free: 51.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.2886, allocations: 5.13 MB / 0.5378 GB, free: 45.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004244/0.2928, allocations: 8.043 MB / 0.5457 GB, free: 35.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-05/0.2929, allocations: 28 kB / 0.5457 GB, free: 35.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.006497/0.2994, allocations: 7.943 MB / 0.5534 GB, free: 27.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/0.2994, allocations: 49 kB / 0.5535 GB, free: 27.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.883e-05/0.2995, allocations: 100 kB / 0.5536 GB, free: 27.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.3005, allocations: 0.7928 MB / 0.5544 GB, free: 26.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.3023, allocations: 1.197 MB / 0.5555 GB, free: 25.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/0.3052, allocations: 4.404 MB / 0.5598 GB, free: 21.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/0.3072, allocations: 335.1 kB / 0.5601 GB, free: 20.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002232/0.3074, allocations: 300 kB / 0.5604 GB, free: 20.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (640): * Single equations (assignments): 633 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001865/0.3093, allocations: 2.052 MB / 0.5624 GB, free: 18.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/0.3096, allocations: 282.1 kB / 0.5627 GB, free: 18.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/0.3135, allocations: 4.717 MB / 0.5673 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.114e-05/0.3135, allocations: 47.98 kB / 0.5674 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3135, allocations: 0 / 0.5674 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.3135, allocations: 7.969 kB / 0.5674 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008847/0.3224, allocations: 10.34 MB / 0.5775 GB, free: 2.848 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.3224, allocations: 8 kB / 0.5775 GB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000751/0.3231, allocations: 355.5 kB / 0.5778 GB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009832/0.3241, allocations: 0.6619 MB / 0.5785 GB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.419e-05/0.3242, allocations: 36 kB / 0.5785 GB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/0.327, allocations: 3.791 MB / 0.5822 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.327, allocations: 11.94 kB / 0.5822 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00646/0.3335, allocations: 7.139 MB / 0.5892 GB, free: 6.633 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/0.3346, allocations: 0.6229 MB / 0.5898 GB, free: 6.008 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.3348, allocations: 43.94 kB / 0.5898 GB, free: 5.965 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007595/0.3356, allocations: 181.7 kB / 0.59 GB, free: 5.789 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.3358, allocations: 129.3 kB / 0.5901 GB, free: 5.664 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.755e-05/0.3359, allocations: 67.98 kB / 0.5902 GB, free: 5.598 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001762/0.3377, allocations: 1.809 MB / 0.592 GB, free: 3.781 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3377, allocations: 0 / 0.592 GB, free: 3.781 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00254/0.3402, allocations: 1.037 MB / 0.593 GB, free: 2.746 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * 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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006621/0.3468, allocations: 7.801 MB / 0.6006 GB, free: 10.83 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005413/0.3523, allocations: 5.179 MB / 0.6056 GB, free: 5.664 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.3523, allocations: 0 / 0.6056 GB, free: 5.664 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.354, allocations: 1.872 MB / 0.6075 GB, free: 3.785 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.3554, allocations: 361.6 kB / 0.6078 GB, free: 3.445 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03996/0.3954, allocations: 40.87 MB / 0.6477 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002437/0.3978, allocations: 2.686 MB / 0.6504 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002485/0.4003, allocations: 1.977 MB / 0.6523 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1394/0.5397, allocations: 1.762 MB / 0.654 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.294e-06/0.5397, allocations: 0 / 0.654 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06809/0.6078, allocations: 56.91 MB / 0.7096 GB, free: 139 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.277/9.885, allocations: 0 / 0.7096 GB, free: 139 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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: 11.944401737302542]