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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 116.8 kB / 17.13 MB, free: 5.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 192.6 kB / 20.08 MB, free: 2.871 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.448/1.448, allocations: 207.6 MB / 230.5 MB, free: 4.059 MB / 174.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.3182/0.3182, allocations: 44.23 MB / 326.5 MB, free: 6.855 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 67.89 kB / 462.2 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2673, allocations: 61 MB / 0.5109 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01007/0.2774, allocations: 12.73 MB / 0.5234 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007831/0.2852, allocations: 3.99 MB / 0.5272 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.2871, allocations: 63.94 kB / 0.5273 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002849/0.29, allocations: 1.35 MB / 0.5286 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004587/0.2945, allocations: 1.829 MB / 0.5304 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.2959, allocations: 491 kB / 0.5309 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005311/0.3012, allocations: 3.664 MB / 0.5345 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002651/0.3039, allocations: 1.802 MB / 0.5362 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.3058, allocations: 1.238 MB / 0.5374 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.3082, allocations: 1.935 MB / 0.5393 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004981/0.3087, allocations: 236 kB / 0.5395 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.3105, allocations: 0.9712 MB / 0.5405 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00169/0.3122, allocations: 1.675 MB / 0.5421 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002438/0.3146, allocations: 1.948 MB / 0.544 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007966/0.3226, allocations: 6.409 MB / 0.5503 GB, free: 6.496 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3226, allocations: 0 / 0.5503 GB, free: 6.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3226, allocations: 0 / 0.5503 GB, free: 6.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001532/0.3228, allocations: 0 / 0.5503 GB, free: 6.496 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.008064/0.3308, allocations: 4.378 MB / 0.5546 GB, free: 2.039 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.3309, allocations: 15.89 kB / 0.5546 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001212/0.3321, allocations: 0.7289 MB / 0.5553 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.3426, allocations: 3.102 MB / 0.5583 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005669/0.3483, allocations: 2.369 MB / 0.5606 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.3485, allocations: 197.2 kB / 0.5608 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/0.3496, allocations: 263.7 kB / 0.5611 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01881/0.3684, allocations: 10.7 MB / 0.5715 GB, free: 140 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.341e-05/0.3685, allocations: 23.77 kB / 0.5715 GB, free: 116 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004845/0.369, allocations: 127.8 kB / 0.5717 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004614/0.3736, allocations: 2.639 MB / 0.5742 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/0.3927, allocations: 10.03 MB / 0.584 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05418/0.4469, allocations: 35.16 MB / 0.6184 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009653/0.4565, allocations: 4.976 MB / 0.6232 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003252/0.4598, allocations: 2.111 MB / 0.6253 GB, free: 7.934 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001982/0.4618, allocations: 1.88 MB / 0.6271 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.978e-05/0.4618, allocations: 56.56 kB / 0.6272 GB, free: 5.656 MB / 494.1 MB Notification: Performance of pre-optimization done (n=229): time 4.979e-06/0.4618, allocations: 0 / 0.6272 GB, free: 5.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=235): time 0.03415/0.496, allocations: 14.13 MB / 0.641 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.4961, allocations: 77.41 kB / 0.641 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003804/0.4999, allocations: 2.697 MB / 0.6437 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004127/0.5003, allocations: 57.7 kB / 0.6437 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002261/0.5025, allocations: 2.815 MB / 0.6465 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001233/0.5038, allocations: 0.8951 MB / 0.6474 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2276/0.7313, allocations: 1.048 MB / 0.6484 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.724e-05/0.7314, allocations: 301.8 kB / 0.6487 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003951/0.7353, allocations: 2.209 MB / 0.6508 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005284/0.7406, allocations: 5.13 MB / 0.6558 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008336/0.7489, allocations: 8.042 MB / 0.6637 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001673/0.7491, allocations: 29.94 kB / 0.6637 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01233/0.7614, allocations: 7.949 MB / 0.6715 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.405e-05/0.7615, allocations: 49.38 kB / 0.6715 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/0.7617, allocations: 102.8 kB / 0.6716 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/0.7637, allocations: 0.7869 MB / 0.6724 GB, free: 107 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003633/0.7673, allocations: 1.198 MB / 0.6736 GB, free: 106.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004553/0.7719, allocations: 4.534 MB / 0.678 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003607/0.7755, allocations: 301.4 kB / 0.6783 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007385/0.7762, allocations: 299.8 kB / 0.6786 GB, free: 102.8 MB / 0.4981 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.003085/0.7793, allocations: 2.049 MB / 0.6806 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000421/0.7797, allocations: 280.9 kB / 0.6808 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006548/0.7863, allocations: 4.722 MB / 0.6854 GB, free: 96.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.485e-05/0.7863, allocations: 43.98 kB / 0.6855 GB, free: 96.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.7863, allocations: 4 kB / 0.6855 GB, free: 96.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-05/0.7864, allocations: 13.33 kB / 0.6855 GB, free: 96.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.8026, allocations: 10.59 MB / 0.6958 GB, free: 86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.8026, allocations: 10.44 kB / 0.6959 GB, free: 86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.804, allocations: 363.4 kB / 0.6962 GB, free: 85.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/0.8056, allocations: 0.6521 MB / 0.6968 GB, free: 84.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/0.8058, allocations: 47.75 kB / 0.6969 GB, free: 84.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003685/0.8095, allocations: 3.907 MB / 0.7007 GB, free: 80.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.8095, allocations: 11.94 kB / 0.7007 GB, free: 80.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007713/0.8172, allocations: 7.148 MB / 0.7077 GB, free: 73.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001712/0.8189, allocations: 0.6553 MB / 0.7083 GB, free: 73.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004399/0.8194, allocations: 46.67 kB / 0.7084 GB, free: 73.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.8205, allocations: 143.9 kB / 0.7085 GB, free: 72.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/0.8208, allocations: 129 kB / 0.7086 GB, free: 72.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.8209, allocations: 72.3 kB / 0.7087 GB, free: 72.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00186/0.8228, allocations: 1.656 MB / 0.7103 GB, free: 71.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.8228, allocations: 0 / 0.7103 GB, free: 71.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003892/0.8267, allocations: 0.9418 MB / 0.7112 GB, free: 70.16 MB / 0.4981 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.008142/0.8348, allocations: 7.798 MB / 0.7189 GB, free: 62.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006971/0.8418, allocations: 5.173 MB / 0.7239 GB, free: 57.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.8418, allocations: 0 / 0.7239 GB, free: 57.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002254/0.844, allocations: 1.874 MB / 0.7257 GB, free: 55.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.8459, allocations: 351.8 kB / 0.7261 GB, free: 54.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05105/0.897, allocations: 40.3 MB / 0.7654 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00332/0.9003, allocations: 3.221 MB / 0.7686 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003864/0.9041, allocations: 1.977 MB / 0.7705 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002233/0.9064, allocations: 1.757 MB / 0.7722 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of SimCode: time 2.144e-06/0.9064, allocations: 4 kB / 0.7722 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/1.014, allocations: 55.36 MB / 0.8263 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.58/24.59, allocations: 12 kB / 0.8263 GB, free: 11.77 MB / 0.5606 GB " [Timeout remaining time 635] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 27.716909516137093]