Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.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.00161/0.00161, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001857/0.001857, allocations: 207.9 kB / 23.72 MB, free: 4.391 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.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2405/0.2405, allocations: 46.96 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Joints.Universal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 71.89 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3082, allocations: 66.04 MB / 0.5606 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01502/0.3232, allocations: 11.71 MB / 0.572 GB, free: 8.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009754/0.3329, allocations: 4.035 MB / 0.576 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/0.3348, allocations: 79.69 kB / 0.5761 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004214/0.339, allocations: 1.923 MB / 0.5779 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005077/0.3441, allocations: 1.946 MB / 0.5798 GB, free: 324 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.3457, allocations: 0.5576 MB / 0.5804 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005876/0.3516, allocations: 4.042 MB / 0.5843 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003608/0.3552, allocations: 2.416 MB / 0.5867 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.3573, allocations: 1.471 MB / 0.5881 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003253/0.3605, allocations: 2.09 MB / 0.5902 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008388/0.3614, allocations: 308 kB / 0.5905 GB, free: 5.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.3638, allocations: 0.9088 MB / 0.5913 GB, free: 4.449 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002162/0.366, allocations: 1.901 MB / 0.5932 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002296/0.3683, allocations: 1.61 MB / 0.5948 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00936/0.3777, allocations: 7.352 MB / 0.602 GB, free: 9.539 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/0.3777, allocations: 4 kB / 0.602 GB, free: 9.535 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.357e-06/0.3777, allocations: 0 / 0.602 GB, free: 9.535 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002858/0.378, allocations: 4 kB / 0.602 GB, free: 9.531 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01169/0.3896, allocations: 4.937 MB / 0.6068 GB, free: 4.535 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.3897, allocations: 12.03 kB / 0.6068 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001119/0.3908, allocations: 0.8235 MB / 0.6076 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.4023, allocations: 3.168 MB / 0.6107 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005811/0.4081, allocations: 2.363 MB / 0.613 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/0.4083, allocations: 238.2 kB / 0.6132 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000883/0.4092, allocations: 315.6 kB / 0.6135 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0233/0.4325, allocations: 12.08 MB / 0.6253 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001979/0.4327, allocations: 35.7 kB / 0.6254 GB, free: 0.918 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001274/0.434, allocations: 151.8 kB / 0.6255 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005364/0.4393, allocations: 2.831 MB / 0.6283 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03437/0.4737, allocations: 11.32 MB / 0.6393 GB, free: 2.59 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05948/0.5332, allocations: 39.07 MB / 0.6775 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.5444, allocations: 4.891 MB / 0.6823 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003827/0.5482, allocations: 2.769 MB / 0.685 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/0.5494, allocations: 0.5556 MB / 0.6855 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.248e-05/0.5495, allocations: 56.56 kB / 0.6856 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 4.749e-06/0.5495, allocations: 0 / 0.6856 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.07612/0.6256, allocations: 20.05 MB / 0.7051 GB, free: 14.06 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.62e-05/0.6257, allocations: 73.41 kB / 0.7052 GB, free: 13.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009921/0.6356, allocations: 3.218 MB / 0.7084 GB, free: 10.74 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008795/0.6365, allocations: 61.7 kB / 0.7084 GB, free: 10.67 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003637/0.6401, allocations: 3.112 MB / 0.7115 GB, free: 7.535 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00296/0.6431, allocations: 1.066 MB / 0.7125 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005022/0.6481, allocations: 1.203 MB / 0.7137 GB, free: 5.246 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.6483, allocations: 301.1 kB / 0.714 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008534/0.6569, allocations: 2.842 MB / 0.7167 GB, free: 2.102 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01132/0.6682, allocations: 6.022 MB / 0.7226 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3275/0.9957, allocations: 9.654 MB / 0.732 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001783/0.9959, allocations: 31.38 kB / 0.7321 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01661/1.013, allocations: 10.03 MB / 0.7419 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.981e-05/1.013, allocations: 52.09 kB / 0.7419 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/1.013, allocations: 112.5 kB / 0.742 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003275/1.016, allocations: 1.364 MB / 0.7434 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004521/1.021, allocations: 1.365 MB / 0.7447 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008505/1.029, allocations: 7.632 MB / 0.7521 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00446/1.033, allocations: 363.9 kB / 0.7525 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005623/1.034, allocations: 339.4 kB / 0.7528 GB, free: 142.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (718): * Single equations (assignments): 711 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002861/1.037, allocations: 2.302 MB / 0.7551 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004464/1.037, allocations: 322 kB / 0.7554 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009318/1.047, allocations: 6.608 MB / 0.7618 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.292e-05/1.047, allocations: 52.53 kB / 0.7619 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/1.047, allocations: 4 kB / 0.7619 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/1.047, allocations: 11.95 kB / 0.7619 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01955/1.066, allocations: 13.35 MB / 0.7749 GB, free: 121 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/1.066, allocations: 4 kB / 0.7749 GB, free: 121 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/1.068, allocations: 455.3 kB / 0.7754 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002951/1.071, allocations: 1.212 MB / 0.7765 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003616/1.072, allocations: 55.92 kB / 0.7766 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007134/1.079, allocations: 6.856 MB / 0.7833 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.079, allocations: 11.94 kB / 0.7833 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/1.091, allocations: 9.859 MB / 0.7929 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001712/1.093, allocations: 289.9 kB / 0.7932 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008212/1.094, allocations: 51.42 kB / 0.7933 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/1.096, allocations: 199.3 kB / 0.7935 GB, free: 102 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004507/1.096, allocations: 169.5 kB / 0.7936 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002065/1.096, allocations: 75.98 kB / 0.7937 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003021/1.099, allocations: 1.874 MB / 0.7955 GB, free: 99.85 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.099, allocations: 0 / 0.7955 GB, free: 99.85 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006042/1.105, allocations: 1.108 MB / 0.7966 GB, free: 98.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * 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 {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01276/1.118, allocations: 10.53 MB / 0.8069 GB, free: 88.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008376/1.127, allocations: 6.678 MB / 0.8134 GB, free: 81.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/1.127, allocations: 4 kB / 0.8134 GB, free: 81.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003273/1.13, allocations: 2.65 MB / 0.816 GB, free: 78.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/1.132, allocations: 419.4 kB / 0.8164 GB, free: 78.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06245/1.194, allocations: 49.09 MB / 0.8643 GB, free: 24.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005467/1.2, allocations: 3.038 MB / 0.8673 GB, free: 21.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004911/1.205, allocations: 2.204 MB / 0.8695 GB, free: 18.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003228/1.208, allocations: 2.065 MB / 0.8715 GB, free: 16.91 MB / 0.5606 GB Notification: Performance of SimCode: time 1.272e-06/1.208, allocations: 0 / 0.8715 GB, free: 16.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1339/1.342, allocations: 70.78 MB / 0.9406 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.24/17.58, allocations: 7.156 kB / 0.9406 GB, free: 10.79 MB / 0.6231 GB " [Timeout remaining time 642] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.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: 21.203329927287996]