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.001293/0.001293, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.001444/0.001444, allocations: 215.6 kB / 23.01 MB, free: 5.004 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.316/1.316, allocations: 207.6 MB / 233.8 MB, free: 9.996 MB / 190.1 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.2002/0.2002, allocations: 44.24 MB / 330.3 MB, free: 9.527 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.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: 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.002165/0.002165, allocations: 71.89 kB / 467.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1063, allocations: 61.04 MB / 0.5162 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01457/0.1209, allocations: 12.76 MB / 0.5286 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007761/0.1287, allocations: 4 MB / 0.5325 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.1303, allocations: 71.75 kB / 0.5326 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002943/0.1332, allocations: 1.358 MB / 0.5339 GB, free: 5.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004228/0.1374, allocations: 1.841 MB / 0.5357 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.1387, allocations: 499 kB / 0.5362 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2124/0.3511, allocations: 3.649 MB / 0.5398 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002452/0.3536, allocations: 1.876 MB / 0.5416 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.3553, allocations: 1.256 MB / 0.5428 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00241/0.3577, allocations: 1.932 MB / 0.5447 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004547/0.3581, allocations: 240.3 kB / 0.5449 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.3597, allocations: 0.9787 MB / 0.5459 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.3611, allocations: 1.671 MB / 0.5475 GB, free: 9.652 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.3626, allocations: 1.948 MB / 0.5494 GB, free: 8.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006678/0.3692, allocations: 6.402 MB / 0.5557 GB, free: 7.391 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3693, allocations: 0 / 0.5557 GB, free: 7.391 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3693, allocations: 1.531 kB / 0.5557 GB, free: 7.391 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001421/0.3694, allocations: 1.094 kB / 0.5557 GB, free: 7.391 MB / 414.1 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.007264/0.3767, allocations: 4.306 MB / 0.5599 GB, free: 4.988 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3767, allocations: 9.125 kB / 0.5599 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008108/0.3775, allocations: 0.7207 MB / 0.5606 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009569/0.3871, allocations: 3.115 MB / 0.5636 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004866/0.3919, allocations: 2.315 MB / 0.5659 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.3921, allocations: 191 kB / 0.5661 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000562/0.3926, allocations: 257.6 kB / 0.5663 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01518/0.4078, allocations: 10.7 MB / 0.5768 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.742e-05/0.4079, allocations: 26.11 kB / 0.5768 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003689/0.4083, allocations: 123 kB / 0.5769 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004095/0.4124, allocations: 2.643 MB / 0.5795 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01835/0.4307, allocations: 10.02 MB / 0.5893 GB, free: 4.504 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05279/0.4835, allocations: 35.01 MB / 0.6235 GB, free: 1.215 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009003/0.4925, allocations: 4.071 MB / 0.6274 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003073/0.4956, allocations: 2.112 MB / 0.6295 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/0.4968, allocations: 0.5454 MB / 0.63 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.4968, allocations: 52.56 kB / 0.6301 GB, free: 10.45 MB / 478.1 MB Notification: Performance of pre-optimization done (n=229): time 4.118e-06/0.4968, allocations: 3.375 kB / 0.6301 GB, free: 10.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.03274/0.5296, allocations: 13.99 MB / 0.6438 GB, free: 12.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.5296, allocations: 77.34 kB / 0.6438 GB, free: 12.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003968/0.5336, allocations: 2.697 MB / 0.6465 GB, free: 9.676 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000295/0.5339, allocations: 56.2 kB / 0.6465 GB, free: 9.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002116/0.536, allocations: 2.81 MB / 0.6493 GB, free: 6.812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001054/0.537, allocations: 0.8944 MB / 0.6501 GB, free: 5.934 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00148/0.5385, allocations: 1.055 MB / 0.6512 GB, free: 4.871 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5386, allocations: 301.1 kB / 0.6515 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003184/0.5418, allocations: 2.216 MB / 0.6536 GB, free: 2.352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005512/0.5473, allocations: 5.125 MB / 0.6586 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/0.5575, allocations: 8.049 MB / 0.6665 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.559e-05/0.5576, allocations: 28 kB / 0.6665 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01347/0.571, allocations: 7.947 MB / 0.6743 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.5712, allocations: 48 kB / 0.6743 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/0.5713, allocations: 103.9 kB / 0.6744 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002198/0.5735, allocations: 0.7852 MB / 0.6752 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003806/0.5773, allocations: 1.212 MB / 0.6764 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006055/0.5833, allocations: 4.416 MB / 0.6807 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003345/0.5867, allocations: 291.8 kB / 0.681 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005176/0.5872, allocations: 304 kB / 0.6812 GB, free: 3.465 MB / 0.5137 GB 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.003846/0.591, allocations: 2.051 MB / 0.6833 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004521/0.5915, allocations: 278.1 kB / 0.6835 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008224/0.5997, allocations: 4.725 MB / 0.6881 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.616e-05/0.5998, allocations: 43.98 kB / 0.6882 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.5998, allocations: 7.938 kB / 0.6882 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/0.5998, allocations: 11.97 kB / 0.6882 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01873/0.6185, allocations: 10.55 MB / 0.6985 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.6185, allocations: 4 kB / 0.6985 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.6201, allocations: 367.4 kB / 0.6989 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001989/0.6221, allocations: 0.6563 MB / 0.6995 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001831/0.6223, allocations: 40 kB / 0.6995 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005327/0.6276, allocations: 3.801 MB / 0.7032 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/0.6276, allocations: 16.56 kB / 0.7033 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/0.6393, allocations: 7.149 MB / 0.7102 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/0.6413, allocations: 0.5956 MB / 0.7108 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005446/0.6418, allocations: 40 kB / 0.7109 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.643, allocations: 135.8 kB / 0.711 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003333/0.6434, allocations: 144.8 kB / 0.7111 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/0.6435, allocations: 67.98 kB / 0.7112 GB, free: 4.426 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002651/0.6462, allocations: 1.656 MB / 0.7128 GB, free: 2.762 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6462, allocations: 0 / 0.7128 GB, free: 2.762 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004207/0.6504, allocations: 0.9405 MB / 0.7137 GB, free: 1.824 MB / 0.545 GB 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.01188/0.6623, allocations: 7.8 MB / 0.7213 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008598/0.6709, allocations: 5.176 MB / 0.7264 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/0.6709, allocations: 0.875 kB / 0.7264 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002869/0.6737, allocations: 1.87 MB / 0.7282 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002439/0.6762, allocations: 352.9 kB / 0.7286 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07162/0.7478, allocations: 40.41 MB / 0.768 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003996/0.7518, allocations: 3.228 MB / 0.7712 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004115/0.7559, allocations: 1.969 MB / 0.7731 GB, free: 460 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2048/0.9607, allocations: 1.762 MB / 0.7748 GB, free: 215.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.303e-06/0.9607, allocations: 0 / 0.7748 GB, free: 215.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09848/1.059, allocations: 59.78 MB / 0.8332 GB, free: 183.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.62/25.68, allocations: 7.688 kB / 0.8332 GB, free: 183.4 MB / 0.6075 GB " [Timeout remaining time 634] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/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: 28.621833686018363]