Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001632/0.001632, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001964/0.001964, allocations: 215.3 kB / 23.78 MB, free: 4.551 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.595/1.595, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.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.255/0.255, allocations: 44.27 MB / 331.1 MB, free: 9.324 MB / 270.1 MB " [Timeout remaining time 179] 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.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",fmuType="cs",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.003226/0.003226, allocations: 71.91 kB / 468.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1445, allocations: 61.06 MB / 0.5169 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01645/0.1609, allocations: 12.27 MB / 0.5289 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009971/0.1709, allocations: 4.098 MB / 0.5329 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.173, allocations: 83.69 kB / 0.533 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004419/0.1774, allocations: 1.938 MB / 0.5349 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005773/0.1832, allocations: 1.989 MB / 0.5368 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.1849, allocations: 0.5615 MB / 0.5374 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2564/0.4412, allocations: 4.055 MB / 0.5413 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00445/0.4457, allocations: 2.451 MB / 0.5437 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002993/0.4487, allocations: 1.503 MB / 0.5452 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004209/0.4529, allocations: 2.227 MB / 0.5474 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001423/0.4543, allocations: 306.5 kB / 0.5477 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.4572, allocations: 0.9285 MB / 0.5486 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002861/0.4601, allocations: 1.931 MB / 0.5505 GB, free: 9.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004562/0.4647, allocations: 1.648 MB / 0.5521 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.4766, allocations: 7.442 MB / 0.5593 GB, free: 6.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.4766, allocations: 2.469 kB / 0.5593 GB, free: 6.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4766, allocations: 0 / 0.5593 GB, free: 6.914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003482/0.477, allocations: 3.656 kB / 0.5593 GB, free: 6.914 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: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01805/0.495, allocations: 4.998 MB / 0.5642 GB, free: 4.184 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.199e-05/0.4951, allocations: 9.25 kB / 0.5642 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004144/0.4955, allocations: 112.5 kB / 0.5643 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00424/0.4998, allocations: 0.8141 MB / 0.5651 GB, free: 3.824 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01206/0.5118, allocations: 3.175 MB / 0.5682 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006928/0.5188, allocations: 2.63 MB / 0.5708 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002973/0.5191, allocations: 238.3 kB / 0.571 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001708/0.5208, allocations: 316.5 kB / 0.5713 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02957/0.5503, allocations: 12.1 MB / 0.5831 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000257/0.5506, allocations: 33.11 kB / 0.5832 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008559/0.5514, allocations: 147.7 kB / 0.5833 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005216/0.5567, allocations: 2.833 MB / 0.5861 GB, free: 9.305 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02748/0.5841, allocations: 11.37 MB / 0.5972 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07474/0.6589, allocations: 38.99 MB / 0.6353 GB, free: 6.852 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/0.6717, allocations: 4.915 MB / 0.6401 GB, free: 1.953 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0047/0.6764, allocations: 2.762 MB / 0.6428 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/0.6778, allocations: 0.5433 MB / 0.6433 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.791e-05/0.6779, allocations: 55.84 kB / 0.6434 GB, free: 14.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=262): time 9.067e-06/0.6779, allocations: 0 / 0.6434 GB, free: 14.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=283): time 0.05642/0.7343, allocations: 20.09 MB / 0.663 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.7344, allocations: 77.41 kB / 0.663 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005111/0.7395, allocations: 3.073 MB / 0.666 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007355/0.7402, allocations: 65.7 kB / 0.6661 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002616/0.7428, allocations: 3.137 MB / 0.6692 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001868/0.7447, allocations: 1.067 MB / 0.6702 GB, free: 3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00211/0.7468, allocations: 1.201 MB / 0.6714 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.7469, allocations: 313 kB / 0.6717 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004758/0.7517, allocations: 2.854 MB / 0.6745 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008052/0.7598, allocations: 6.059 MB / 0.6804 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01471/0.7745, allocations: 9.713 MB / 0.6899 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/0.7746, allocations: 32 kB / 0.6899 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02158/0.7962, allocations: 10.06 MB / 0.6997 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.7963, allocations: 52 kB / 0.6998 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002235/0.7966, allocations: 112 kB / 0.6999 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003973/0.8005, allocations: 1.362 MB / 0.7012 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005405/0.8059, allocations: 1.38 MB / 0.7026 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.8173, allocations: 7.638 MB / 0.71 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004864/0.8222, allocations: 365.1 kB / 0.7104 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001389/0.8235, allocations: 346.3 kB / 0.7107 GB, free: 6.426 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * Number of states: 0 () * Number of discrete variables: 30 (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 (724): * Single equations (assignments): 717 * 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.006484/0.83, allocations: 2.293 MB / 0.7129 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/0.8311, allocations: 333.7 kB / 0.7133 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/0.845, allocations: 6.613 MB / 0.7197 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.428e-05/0.8451, allocations: 54.5 kB / 0.7198 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/0.8451, allocations: 4 kB / 0.7198 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.096e-05/0.8451, allocations: 15.95 kB / 0.7198 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02807/0.8732, allocations: 13.37 MB / 0.7329 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/0.8732, allocations: 8 kB / 0.7329 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002385/0.8756, allocations: 451.3 kB / 0.7333 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003554/0.8792, allocations: 1.214 MB / 0.7345 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006673/0.8798, allocations: 51.94 kB / 0.7345 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009963/0.8898, allocations: 6.846 MB / 0.7412 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/0.8898, allocations: 13.11 kB / 0.7412 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/0.9062, allocations: 9.871 MB / 0.7509 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002189/0.9084, allocations: 0.7672 MB / 0.7516 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006688/0.9091, allocations: 49.73 kB / 0.7517 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/0.9108, allocations: 195.7 kB / 0.7518 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005363/0.9113, allocations: 167.6 kB / 0.752 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/0.9116, allocations: 79.92 kB / 0.7521 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003984/0.9156, allocations: 1.895 MB / 0.7539 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9156, allocations: 0 / 0.7539 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007193/0.9228, allocations: 1.139 MB / 0.755 GB, free: 8.559 MB / 0.5919 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.2994/1.222, allocations: 10.52 MB / 0.7653 GB, free: 198.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.234, allocations: 6.696 MB / 0.7719 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-05/1.234, allocations: 1.375 kB / 0.7719 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004454/1.238, allocations: 2.647 MB / 0.7744 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/1.241, allocations: 418.3 kB / 0.7748 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08605/1.327, allocations: 49.41 MB / 0.8231 GB, free: 162.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007311/1.334, allocations: 3.057 MB / 0.8261 GB, free: 159 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005551/1.34, allocations: 2.209 MB / 0.8282 GB, free: 156.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004564/1.344, allocations: 2.065 MB / 0.8302 GB, free: 154.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.703e-06/1.344, allocations: 0 / 0.8302 GB, free: 154.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1141/1.458, allocations: 73.32 MB / 0.9019 GB, free: 81.33 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.64/26.1, allocations: 15.84 kB / 0.9019 GB, free: 81.32 MB / 0.5919 GB " [Timeout remaining time 634] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 30.33906642498914]