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.001628/0.001628, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001941/0.001941, allocations: 201.9 kB / 23.73 MB, free: 4.379 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.438/1.438, 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.2258/0.2258, allocations: 46.96 MB / 360.9 MB, free: 4.016 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.001958/0.001958, allocations: 63.89 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3185, allocations: 66.04 MB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.0147/0.3332, allocations: 11.72 MB / 0.572 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009734/0.3429, allocations: 4.035 MB / 0.576 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002526/0.3454, allocations: 79.75 kB / 0.5761 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004648/0.3501, allocations: 1.919 MB / 0.5779 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005534/0.3556, allocations: 1.954 MB / 0.5798 GB, free: 432 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.3573, allocations: 0.5537 MB / 0.5804 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006093/0.3634, allocations: 4.042 MB / 0.5843 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003604/0.367, allocations: 2.424 MB / 0.5867 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/0.3696, allocations: 1.468 MB / 0.5881 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003978/0.3736, allocations: 2.211 MB / 0.5903 GB, free: 5.645 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001057/0.3746, allocations: 304 kB / 0.5906 GB, free: 5.348 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/0.3769, allocations: 0.9166 MB / 0.5915 GB, free: 4.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002357/0.3793, allocations: 1.897 MB / 0.5933 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002793/0.3821, allocations: 1.607 MB / 0.5949 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009682/0.3918, allocations: 7.36 MB / 0.6021 GB, free: 9.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3918, allocations: 0 / 0.6021 GB, free: 9.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3918, allocations: 4 kB / 0.6021 GB, free: 9.516 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002627/0.392, allocations: 3.938 kB / 0.6021 GB, free: 9.512 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.01263/0.4047, allocations: 4.937 MB / 0.6069 GB, free: 4.516 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4047, allocations: 8.031 kB / 0.6069 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001903/0.4066, allocations: 0.8196 MB / 0.6077 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/0.418, allocations: 3.176 MB / 0.6108 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006694/0.4247, allocations: 2.372 MB / 0.6131 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.425, allocations: 232.3 kB / 0.6134 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001371/0.4264, allocations: 311.8 kB / 0.6137 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02274/0.4491, allocations: 12.08 MB / 0.6255 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/0.4493, allocations: 39.7 kB / 0.6255 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009188/0.4502, allocations: 147.8 kB / 0.6256 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005169/0.4553, allocations: 2.831 MB / 0.6284 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02425/0.4796, allocations: 11.33 MB / 0.6395 GB, free: 2.562 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06605/0.5456, allocations: 39.06 MB / 0.6776 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/0.5574, allocations: 4.901 MB / 0.6824 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0042/0.5616, allocations: 2.769 MB / 0.6851 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/0.5629, allocations: 0.5517 MB / 0.6856 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.5629, allocations: 52.56 kB / 0.6857 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 5.861e-06/0.563, allocations: 0 / 0.6857 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.05283/0.6158, allocations: 20.04 MB / 0.7053 GB, free: 14.06 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.6158, allocations: 85.28 kB / 0.7053 GB, free: 13.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004944/0.6208, allocations: 3.221 MB / 0.7085 GB, free: 10.72 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008026/0.6216, allocations: 65.69 kB / 0.7086 GB, free: 10.65 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002979/0.6246, allocations: 3.112 MB / 0.7116 GB, free: 7.512 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001684/0.6263, allocations: 1.062 MB / 0.7126 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002217/0.6285, allocations: 1.203 MB / 0.7138 GB, free: 5.227 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6286, allocations: 301.1 kB / 0.7141 GB, free: 4.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004417/0.633, allocations: 2.842 MB / 0.7169 GB, free: 2.082 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007592/0.6406, allocations: 6.022 MB / 0.7227 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2887/0.9293, allocations: 9.659 MB / 0.7322 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001352/0.9295, allocations: 31.16 kB / 0.7322 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01759/0.9471, allocations: 10.03 MB / 0.742 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.987e-05/0.9471, allocations: 50.59 kB / 0.7421 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/0.9473, allocations: 110.3 kB / 0.7422 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003256/0.9505, allocations: 1.36 MB / 0.7435 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004494/0.955, allocations: 1.37 MB / 0.7448 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008462/0.9635, allocations: 7.62 MB / 0.7523 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004572/0.968, allocations: 364.2 kB / 0.7526 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001019/0.9691, allocations: 343.5 kB / 0.7529 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.003606/0.9727, allocations: 2.302 MB / 0.7552 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006148/0.9733, allocations: 317 kB / 0.7555 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009181/0.9825, allocations: 6.619 MB / 0.762 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.7e-05/0.9825, allocations: 50.39 kB / 0.762 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.9825, allocations: 4 kB / 0.762 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-05/0.9826, allocations: 15.95 kB / 0.762 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01989/1.002, allocations: 13.34 MB / 0.775 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/1.002, allocations: 11.94 kB / 0.7751 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/1.004, allocations: 447.3 kB / 0.7755 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002846/1.007, allocations: 1.216 MB / 0.7767 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002407/1.007, allocations: 51.98 kB / 0.7767 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006426/1.014, allocations: 6.86 MB / 0.7834 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.014, allocations: 8 kB / 0.7834 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/1.025, allocations: 9.868 MB / 0.7931 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000747/1.026, allocations: 293.8 kB / 0.7933 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005782/1.026, allocations: 47.98 kB / 0.7934 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/1.028, allocations: 191.7 kB / 0.7936 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004014/1.028, allocations: 173.6 kB / 0.7937 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/1.029, allocations: 71.98 kB / 0.7938 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002026/1.031, allocations: 1.874 MB / 0.7956 GB, free: 99.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.031, allocations: 1.125 kB / 0.7956 GB, free: 99.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004266/1.035, allocations: 1.11 MB / 0.7967 GB, free: 98.84 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.01166/1.047, allocations: 10.53 MB / 0.807 GB, free: 88.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008405/1.055, allocations: 6.682 MB / 0.8135 GB, free: 81.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-05/1.055, allocations: 0.9375 kB / 0.8135 GB, free: 81.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003489/1.058, allocations: 2.657 MB / 0.8161 GB, free: 78.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/1.061, allocations: 422.2 kB / 0.8165 GB, free: 78.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05976/1.121, allocations: 49.09 MB / 0.8645 GB, free: 24.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003397/1.124, allocations: 3.038 MB / 0.8674 GB, free: 21.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0041/1.128, allocations: 2.2 MB / 0.8696 GB, free: 19.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00269/1.131, allocations: 2.069 MB / 0.8716 GB, free: 16.99 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/1.131, allocations: 0 / 0.8716 GB, free: 16.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1417/1.273, allocations: 73.47 MB / 0.9434 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/16.39, allocations: 2.922 kB / 0.9434 GB, free: 8.184 MB / 0.6231 GB " [Timeout remaining time 643] (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: 19.703035229002126]