Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001694/0.001694, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002167/0.002167, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.642/1.642, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2407/0.2407, allocations: 44.91 MB / 358.8 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 179] 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.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",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.00198/0.00198, allocations: 63.91 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4228, allocations: 65.47 MB / 0.557 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01777/0.4406, allocations: 13.54 MB / 0.5702 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.4512, allocations: 4.258 MB / 0.5744 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002494/0.4537, allocations: 79.69 kB / 0.5745 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005009/0.4587, allocations: 2.005 MB / 0.5764 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006157/0.4648, allocations: 1.946 MB / 0.5783 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.4671, allocations: 0.5536 MB / 0.5789 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007614/0.4747, allocations: 4.042 MB / 0.5828 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004692/0.4794, allocations: 2.435 MB / 0.5852 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003191/0.4826, allocations: 1.464 MB / 0.5866 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003788/0.4864, allocations: 2.204 MB / 0.5888 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.4876, allocations: 308 kB / 0.5891 GB, free: 6.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00275/0.4903, allocations: 1.034 MB / 0.5901 GB, free: 5.734 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002759/0.4931, allocations: 1.908 MB / 0.592 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003951/0.497, allocations: 2.232 MB / 0.5941 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.5083, allocations: 7.329 MB / 0.6013 GB, free: 10.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.5083, allocations: 0 / 0.6013 GB, free: 10.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5083, allocations: 0 / 0.6013 GB, free: 10.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003222/0.5086, allocations: 0 / 0.6013 GB, free: 10.21 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.01261/0.5212, allocations: 4.941 MB / 0.6061 GB, free: 5.215 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.5213, allocations: 12.03 kB / 0.6061 GB, free: 5.203 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0019/0.5232, allocations: 0.8157 MB / 0.6069 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/0.534, allocations: 3.172 MB / 0.61 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005821/0.5398, allocations: 2.343 MB / 0.6123 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.54, allocations: 242.2 kB / 0.6125 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009722/0.541, allocations: 311.7 kB / 0.6128 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02092/0.5619, allocations: 12.08 MB / 0.6246 GB, free: 1.656 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/0.5621, allocations: 39.7 kB / 0.6247 GB, free: 1.617 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009624/0.563, allocations: 147.8 kB / 0.6248 GB, free: 1.473 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005045/0.5681, allocations: 2.839 MB / 0.6276 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02385/0.5919, allocations: 11.35 MB / 0.6387 GB, free: 3.258 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06827/0.6602, allocations: 40.97 MB / 0.6787 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/0.6726, allocations: 4.918 MB / 0.6835 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005083/0.6777, allocations: 2.767 MB / 0.6862 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/0.6792, allocations: 0.5634 MB / 0.6867 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.296e-05/0.6793, allocations: 52.56 kB / 0.6868 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 7.274e-06/0.6793, allocations: 0 / 0.6868 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.0572/0.7365, allocations: 19.99 MB / 0.7063 GB, free: 12.85 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.7366, allocations: 73.41 kB / 0.7064 GB, free: 12.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005937/0.7425, allocations: 3.032 MB / 0.7093 GB, free: 9.715 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007377/0.7433, allocations: 61.7 kB / 0.7094 GB, free: 9.648 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002831/0.7461, allocations: 3.112 MB / 0.7124 GB, free: 6.508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001751/0.7479, allocations: 1.073 MB / 0.7135 GB, free: 5.426 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003014/0.7509, allocations: 1.195 MB / 0.7146 GB, free: 4.219 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.751, allocations: 305.1 kB / 0.7149 GB, free: 3.918 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005191/0.7562, allocations: 2.85 MB / 0.7177 GB, free: 1.062 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008546/0.7647, allocations: 6.018 MB / 0.7236 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3241/1.089, allocations: 9.658 MB / 0.733 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001549/1.089, allocations: 31.34 kB / 0.7331 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.017/1.106, allocations: 10.03 MB / 0.7429 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.487e-05/1.106, allocations: 56.16 kB / 0.7429 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-05/1.106, allocations: 109.3 kB / 0.743 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003046/1.109, allocations: 1.363 MB / 0.7443 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004159/1.113, allocations: 1.366 MB / 0.7457 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008026/1.121, allocations: 7.704 MB / 0.7532 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003924/1.125, allocations: 370.4 kB / 0.7536 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007142/1.126, allocations: 342.2 kB / 0.7539 GB, free: 144.7 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.003087/1.129, allocations: 2.296 MB / 0.7561 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/1.13, allocations: 320.8 kB / 0.7564 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009019/1.139, allocations: 6.609 MB / 0.7629 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.737e-05/1.139, allocations: 59.86 kB / 0.7629 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.139, allocations: 8 kB / 0.7629 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.009e-05/1.139, allocations: 12.8 kB / 0.763 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/1.158, allocations: 13.84 MB / 0.7765 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/1.158, allocations: 8 kB / 0.7765 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/1.16, allocations: 447.3 kB / 0.7769 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002696/1.163, allocations: 1.225 MB / 0.7781 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002888/1.163, allocations: 55.77 kB / 0.7782 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006652/1.169, allocations: 6.905 MB / 0.7849 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/1.169, allocations: 8.875 kB / 0.7849 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/1.181, allocations: 9.878 MB / 0.7946 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007621/1.182, allocations: 288.1 kB / 0.7948 GB, free: 104 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005072/1.182, allocations: 52 kB / 0.7949 GB, free: 104 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/1.184, allocations: 199.6 kB / 0.7951 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000399/1.184, allocations: 171.3 kB / 0.7952 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/1.184, allocations: 79.98 kB / 0.7953 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002277/1.187, allocations: 1.871 MB / 0.7971 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.187, allocations: 0 / 0.7971 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003895/1.191, allocations: 1.104 MB / 0.7982 GB, free: 100.6 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.01126/1.202, allocations: 10.53 MB / 0.8085 GB, free: 89.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008391/1.21, allocations: 6.67 MB / 0.815 GB, free: 83.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/1.21, allocations: 4.188 kB / 0.815 GB, free: 83.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003218/1.214, allocations: 2.653 MB / 0.8176 GB, free: 80.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/1.216, allocations: 431.8 kB / 0.818 GB, free: 80.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05693/1.273, allocations: 49.09 MB / 0.866 GB, free: 26.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003091/1.276, allocations: 3.578 MB / 0.8695 GB, free: 22.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003808/1.28, allocations: 2.196 MB / 0.8716 GB, free: 20.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002252/1.282, allocations: 2.069 MB / 0.8736 GB, free: 18.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.083e-06/1.282, allocations: 0 / 0.8736 GB, free: 18.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1704/1.452, allocations: 75.63 MB / 0.9475 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.76/26.21, allocations: 11.19 kB / 0.9475 GB, free: 6.961 MB / 0.6231 GB " [Timeout remaining time 634] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 29.932240031892434]