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.002025/0.002025, allocations: 126.1 kB / 17.84 MB, free: 5.223 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.002466/0.002466, allocations: 203.9 kB / 20.79 MB, free: 2.281 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.479/1.479, allocations: 207.6 MB / 231.2 MB, free: 4.121 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.3424/0.3424, allocations: 44.23 MB / 327.3 MB, free: 7.141 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.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.002214/0.002214, allocations: 67.89 kB / 462.9 MB, free: 1.008 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2737, allocations: 61.01 MB / 0.5116 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01088/0.2846, allocations: 14.29 MB / 0.5256 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.2963, allocations: 4.296 MB / 0.5298 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003627/0.2999, allocations: 83.69 kB / 0.5299 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004981/0.3049, allocations: 2.005 MB / 0.5318 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006126/0.311, allocations: 1.974 MB / 0.5338 GB, free: 8.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.3131, allocations: 0.5537 MB / 0.5343 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007064/0.3202, allocations: 4.076 MB / 0.5383 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004465/0.3247, allocations: 2.486 MB / 0.5407 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/0.3279, allocations: 1.503 MB / 0.5422 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004186/0.332, allocations: 2.227 MB / 0.5444 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001131/0.3332, allocations: 308 kB / 0.5446 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.336, allocations: 1.045 MB / 0.5457 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002617/0.3386, allocations: 1.928 MB / 0.5476 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003095/0.3417, allocations: 2.275 MB / 0.5498 GB, free: 7.879 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.3534, allocations: 7.414 MB / 0.557 GB, free: 448 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.3534, allocations: 7.938 kB / 0.557 GB, free: 440 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3534, allocations: 0 / 0.557 GB, free: 440 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002992/0.3537, allocations: 0 / 0.557 GB, free: 440 kB / 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.01228/0.366, allocations: 5.063 MB / 0.562 GB, free: 11.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.366, allocations: 11.89 kB / 0.562 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001646/0.3662, allocations: 110.3 kB / 0.5621 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0014/0.3676, allocations: 0.8236 MB / 0.5629 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/0.3792, allocations: 3.176 MB / 0.566 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005466/0.3846, allocations: 2.669 MB / 0.5686 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.3849, allocations: 246 kB / 0.5688 GB, free: 4.188 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009433/0.3858, allocations: 307.8 kB / 0.5691 GB, free: 3.887 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/0.4082, allocations: 12.09 MB / 0.5809 GB, free: 7.262 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/0.4083, allocations: 31.77 kB / 0.581 GB, free: 7.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006302/0.4089, allocations: 151.7 kB / 0.5811 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005495/0.4144, allocations: 2.835 MB / 0.5839 GB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02735/0.4417, allocations: 11.38 MB / 0.595 GB, free: 8.848 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07516/0.5169, allocations: 41.03 MB / 0.6351 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/0.5307, allocations: 5.832 MB / 0.6408 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005073/0.5358, allocations: 2.752 MB / 0.6434 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002381/0.5382, allocations: 1.888 MB / 0.6453 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.551e-05/0.5382, allocations: 52.56 kB / 0.6453 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 8.757e-06/0.5382, allocations: 0 / 0.6453 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.2976/0.8359, allocations: 20.25 MB / 0.6651 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.8359, allocations: 79.97 kB / 0.6652 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00364/0.8395, allocations: 3.077 MB / 0.6682 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004919/0.84, allocations: 60.7 kB / 0.6682 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/0.8414, allocations: 3.132 MB / 0.6713 GB, free: 114 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001109/0.8425, allocations: 1.071 MB / 0.6723 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001664/0.8442, allocations: 1.206 MB / 0.6735 GB, free: 112.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.8442, allocations: 305.1 kB / 0.6738 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003492/0.8477, allocations: 2.852 MB / 0.6766 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004868/0.8526, allocations: 6.066 MB / 0.6825 GB, free: 102.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008885/0.8615, allocations: 9.706 MB / 0.692 GB, free: 91.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.69e-05/0.8616, allocations: 35.94 kB / 0.692 GB, free: 91.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01712/0.8787, allocations: 10.08 MB / 0.7019 GB, free: 81.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.8788, allocations: 52 kB / 0.7019 GB, free: 81.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001595/0.879, allocations: 112 kB / 0.702 GB, free: 81.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003555/0.8825, allocations: 1.359 MB / 0.7034 GB, free: 79.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00477/0.8873, allocations: 1.376 MB / 0.7047 GB, free: 78.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008532/0.8958, allocations: 7.807 MB / 0.7123 GB, free: 70.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00465/0.9005, allocations: 367.7 kB / 0.7127 GB, free: 70.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001105/0.9016, allocations: 352.7 kB / 0.713 GB, free: 69.76 MB / 0.4981 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.00419/0.9058, allocations: 2.301 MB / 0.7153 GB, free: 67.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009092/0.9067, allocations: 329.7 kB / 0.7156 GB, free: 67.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/0.9173, allocations: 6.607 MB / 0.722 GB, free: 60.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.396e-05/0.9174, allocations: 47.98 kB / 0.7221 GB, free: 60.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/0.9174, allocations: 7.938 kB / 0.7221 GB, free: 60.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.472e-05/0.9175, allocations: 11.95 kB / 0.7221 GB, free: 60.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02412/0.9416, allocations: 13.89 MB / 0.7357 GB, free: 46.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.533e-05/0.9416, allocations: 4 kB / 0.7357 GB, free: 46.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/0.9439, allocations: 458.4 kB / 0.7361 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003198/0.9471, allocations: 1.21 MB / 0.7373 GB, free: 44.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005029/0.9476, allocations: 51.98 kB / 0.7373 GB, free: 44.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007683/0.9553, allocations: 7.019 MB / 0.7442 GB, free: 37.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.345e-05/0.9553, allocations: 15.94 kB / 0.7442 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/0.9698, allocations: 9.872 MB / 0.7538 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/0.9719, allocations: 0.8347 MB / 0.7547 GB, free: 26.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009935/0.9729, allocations: 53.64 kB / 0.7547 GB, free: 26.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002364/0.9753, allocations: 191.7 kB / 0.7549 GB, free: 26.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006716/0.976, allocations: 161.6 kB / 0.7551 GB, free: 26.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003291/0.9763, allocations: 79.98 kB / 0.7551 GB, free: 26.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003404/0.9797, allocations: 1.907 MB / 0.757 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3e-07/0.9797, allocations: 4 kB / 0.757 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006175/0.9859, allocations: 1.132 MB / 0.7581 GB, free: 23.1 MB / 0.4981 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.01514/1.001, allocations: 10.54 MB / 0.7684 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0102/1.011, allocations: 6.695 MB / 0.7749 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/1.011, allocations: 0 / 0.7749 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004267/1.015, allocations: 2.649 MB / 0.7775 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003464/1.019, allocations: 416.9 kB / 0.7779 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1009/1.12, allocations: 49.27 MB / 0.826 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008026/1.128, allocations: 3.583 MB / 0.8295 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006479/1.134, allocations: 2.208 MB / 0.8317 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004591/1.139, allocations: 2.061 MB / 0.8337 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of SimCode: time 1.964e-06/1.139, allocations: 0 / 0.8337 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4032/1.542, allocations: 70.73 MB / 0.9028 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.64/25.19, allocations: 17.48 kB / 0.9028 GB, free: 212.3 MB / 0.6075 GB " [Timeout remaining time 635] (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: 29.02448657702189]